Redmine authentication with crowd
Added by Philip Borlin almost 14 years ago
My about script errors out:
RAILS_ENV=production script/about
/var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:417:in `load_missing_constant': Object is not missing constant Project! (ArgumentError)
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
from /var/www/redmine/app/models/attachment.rb:36
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
... 53 levels...
from /var/www/redmine/vendor/rails/railties/lib/commands/about.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from script/about:4
System information:
ruby 1.8.6.383 at /usr/bin/ruby
rubygems 1.3.1 at /usr/lib/ruby/gems/1.8
Rails 2.3.5
DB: PostgreSQL 8.4.4
OS: Centos 5.4
Webserver Apache/2.2.3
I installed the following gems:
crowd-stefanwille (0.5.11)
crowd_rails (0.5.11)
soap4r (1.5.8)
in order to connect to crowd. I installed the modxcms-redmine_crowd-1e48029 Redmine plugin but started getting the dreaded "Object is not missing constant Project!" error. I have narrowed it down and can make it go away by removing require 'crowd' from the plugin init.rb. Crowd.rb is contained in the crowd-stefanwille gem. I am not sure what to look at to fix this error.
Thanks for your time.
- Exception ArgumentError in PhusionPassenger::Railz::ApplicationSpawner (Object is not missing constant Project!) (process 17571):
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:417:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `send'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:98:in `const_missing'
from /var/www/redmine/app/models/attachment.rb:36
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions'
from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:437:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/plugins/acts_as_attachable/lib/acts_as_attachable.rb:33:in `acts_as_attachable'
from /var/www/redmine/app/models/message.rb:22
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:158:in `require'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:265:in `require_or_load_without_engine_additions'
from /var/www/redmine/vendor/plugins/engines/lib/engines/rails_extensions/dependencies.rb:132:in `require_or_load'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:425:in `load_missing_constant'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:80:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/dependencies.rb:92:in `const_missing'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:361:in `constantize'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `each'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/inflector.rb:360:in `constantize'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'
from /var/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:157:in `observed_class'
from /var/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:183:in `observed_classes'
from /var/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:166:in `initialize'
from /usr/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
from /var/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:38:in `instantiate_observers'
from /var/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `each'
from /var/www/redmine/vendor/rails/activerecord/lib/active_record/observer.rb:36:in `instantiate_observers'
from /var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:15:in `define_dispatcher_callbacks'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `call'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:182:in `evaluate_method'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:166:in `call'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `each'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `send'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:90:in `run'
from /var/www/redmine/vendor/rails/activesupport/lib/active_support/callbacks.rb:276:in `run_callbacks'
from /var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `send'
from /var/www/redmine/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:51:in `run_prepare_callbacks'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:631:in `prepare_dispatcher'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:185:in `process'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:113:in `send'
from /var/www/redmine/vendor/rails/railties/lib/initializer.rb:113:in `run'
from /var/www/redmine/config/environment.rb:24
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:318:in `preload_application'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:267:in `initialize_server'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/utils.rb:323:in `report_app_init_status'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:246:in `initialize_server'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:194:in `start_synchronously'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:163:in `start'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:253:in `spawn_rails_application'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:247:in `spawn_rails_application'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:246:in `spawn_rails_application'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:145:in `spawn_application'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/spawn_manager.rb:278:in `handle_spawn_application'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
from /usr/lib/ruby/gems/1.8/gems/passenger-2.2.15/bin/passenger-spawn-server:61
Replies (1)
RE: Redmine authentication with crowd
-
Added by Felix Schäfer almost 14 years ago
Please contact the author of the plugin for help, it's not always a sure bet to post here and think he will come by.