Project

General

Profile

500 Error when clicking on a User

Added by Shaunt Libarian about 13 years ago

Hey Guys

When i click on a username anywhere in my redmine installation i get the following error:
Processing UsersController#show (for 192.168.1.25 at 2011-02-10 15:08:02) [GET]
Parameters: {"action"=>"show", "id"=>"10", "controller"=>"users"}

NameError (uninitialized constant Asset):
lib/redmine/activity/fetcher.rb:25
lib/redmine/activity/fetcher.rb:25:in `collect'
lib/redmine/activity/fetcher.rb:25
lib/redmine/activity/fetcher.rb:91:in `call'
lib/redmine/activity/fetcher.rb:91:in `default'
lib/redmine/activity/fetcher.rb:91:in `[]'
lib/redmine/activity/fetcher.rb:91:in `constantized_providers'
lib/redmine/activity/fetcher.rb:75:in `events'
lib/redmine/activity/fetcher.rb:74:in `each'
lib/redmine/activity/fetcher.rb:74:in `events'
app/controllers/users_controller.rb:59:in `show'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
thin (1.2.7) lib/thin/connection.rb:76:in `pre_process'
thin (1.2.7) lib/thin/connection.rb:74:in `catch'
thin (1.2.7) lib/thin/connection.rb:74:in `pre_process'
thin (1.2.7) lib/thin/connection.rb:57:in `process'
thin (1.2.7) lib/thin/connection.rb:42:in `receive_data'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
thin (1.2.7) lib/thin/backends/base.rb:57:in `start'
thin (1.2.7) lib/thin/server.rb:156:in `start'
thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start'
thin (1.2.7) lib/thin/runner.rb:177:in `send'
thin (1.2.7) lib/thin/runner.rb:177:in `run_command'
thin (1.2.7) lib/thin/runner.rb:143:in `run!'
thin (1.2.7) bin/thin:6
/usr/bin/thin:19:in `load'
/usr/bin/thin:19

Rendering /opt/redmine/public/500.html (500 Internal Server Error)

Redmine Info:
RAILS_ENV=production script/about
About your application's environment
Ruby version 1.8.5 (i386-linux)
RubyGems version 1.3.1
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /opt/redmine
Environment production
Database adapter mysql
Database schema version 20100819172912

About your Redmine plugins
Redmine Schedules plugin 0.4.2
Advanced roadmap & milestones plugin 0.3.0
Mylyn Connector plugin 2.7.0.stable.RC5
Redmine Assets plugin 0.0.1


Replies (2)

RE: 500 Error when clicking on a User - Added by Brent Shaffer about 13 years ago

This one would be my fault. There was a bogus call to a hook initializing constants for the "act as activity provider" functionality, reserved for active record objects. Must have been copied over inadvertently.

Check out the updated plugin tag (RELEASE_0_0_2), that should fix your problem: https://github.com/bshaffer/redmine-assets-plugin

RE: 500 Error when clicking on a User - Added by Shaunt Libarian about 13 years ago

Thanks

This fixed the issue

    (1-2/2)