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

rake jobs:work fails #27

Closed
bensie opened this issue Dec 31, 2009 · 4 comments
Closed

rake jobs:work fails #27

bensie opened this issue Dec 31, 2009 · 4 comments

Comments

@bensie
Copy link

bensie commented Dec 31, 2009

A recent commit causes rake jobs:work to fail:

jk2:dp jkmiller$ rake jobs:work
(in /Users/james/Sites/rails/dp)
*** Starting job worker host:jk2.local pid:7060
rake aborted!
wrong number of arguments (1 for 0)

@collectiveidea
Copy link
Collaborator

I'm not able to duplicate this. Can you run the command again with --trace and post the stacktrace here?

Reopen if you're still having issues.

@bensie
Copy link
Author

bensie commented Jan 2, 2010

jk2:dp jkmiller$ rake jobs:work --trace
(in /Users/jkmiller/Sites/rails/dp)
** Invoke jobs:work (first_time)
** Invoke merb_env (first_time)
** Execute merb_env
** Invoke environment (first_time)
** Execute environment
** Execute jobs:work
*** Starting job worker host:jk2.local pid:8337
rake aborted!
wrong number of arguments (1 for 0)
/Users/jkmiller/Sites/rails/dp/vendor/plugins/delayed_job/lib/delayed/worker.rb:70:in clear_locks!' /Users/jkmiller/Sites/rails/dp/vendor/plugins/delayed_job/lib/delayed/worker.rb:70:instart'
/Users/jkmiller/Sites/rails/dp/vendor/plugins/delayed_job/lib/delayed/tasks.rb:13
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:inexecute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:inexecute'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor.rb:242:insynchronize'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:ininvoke'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:intop_level'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling'
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:inload'
/usr/bin/rake:19

@bensie
Copy link
Author

bensie commented Jan 2, 2010

Sorry that was ugly:
http://gist.github.com/267555

@philsmy
Copy link

philsmy commented Feb 27, 2010

I get the same (except line 83). How can anyone use this branch?

This issue was closed.
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

No branches or pull requests

2 participants