Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix show_clients trouble #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix show_clients trouble #2

wants to merge 1 commit into from

Conversation

umka
Copy link

@umka umka commented Sep 9, 2010

Incorrect translation array of clients to json - add translation each client to hash and only then to json.

@umka
Copy link
Author

umka commented Sep 9, 2010

D, [2010-09-09T18:24:10.314633 #27983] DEBUG -- : Processing message: {"type":"show_clients","command":"query","secret_key":"your_secret_key"}
E, [2010-09-09T18:24:10.314978 #27983] ERROR -- : wrong number of arguments (1 for 0) (ArgumentError)
/var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:263:in to_json' /var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:263:inquery_command'
/var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:128:in process_message' /var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:88:inprocess_whole_messages'
/var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:88:in each' /var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:88:inprocess_whole_messages'
/var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/server.rb:74:in receive_data' /var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:inrun_machine'
/var/lib/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in run' /var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/runner.rb:72:instart'
/var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/runner.rb:48:in initialize' /var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/runner.rb:11:innew'
/var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/../lib/juggernaut/runner.rb:11:in run' /var/lib/gems/1.8/gems/juggernaut-0.5.8/bin/juggernaut:4 /usr/bin/juggernaut:19:inload'
/usr/bin/juggernaut:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant