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

NameError: uninitialized constant SidekiqUniqueJobs::RunLockFailed #126

Closed
wojtha opened this issue Oct 12, 2015 · 2 comments
Closed

NameError: uninitialized constant SidekiqUniqueJobs::RunLockFailed #126

wojtha opened this issue Oct 12, 2015 · 2 comments

Comments

@wojtha
Copy link

wojtha commented Oct 12, 2015

Hello

after upgrade to SidekiqUniqueJobs 4.0.1 I got following error in production:

NameError: uninitialized constant SidekiqUniqueJobs::RunLockFailed

Backtrace

/gems/sidekiq-unique-jobs-4.0.1/lib/sidekiq_unique_jobs/server/middleware.rb:49 in rescue in while_executing
/gems/sidekiq-unique-jobs-4.0.1/lib/sidekiq_unique_jobs/server/middleware.rb:46 in while_executing
/gems/sidekiq-unique-jobs-4.0.1/lib/sidekiq_unique_jobs/server/middleware.rb:19 in call
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:129 in block in invoke
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/server/active_record.rb:6 in call
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:129 in block in invoke
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/server/retry_jobs.rb:74 in call
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:129 in block in invoke
/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9 in call
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:129 in block in invoke
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/server/logging.rb:11 in block in call
/gems/sidekiq-3.5.0/lib/sidekiq/logging.rb:30 in with_context
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/server/logging.rb:7 in call
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:129 in block in invoke
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:132 in call
/gems/sidekiq-3.5.0/lib/sidekiq/middleware/chain.rb:132 in invoke
/gems/sidekiq-3.5.0/lib/sidekiq/processor.rb:51 in block in process
/gems/sidekiq-3.5.0/lib/sidekiq/processor.rb:98 in stats
/gems/sidekiq-3.5.0/lib/sidekiq/processor.rb:50 in process
/gems/celluloid-0.17.2/lib/celluloid/calls.rb:28 in public_send
/gems/celluloid-0.17.2/lib/celluloid/calls.rb:28 in dispatch
/gems/celluloid-0.17.2/lib/celluloid/call/async.rb:7 in dispatch
/gems/celluloid-0.17.2/lib/celluloid/cell.rb:50 in block in dispatch
/gems/celluloid-0.17.2/lib/celluloid/cell.rb:76 in block in task
/gems/celluloid-0.17.2/lib/celluloid/actor.rb:339 in block in task
/gems/celluloid-0.17.2/lib/celluloid/task.rb:44 in block in initialize
/gems/celluloid-0.17.2/lib/celluloid/task/fibered.rb:14 in block in create

No job has currently unique: true enabled. Since I didn't get back to it since #110. Maybe this could be a clue.

I've disabled sidekiq-unique-jobs completely for now.

@wpolicarpo
Copy link

I had the same problem here. Upgrading to 4.0.2 resolved.

See: 9200373

@mhenrixon
Copy link
Owner

I've yanked the 4.0.1 version from github please see about upgrading.

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

3 participants