got an Internal error #5

Closed
Arthraim opened this Issue Apr 16, 2012 · 7 comments

Comments

Projects
None yet
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

This comment has been minimized.

Show comment
Hide comment
@clueware

clueware Apr 17, 2012

Owner

Can you give me the Redmine version, please?

Thanks

Owner

clueware commented Apr 17, 2012

Can you give me the Redmine version, please?

Thanks

@clueware

This comment has been minimized.

Show comment
Hide comment
@clueware

clueware Apr 17, 2012

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.

Owner

clueware commented Apr 17, 2012

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

This comment has been minimized.

Show comment
Hide comment
@Arthraim

Arthraim Apr 18, 2012

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'

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

This comment has been minimized.

Show comment
Hide comment
@clueware

clueware Apr 18, 2012

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

Owner

clueware commented Apr 18, 2012

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

@Arthraim

This comment has been minimized.

Show comment
Hide comment
@Arthraim

Arthraim Apr 19, 2012

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
}

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

This comment has been minimized.

Show comment
Hide comment
@clueware

clueware Apr 19, 2012

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.

Owner

clueware commented Apr 19, 2012

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 Apr 19, 2012

@Arthraim

This comment has been minimized.

Show comment
Hide comment
@Arthraim

Arthraim Apr 20, 2012

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

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