Mailinglist Archive: opensuse-buildservice (295 mails)

< Previous Next >
[opensuse-buildservice] Webclient
  • From: Dirk Stoecker <opensuse@xxxxxxxxxxxx>
  • Date: Mon, 12 Mar 2007 16:47:43 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0703121647010.18215@xxxxxxxxxxxxxxxxx>
Hello,

When Removing a package from a project and afterwards displaying the
project monitor an exception occurs:

Error Details:
Errorcode: 500
Message: undefined method `code' for nil:NilClass

Exception from Webclient:
ActionView::TemplateError: undefined method `code' for nil:NilClass
Stack Trace:
On line #51 of app/views/project/monitor.rhtml

48: # sane default - TODO: fix this in the controller
49: status = 'unknown'
50: status = @statushash[repo][arch][packname]
51: case status.code
52: when 'failed'
53: @failed[packname] = true
54: when 'expansion error'

#{RAILS_ROOT}/app/views/project/monitor.rhtml:51:in
`_run_rhtml_project_monitor'
#{RAILS_ROOT}/app/views/project/monitor.rhtml:46:in
`_run_rhtml_project_monitor'
#{RAILS_ROOT}/app/views/project/monitor.rhtml:45:in
`_run_rhtml_project_monitor'
#{RAILS_ROOT}/app/views/project/monitor.rhtml:40:in
`_run_rhtml_project_monitor'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:314:in
`compile_and_render_template'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:290:in
`render_template'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_view/base.rb:249:in
`render_file'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:699:in
`render_file'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:621:in
`render_with_no_layout'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/layout.rb:243:in
`render_without_benchmark'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:53:in
`render'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:53:in
`render'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:911:in
`perform_action_without_filters'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
/usr/lib64/ruby/1.8/benchmark.rb:293:in `measure'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/rescue.rb:82:in
`perform_action'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:381:in
`process_without_filters'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'

/usr/lib64/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/session_management.rb:117:in
`process'
/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/dispatcher.rb:38:in
`dispatch'
/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:150:in
`process_request'
/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:54:in
`process!'
/usr/lib64/ruby/1.8/fcgi.rb:612:in `each_cgi'
/usr/lib64/ruby/1.8/fcgi.rb:609:in `each_cgi'
/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:53:in
`process!'
/usr/lib64/ruby/gems/1.8/gems/rails-1.1.4/lib/fcgi_handler.rb:23:in
`process!'
/srv/www/opensuse/webclient/current/public/dispatch.fcgi:24


Ciao
--
http://www.dstoecker.eu/ (PGP key available)
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups