Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

got an Internal error #5

Closed
Arthraim opened this Issue · 7 comments

2 participants

@Arthraim

ruby: ree-1.8.7
rails: Rails 2.3.14

Clicked 'My roadmaps' on the top navigation bar, than got this error.

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

log shows

NoMethodError (undefined method `member_of?' for "system":String):
  vendor/plugins/redmine_my_roadmaps/app/controllers/my_roadmaps_controller.rb:67:in `index'
  vendor/plugins/redmine_my_roadmaps/app/controllers/my_roadmaps_controller.rb:56:in `each'
  vendor/plugins/redmine_my_roadmaps/app/controllers/my_roadmaps_controller.rb:56:in `index'
  thin (1.3.1) lib/thin/connection.rb:80:in `pre_process'
  thin (1.3.1) lib/thin/connection.rb:78:in `catch'
  thin (1.3.1) lib/thin/connection.rb:78:in `pre_process'
  thin (1.3.1) lib/thin/connection.rb:53:in `process'
  thin (1.3.1) lib/thin/connection.rb:38: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.3.1) lib/thin/backends/base.rb:61:in `start'
  thin (1.3.1) lib/thin/server.rb:159:in `start'
@clueware
Owner

Can you give me the Redmine version, please?

Thanks

@clueware
Owner

I've removed any reference to member_of?, could you have a try? I think it's related to system-wide versions, so I'll try to test such an occurence.

@Arthraim

redmine: 1.3.1.stable

now the exception changed

NameError (uninitialized constant MyRoadmapsController::Projects):
  vendor/plugins/redmine_my_roadmaps/app/controllers/my_roadmaps_controller.rb:63:in `index'
  vendor/plugins/redmine_my_roadmaps/app/controllers/my_roadmaps_controller.rb:47:in `each'
  vendor/plugins/redmine_my_roadmaps/app/controllers/my_roadmaps_controller.rb:47:in `index'
  thin (1.3.1) lib/thin/connection.rb:80:in `pre_process'
  thin (1.3.1) lib/thin/connection.rb:78:in `catch'
  thin (1.3.1) lib/thin/connection.rb:78:in `pre_process'
  thin (1.3.1) lib/thin/connection.rb:53:in `process'
  thin (1.3.1) lib/thin/connection.rb:38: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.3.1) lib/thin/backends/base.rb:61:in `start'
  thin (1.3.1) lib/thin/server.rb:159:in `start'
@clueware
Owner

Ok, found it. Give me a moment to setup some system-wide versions and related issues, and you should be fine.
I'll include this in version 0.0.6

@clueware clueware was assigned
@Arthraim

It works now.
But style may have some issues with my theme. After I deleted 2 lines, it looks good.

table.tracker tr td div {
    position: absolute; // <-- this
    text-align: left;
    left: 1.5em; // <-- and this
}
@clueware
Owner

Glad that you don't have a crash anymore.

As for the CSS, removing these lines break the progress bars in "Related issues": when the title of the issue is longer than the % of progress of the issue, it bar end is pushed to the end of the title, showing a bar longer than the real progress.

If the theme you're using is freely available, feel free to open an issue with an URL pointing to the theme page: I'll try to find a solution.

@clueware clueware closed this
@Arthraim

CSS's not that important, so thanks @clueware :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.