[Cruisecontrolrb-users] Problem geting web interface to work

Avalon third-chance at gmx.de
Tue May 13 10:38:13 EDT 2008


Hi,

i have installed CruiseControlRB 1.3.0. With no project added the web interface at localhost:3333 looks find.

I have successfully added one of my projects (batch file which builds some c++ code) which is also building fine.

But the web interface is no more working - i get the following message "Errno::EINVAL in Projects#index".

I have attached a log (run with --trace) which describes the error with stack trace more detailed. As far as i can see the lock file "C:/Server/cruisedata/projects/myproject/builder.lock" exists.

Any help is highly appreciated...

Thank you,
Thomas
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-------------- next part --------------
Processing ProjectsController#index (for 127.0.0.1 at 2008-05-13 16:25:00) [GET]
  Parameters: {"format"=>"js", "action"=>"index", "controller"=>"projects"}
Rendering projects/index_js


ActionView::TemplateError (Invalid argument - C:/Server/cruisedata/projects/myproject/builder.lock) on line #1 of app/views/projects/_project.rhtml:
1: <div id="project_<%= project.name %>" class="project build_<%= project.last_complete_build_status %>">
2: <table class="project_pane">
3: <tr>
4: 

    #{RAILS_ROOT}/lib/file_lock.rb:36:in `flock'
    #{RAILS_ROOT}/lib/file_lock.rb:36:in `locked?'
    #{RAILS_ROOT}/lib/project_blocker.rb:7:in `blocked?'
    #{RAILS_ROOT}/lib/builder_plugins/builder_status.rb:84:in `builder_down?'
    #{RAILS_ROOT}/lib/builder_plugins/builder_status.rb:12:in `status'
    #{RAILS_ROOT}/lib/builder_plugins/builder_status.rb:20:in `fatal?'
    #{RAILS_ROOT}/app/models/project.rb:194: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/partials.rb:73:in `render_partial_collection'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:71:in `each_with_index'
    #{RAILS_ROOT}/app/models/projects.rb:71:in `each'
    #{RAILS_ROOT}/app/models/projects.rb:71:in `each_with_index'
    #{RAILS_ROOT}/app/models/projects.rb:71:in `send'
    #{RAILS_ROOT}/app/models/projects.rb:71:in `method_missing'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:71:in `render_partial_collection'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:285:in `render'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:597:in `render'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:459:in `replace_html'
    #{RAILS_ROOT}/app/views/projects/index_js.rjs:1:in `__bind_1210688700_187000'
    #{RAILS_ROOT}/app/views/projects/index_js.rjs:0:in `__bind_1210688700_187000'
    #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb:44:in `[]'
    #{RAILS_ROOT}/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb:44:in `instance_exec'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:313:in `initialize'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:625:in `new'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb:625:in `update_page'
    #{RAILS_ROOT}/app/views/projects/index_js.rjs:0:in `_run_rjs_47app47views47projects47index_js46rjs'
    #{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:256: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:9:in `index'
    #{RAILS_ROOT}/app/controllers/projects_controller.rb:9:in `call'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:135:in `custom'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:133:in `call'
    #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:167: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:/programme/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
    c:/programme/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'
    c:/programme/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
    c:/programme/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:/programme/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
    c:/programme/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18: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:/programme/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'
    c:/programme/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
    script/server:42
    cruise:6:in `load'
    cruise:6:in `start'
    cruise:68:in `send'
    cruise:68
    cruise:67:in `chdir'
    c:/programme/ruby/lib/ruby/1.8/fileutils.rb:104:in `cd'
    cruise:67


Rendering ./script/../config/../vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)


More information about the Cruisecontrolrb-users mailing list