[opensuse-buildservice] delayed job crashes
The delayed jobs are crashing few minutes after start on obs 2.1.2: /srv/www/obs/webui/lib/custom_logger.rb:7:in `format_message': undefined method `[]' for #ActiveRecord::StatementInvalid:0x7fa364086088 (NoMethodError) from /usr/lib64/ruby/1.8/logger.rb:327:in `add' from /usr/lib64/ruby/1.8/logger.rb:401:in `fatal' from /usr/lib64/ruby/gems/1.8/gems/delayed_job-1.8.4/lib/delayed/command.rb:70:in `run' from /usr/lib64/ruby/gems/1.8/gems/delayed_job-1.8.4/lib/delayed/command.rb:46:in `daemonize' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:215:in `call' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:215:in `start_proc' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:225:in `call' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:225:in `start_proc' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/application.rb:255:in `start' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/controller.rb:72:in `run' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:188:in `run_proc' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `call' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/cmdline.rb:105:in `catch_exceptions' from /usr/lib64/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons.rb:187:in `run_proc' from /usr/lib64/ruby/gems/1.8/gems/delayed_job-1.8.4/lib/delayed/command.rb:45:in `daemonize' from /usr/lib64/ruby/gems/1.8/gems/delayed_job-1.8.4/lib/delayed/command.rb:43:in `times' from /usr/lib64/ruby/gems/1.8/gems/delayed_job-1.8.4/lib/delayed/command.rb:43:in `daemonize' Any idea what us going on? Anas-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Samstag, 11. Dezember 2010 sent Anas Nashif:
The delayed jobs are crashing few minutes after start on obs 2.1.2:
[snip]
Any idea what us going on?
We only handle strings in the custom logger, but the logger has this in the API docs: # +message+:: # The log message. A String or Exception. And you get an StatementInvalid exception there. But I have no idea what would trigger that for delayed jobs - there are no delayed jobs in the webui since 2.1 (just the script doing nothing). You can uncomment the config.logger assignment in config/environment.rb and check if you get more in the log files. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Anas Nashif
-
Stephan Kulow