Error #380
Fail to access from development environment
Start date:
2010-12-20
Due date:
2010-12-20
% Done:
100%
Estimated time:
Source:
Detected on version:
Milestones:
Description
After booting Redmine on dev mode, only the first time is correct, the next ones produce this error:
ArgumentError in Advanced reportController#index A copy of ApplicationController has been removed from the module tree but is still active! RAILS_ROOT: /home/usuario/Documentos/redmine-1.0.4 Application Trace | Framework Trace | Full Trace /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:414:in `load_missing_constant' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `const_missing' /home/usuario/Documentos/redmine-1.0.4/app/controllers/application_controller.rb:55:in `user_setup' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:414:in `load_missing_constant' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `const_missing' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:225:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:629:in `run_before_filters' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in `run' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:414:in `load_missing_constant' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/dependencies.rb:96:in `const_missing' /home/usuario/Documentos/redmine-1.0.4/app/controllers/application_controller.rb:55:in `user_setup' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `send' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/callbacks.rb:178:in `evaluate_method' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:225:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:629:in `run_before_filters' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:615:in `call_filters' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_without_flash' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `send' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process_without_filters' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb:93:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:114:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/reloader.rb:34:in `run' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:108:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/railties/lib/rails/rack/static.rb:31:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/railties/lib/rails/rack/log_tailer.rb:17:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/lib/ruby/1.8/webrick/server.rb:82:in `start' /var/lib/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run' /home/usuario/Documentos/redmine-1.0.4/vendor/rails/railties/lib/commands/server.rb:111 /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 Request Parameters: None Show session dump --- Response Headers: {"Content-Type"=>"", "Cache-Control"=>"no-cache"}
Updated by Emilio González Montaña about 14 years ago
- Project changed from Advanced roadmap to Advanced report
- Category changed from General to General
- Target version deleted (
Advanced roadmap 0.2.1)
Updated by Emilio González Montaña about 14 years ago
- Due date set to 2010-12-20
- Status changed from In progress to Resolved
- % Done changed from 0 to 100
Added the following to the plugin init.rb
:
if RAILS_ENV == "development" ActiveSupport::Dependencies.load_once_paths.reject!{|x| x =~ /^#{Regexp.escape(File.dirname(__FILE__))}/} end