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

logfile error when using framework=none #16

Open
jalberto opened this issue Apr 22, 2014 · 0 comments
Open

logfile error when using framework=none #16

jalberto opened this issue Apr 22, 2014 · 0 comments

Comments

@jalberto
Copy link

when I start loops in a non-FW environment with -f none I have this error:

F : 2014-04-22 17:25:23 : Worker exited with error: no implicit conversion of nil into String
  /home/ja/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/pathname.rb:389:in `initialize'
  /home/ja/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/pathname.rb:389:in `new'
  /home/ja/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/pathname.rb:389:in `join'
  /home/ja/Projects/Misc/loops/lib/loops/logger.rb:72:in `logfile='
  /home/ja/Projects/Misc/loops/lib/loops/engine.rb:138:in `block in start_loop'
  /home/ja/Projects/Misc/loops/lib/loops/worker.rb:40:in `call'
  /home/ja/Projects/Misc/loops/lib/loops/worker.rb:40:in `block in run'
  /home/ja/Projects/Misc/loops/lib/loops/worker.rb:35:in `fork'
  /home/ja/Projects/Misc/loops/lib/loops/worker.rb:35:in `run'
  /home/ja/Projects/Misc/loops/lib/loops/worker_pool.rb:33:in `block in check_workers'
  /home/ja/Projects/Misc/loops/lib/loops/worker_pool.rb:30:in `each'
  /home/ja/Projects/Misc/loops/lib/loops/worker_pool.rb:30:in `check_workers'
  /home/ja/Projects/Misc/loops/lib/loops/process_manager.rb:38:in `block (2 levels) in monitor_workers'
  /home/ja/Projects/Misc/loops/lib/loops/process_manager.rb:36:in `each'
  /home/ja/Projects/Misc/loops/lib/loops/process_manager.rb:36:in `block in monitor_workers'
  /home/ja/Projects/Misc/loops/lib/loops/process_manager.rb:34:in `loop'
  /home/ja/Projects/Misc/loops/lib/loops/process_manager.rb:34:in `monitor_workers'
  /home/ja/Projects/Misc/loops/lib/loops/engine.rb:52:in `start_loops!'
  /home/ja/Projects/Misc/loops/lib/loops/commands/start_command.rb:19:in `execute'
  /home/ja/Projects/Misc/loops/lib/loops/command.rb:24:in `invoke'
  /home/ja/Projects/Misc/loops/lib/loops/cli/commands.rb:96:in `run!'
  /home/ja/Projects/Misc/loops/lib/loops/cli/commands.rb:29:in `execute'
  /home/ja/Projects/Misc/loops/bin/loops:8:in `<top (required)>'

It's related to lib/loops/logger.rb:71 a dirty workaround will be to skip the conditional in line 71

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

1 participant