Comments (2)
Hallo Lucien
Ich hab den Fehler gefixt. Habe dann aber gesehen, dass Du diesen bereits Dir selbst zugewiesen hattest. Ich habe das Ticket geschlossen, aber allenfalls musst du es halt nochmals eröffnen.
Gruss
Philip
Philip Kurmann
Senior Consultant
peaq GmbH Mobile: +41 - 78 - 793 1810
Wiesenstrasse 44 Mail: [email protected] mailto:[email protected]
CH-8954 Geroldswil Web: http://www.peaq.ch http://www.peaq.ch/
Am 19.08.2015 um 10:00 schrieb Lucien Stuker [email protected]:
When I start a new task I get the following error, with queue_dispatcher version "2.5.2"
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/queue_dispatcher-b3addf0ba342/lib/queue_dispatcher/acts_as_task_queue.rb:293:in
'run!' script/queue_worker_dispatcher:221:in
worker_runner'
script/queue_worker_dispatcher:185:inblock in spawn_and_monitor_workers' /Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:122:in
block in run'
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:184:inblock in fork_it' /Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:160:in
fork'
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:160:infork_it' /Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:122:in
run'
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:102:ininitialize' script/queue_worker_dispatcher:184:in
new'
script/queue_worker_dispatcher:184:inspawn_and_monitor_workers' script/queue_worker_dispatcher:128:in
daemon_runner'
script/queue_worker_dispatcher:158:indaemon_start' script/queue_worker_dispatcher:281:in
The error is caused when no @engine https://github.com/engine instance variable is set. My debugging showed that the if statement in is not correct, which came with the commit d2f9e3a d2f9e3a.See debuggin:
puts "oh no" if defined? @engine
=> nil
[9] pry(#)> puts "oh no" if defined? @engine && @engine.methods.include?(:logger=)
oh no
The correct statement should bepry(#)> puts "oh no" if (defined? @engine) && (@engine.methods.include?(:logger=))
=> nil
—
Reply to this email directly or view it on GitHub #7.
from queue_dispatcher.
Ja ich habs in meinen Branch auch schon angepasst, aber noch nicht gepushed.
Trotzdem merci für die schnelle fixen.
from queue_dispatcher.
Related Issues (7)
- Replace Prototyp Event Expander
- No closing string in javascript
- Replace Protoyp periodically_call_remote and onclick_to_remote with jquery functions
- Mysql2::Error: Data too long for column message HOT 2
- 'can't be called from trap context'-Error when a INT-signal is sent with Ruby >= 2.0.0
- Active Job HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from queue_dispatcher.