Giter Site home page Giter Site logo

Comments (2)

philkman avatar philkman commented on June 30, 2024

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:inworker_runner'
script/queue_worker_dispatcher:185:in block 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:inblock in run'
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:184:in block 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:infork'
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:160:in fork_it' /Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:122:inrun'
/Users/myname/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/spawnling-2.1.6/lib/spawnling.rb:102:in initialize' script/queue_worker_dispatcher:184:innew'
script/queue_worker_dispatcher:184:in spawn_and_monitor_workers' script/queue_worker_dispatcher:128:indaemon_runner'
script/queue_worker_dispatcher:158:in daemon_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
@engine.logger = @logger if defined? @engine && @engine.methods.include?(:logger=)
@engine.logger = @logger if defined? @engine && @engine.methods.include?(:logger=)
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 be

pry(#)> 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.

LStuker avatar LStuker commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.