Derek Wong
2007-Jul-03 04:51 UTC
[Cruisecontrolrb-users] Newby problem with CCRB 1.1.0 under Win XP: Can''t bring up dashboard...
Hi, I just started using CCRB 1.1.0 under a Win XP system today for the first time. So far I''ve been able to kick off the tests (Ruby/WATIR test scripts) with success. I can see that the tests run and a build.log/build_status.success file seems to indicate that things are okay. Whenever I try access the dashboard from IE or Firefox I get the following displayed on my web browser: Errno::EINVAL in Projects#index Showing app/views/projects/_project.rhtml where line #1 raised: Invalid argument - C:/cruisecontrolrb/projects/Watfo/builder.pid Extracted source (around line #1): 1: <div id="project_<%= project.name %>" class="project build_<%= project.last_complete_build_status %>"> 2: <table class="project_pane"> 3: <tr> 4: Trace of template inclusion: /app/views/projects/index.rhtml RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/lib/project_blocker.rb:24:in `flock'' #{RAILS_ROOT}/lib/project_blocker.rb:24:in `blocked?'' #{RAILS_ROOT}/builder_plugins/installed/builder_status.rb:78:in `builder_down?'' #{RAILS_ROOT}/builder_plugins/installed/builder_status.rb:13:in `status'' #{RAILS_ROOT}/builder_plugins/installed/builder_status.rb:26:in `fatal?'' #{RAILS_ROOT}/app/models/project.rb:183:in `last_complete_build_status'' #{RAILS_ROOT}/app/views/projects/_project.rhtml:1:in `_run_rhtml_47app47views47projects47_project46rhtml'' #{RAILS_ROOT}/app/views/projects/index.rhtml:6:in `_run_rhtml_47app47views47projects47index46rhtml'' #{RAILS_ROOT}/app/views/projects/index.rhtml:5:in `each'' #{RAILS_ROOT}/app/models/projects.rb:72:in `send'' #{RAILS_ROOT}/app/models/projects.rb:72:in `method_missing'' #{RAILS_ROOT}/app/views/projects/index.rhtml:5:in `_run_rhtml_47app47views47projects47index46rhtml'' #{RAILS_ROOT}/app/controllers/projects_controller.rb:7:in `index'' #{RAILS_ROOT}/app/controllers/projects_controller.rb:7:in `call'' #{RAILS_ROOT}/app/controllers/projects_controller.rb:7:in `index'' cruise:6:in `load'' cruise:6:in `start'' cruise:66:in `send'' cruise:66 #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in `render_partial'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `benchmark'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `render_partial'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:806:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:738:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:863:in `render_without_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:798:in `render_action'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:748:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:747:in `silence'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:747:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:244:in `render_without_benchmark'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `measure'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:163:in `respond'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:161:in `each'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:161:in `respond'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:105:in `respond_to'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `perform_action_without_filters'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `measure'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:113:in `handle_dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:79:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:63:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/commands/servers/webrick.rb:59 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `new_constants_in'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'' #{RAILS_ROOT}/vendor/rails/railties/lib/commands/server.rb:40 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' script/server:46 #{RAILS_ROOT}/lib/project_blocker.rb:24:in `flock'' #{RAILS_ROOT}/lib/project_blocker.rb:24:in `blocked?'' #{RAILS_ROOT}/builder_plugins/installed/builder_status.rb:78:in `builder_down?'' #{RAILS_ROOT}/builder_plugins/installed/builder_status.rb:13:in `status'' #{RAILS_ROOT}/builder_plugins/installed/builder_status.rb:26:in `fatal?'' #{RAILS_ROOT}/app/models/project.rb:183:in `last_complete_build_status'' #{RAILS_ROOT}/app/views/projects/_project.rhtml:1:in `_run_rhtml_47app47views47projects47_project46rhtml'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in `render_partial'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `benchmark'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `render_partial'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in `render'' #{RAILS_ROOT}/app/views/projects/index.rhtml:6:in `_run_rhtml_47app47views47projects47index46rhtml'' #{RAILS_ROOT}/app/views/projects/index.rhtml:5:in `each'' #{RAILS_ROOT}/app/models/projects.rb:72:in `send'' #{RAILS_ROOT}/app/models/projects.rb:72:in `method_missing'' #{RAILS_ROOT}/app/views/projects/index.rhtml:5:in `_run_rhtml_47app47views47projects47index46rhtml'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:806:in `render_file'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:738:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:863:in `render_without_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:798:in `render_action'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:748:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:747:in `silence'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:747:in `render_with_no_layout'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:244:in `render_without_benchmark'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `measure'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render'' #{RAILS_ROOT}/app/controllers/projects_controller.rb:7:in `index'' #{RAILS_ROOT}/app/controllers/projects_controller.rb:7:in `call'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:163:in `respond'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:161:in `each'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:161:in `respond'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:105:in `respond_to'' #{RAILS_ROOT}/app/controllers/projects_controller.rb:7:in `index'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1095:in `perform_action_without_filters'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `measure'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process'' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:113:in `handle_dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:79:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'' c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'' c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:63:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/commands/servers/webrick.rb:59 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `new_constants_in'' #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'' #{RAILS_ROOT}/vendor/rails/railties/lib/commands/server.rb:40 c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' script/server:46 cruise:6:in `load'' cruise:6:in `start'' cruise:66:in `send'' cruise:66 Request Parameters: None Show session dump --- Response Headers: {"cookie"=>[], "Content-Type"=>"text/html", "Cache-Control"=>"no-cache"} Cruise logs the following to the console: C:\cruisecontrolrb>cruise start --trace => Booting WEBrick... => Rails application started on http://0.0.0.0:3333 => Ctrl-C to shutdown server; call with --help for options [2007-07-03 15:54:22] INFO WEBrick 1.3.1 [2007-07-03 15:54:22] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32] [2007-07-03 15:54:22] INFO WEBrick::HTTPServer#start: pid=2120 port=3333 [debug] Loading plugin builder_status [debug] Loading plugin email_notifier [debug] Loading plugin minimal_console_logger [debug] Loading plugin project_logger [info] [2007-07-03 15:54:28] Builder for project ''Watfo'' started Logging to: C:/cruisecontrolrb/log/Watfo_builder.log [debug] [2007-07-03 15:54:28] Polling source control [debug] C:/cruisecontrolrb/projects/Watfo/work autotest$ svn --non-interactive l og --revision HEAD:113 --verbose --xml [debug] [2007-07-03 15:54:29] No new revisions detected [debug] [2007-07-03 15:54:29] Sleeping 127.0.0.1 - - [03/Jul/2007:15:54:37 New Zealand Standard Time] "GET / HTTP/1.1" 500 15911 - -> / 127.0.0.1 - - [03/Jul/2007:15:55:04 New Zealand Standard Time] "GET / HTTP/1.1" 500 15911 - -> / [debug] [2007-07-03 15:59:34] Polling source control [debug] C:/cruisecontrolrb/projects/Watfo/work autotest$ svn --non-interactive l og --revision HEAD:113 --verbose --xml [debug] [2007-07-03 15:59:35] No new revisions detected [debug] [2007-07-03 15:59:35] Sleeping 127.0.0.1 - - [03/Jul/2007:16:02:32 New Zealand Standard Time] "GET / HTTP/1.1" 500 15911 - -> / [debug] [2007-07-03 16:04:40] Polling source control [debug] C:/cruisecontrolrb/projects/Watfo/work autotest$ svn --non-interactive l og --revision HEAD:113 --verbose --xml [debug] [2007-07-03 16:04:42] No new revisions detected [debug] [2007-07-03 16:04:42] Sleeping By the way I am running Ruby 1.8.2, Watir 1.5.1.1192, rake 0.7.3 and rails 1.2.3. Thanks to anyone out there who can enlighten me on this issue. Getting pretty pages from the dashboard would be great! Regards, Derek Wong.