Closed jakrieser closed 10 years ago
Looks like it can't find the project. Please make sure that you selected at least one project in the plugin settings.
It should look like this (this has botch projects selected):
Wow. Thanks for the speedy response!! That was definitely it. I opened the setting, selected a project, then hit apply. Everything is working again! Thank you very much!
I have just rolled out redmine with the book meeting rooms plugin for our verification and validation team. It serves a great purpose for the desperate need of reserving test equipment and documents equipment parameters and current status. However today, after check out some of the settings on the backend (looking to at 'room' name to the calendar summary review), I now get an 'internal error' when trying to go to the meeting rooms page. I went back and verified all the setting following the instructions, i tried restarting the servers, and now cannot make sense of the logs. Please help!
I stopped the servers, renamed the 'production' redmine log, restarted the servers, repeated the problem and copied the log below.
Connecting to database specified by database.yml Connecting to database specified by database.yml Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Started GET "/redmine/meeting_room_calendar" for 127.0.0.1 at 2014-10-29 17:00:21 -0700 Processing by MeetingRoomCalendarController#index as HTML Current user: quadtech (id=1) Rendered common/error.html.erb within layouts/base (5.0ms) Completed 500 Internal Server Error in 434.0ms
NoMethodError (undefined method'
project_meeting_rooms' for nil:NilClass): plugins/redmine_meeting_room_calendar/app/controllers/meeting_room_calendar_controller.rb:75:in
index' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/implicit_render.rb:4:insend_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:167:in
process_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/rendering.rb:10:inprocess_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:18:in
block in process_action' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:469:in_run__984293467__process_action__795336250__callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in
run_callback' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in_run_process_action_callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:in
run_callbacks' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/callbacks.rb:17:inprocess_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/rescue.rb:29:in
process_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:30:inblock in process_action' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in
block in instrument' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications/instrumenter.rb:20:ininstrument' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/notifications.rb:123:in
instrument' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/instrumentation.rb:29:inprocess_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/params_wrapper.rb:207:in
process_action' vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.19/lib/active_record/railties/controller_runtime.rb:18:inprocess_action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/base.rb:121:in
process' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/abstract_controller/rendering.rb:45:inprocess' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal.rb:203:in
dispatch' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal/rack_delegation.rb:14:indispatch' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_controller/metal.rb:246:in
block in action' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:73:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:73:in
dispatch' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:36:incall' vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in
block in call' vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:ineach' vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in
call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/routing/route_set.rb:608:incall' vendor/bundle/ruby/1.9.1/gems/rack-openid-1.4.1/lib/rack/openid.rb:99:in
call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/best_standards_support.rb:17:incall' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in
call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/head.rb:14:in
call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/params_parser.rb:21:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/flash.rb:242:in
call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:incontext' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in
call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/cookies.rb:341:incall' vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.19/lib/active_record/query_cache.rb:64:in
call' vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.19/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in_run__636003946__call__504184880__callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:405:in
run_callback' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:385:in_run_call_callbacks' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/callbacks.rb:81:in
run_callbacks' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/callbacks.rb:27:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/remote_ip.rb:31:in
call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' vendor/bundle/ruby/1.9.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:32:incall_app' vendor/bundle/ruby/1.9.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:16:in
block in call' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/tagged_logging.rb:22:intagged' vendor/bundle/ruby/1.9.1/gems/railties-3.2.19/lib/rails/rack/logger.rb:16:in
call' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/request_id.rb:22:incall' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in
call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:incall' vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.19/lib/active_support/cache/strategy/local_cache.rb:72:in
call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/lock.rb:15:incall' vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.19/lib/action_dispatch/middleware/static.rb:63:in
call' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:inforward' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in
fetch' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:inlookup' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in
call!' vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:incall' vendor/bundle/ruby/1.9.1/gems/railties-3.2.19/lib/rails/engine.rb:484:in
call' vendor/bundle/ruby/1.9.1/gems/railties-3.2.19/lib/rails/application.rb:231:incall' vendor/bundle/ruby/1.9.1/gems/railties-3.2.19/lib/rails/railtie/configurable.rb:30:in
method_missing' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:64:inblock in call' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in
each' vendor/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:incall' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/connection.rb:80:in
block in pre_process' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/connection.rb:78:incatch' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/connection.rb:78:in
pre_process' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/connection.rb:53:inprocess' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/connection.rb:38:in
receive_data' vendor/bundle/ruby/1.9.1/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:inrun_machine' vendor/bundle/ruby/1.9.1/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in
run' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/backends/base.rb:61:instart' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/server.rb:159:in
start' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/controllers/controller.rb:86:instart' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/runner.rb:185:in
run_command' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/lib/thin/runner.rb:151:inrun!' vendor/bundle/ruby/1.9.1/gems/thin-1.3.1-x86-mingw32/bin/thin:6:in
<top (required)>' bin/thin:16:inload' bin/thin:16:in