Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Error #29

Closed
staticn0de opened this issue Jan 11, 2014 · 7 comments
Closed

Internal Error #29

staticn0de opened this issue Jan 11, 2014 · 7 comments
Assignees
Labels
Milestone

Comments

@staticn0de
Copy link

I have created a task under a sub project.

When I click on the Add Recurrence button I receive the following message:

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

I have checked the permissions and they look fine. Everything else is working, just can't add a recurrence.

@ghost ghost assigned nutso Jan 14, 2014
@nutso
Copy link
Owner

nutso commented Jan 14, 2014

Can you provide the error message in the log file?

@Kikisss
Copy link

Kikisss commented Jan 15, 2014

Started GET "/redmine/projects/lll/settings" for 127.0.0.1 at 2014-01-15 11:18:36 +0200
Processing by ProjectsController#settings as HTML
Parameters: {"id"=>"lll"}
Current user: kikisss (id=1)
Rendered projects/_form.html.erb (14.6ms)
Rendered projects/_edit.html.erb (16.6ms)
Rendered projects/settings/_modules.html.erb (2.9ms)
Rendered projects/settings/_members.html.erb (11.7ms)
Rendered projects/settings/_versions.html.erb (3.9ms)
Rendered projects/settings/_issue_categories.html.erb (2.9ms)
Rendered projects/settings/_activities.html.erb (7.8ms)
Rendered common/_tabs.html.erb (48.8ms)
Rendered projects/settings.html.erb within layouts/base (48.8ms)
Completed 500 Internal Server Error in 100.6ms

ActionController::RoutingError (No route matches {:project_id=>#<Project id: 5, name: "222", description: "", homepage: "", is_public: false, parent_id: nil, created_on: "2014-01-15 09:18:36", updated_on: "2014-01-15 09:18:36", identifier: "lll", status: 1, lft: 1, rgt: 2, inherit_members: false>, :controller=>"periodictask"}):
lib/redmine/menu_manager.rb:150:in render_single_menu_node' lib/redmine/menu_manager.rb:102:inrender_menu_node'
lib/redmine/menu_manager.rb:91:in block in render_menu' lib/redmine/menu_manager.rb:168:inblock in menu_items_for'
lib/redmine/menu_manager.rb:165:in each' lib/redmine/menu_manager.rb:165:inmenu_items_for'
lib/redmine/menu_manager.rb:90:in render_menu' lib/redmine/menu_manager.rb:80:inrender_main_menu'
app/views/layouts/base.html.erb:45:in `_app_views_layouts_base_html_erb__760769974_32423880'

@staticn0de
Copy link
Author

Which log file are you after?

@Kikisss
Copy link

Kikisss commented Jan 15, 2014

oh sorry i got error :

Page not found

The page you were trying to access doesn't exist or has been removed.

Back

redmine\htdocs\log\production.log

@staticn0de
Copy link
Author

Here is the pastebin http://pastebin.com/ebEf5aYE

Below is the logfile

Connecting to database specified by database.yml
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/" for 192.168.137.1 at Wed Jan 15 20:32:07 +1100 2014
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (177.8ms)
Completed 200 OK in 490ms (Views: 220.6ms | ActiveRecord: 14.0ms)
Started GET "/login" for 192.168.137.1 at Wed Jan 15 20:32:12 +1100 2014
Processing by AccountController#login as HTML
Current user: anonymous
Rendered account/login.html.erb within layouts/base (9.4ms)
Completed 200 OK in 28ms (Views: 22.5ms | ActiveRecord: 1.7ms)
Started POST "/login" for 192.168.137.1 at Wed Jan 15 20:32:14 +1100 2014
Processing by AccountController#login as HTML
Parameters: {"username"=>"admin", "utf8"=>"✓", "back_url"=>"http://192.168.137.50/", "password"=>"[FILTERED]", "login"=>"Login »", "authenticity_token"=>"o/Qwm+XZBVtlpPG60wA6IsN/o6oRAu2sMPe5Vg/z6QE="}
Current user: anonymous
Successful authentication for 'admin' from 192.168.137.1 at Wed Jan 15 09:32:14 UTC 2014
Redirected to http://192.168.137.50/
Completed 302 Found in 17ms (ActiveRecord: 5.3ms)
Started GET "/" for 192.168.137.1 at Wed Jan 15 20:32:14 +1100 2014
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (27.3ms)
Completed 200 OK in 76ms (Views: 51.8ms | ActiveRecord: 9.4ms)
Started GET "/projects/miroserver-maintenance" for 192.168.137.1 at Wed Jan 15 20:32:16 +1100 2014
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"miroserver-maintenance"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (0.6ms)
Rendered projects/show.html.erb within layouts/base (24.9ms)
Completed 200 OK in 309ms (Views: 81.2ms | ActiveRecord: 27.5ms)
Started GET "/projects/miroserver-maintenance/issues?set_filter=1&tracker_id=4" for 192.168.137.1 at Wed Jan 15 20:32:19 +1100 2014
Processing by IssuesController#index as HTML
Parameters: {"set_filter"=>"1", "project_id"=>"miroserver-maintenance", "tracker_id"=>"4"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (17.6ms)
Rendered queries/_columns.html.erb (7.4ms)
Rendered issues/_list.html.erb (14.5ms)
Rendered issues/_sidebar.html.erb (9.4ms)
Rendered issues/index.html.erb within layouts/base (196.7ms)
Completed 200 OK in 530ms (Views: 231.5ms | ActiveRecord: 31.2ms)
Started GET "/issues/1" for 192.168.137.1 at Wed Jan 15 20:32:22 +1100 2014
Processing by IssuesController#show as HTML
Parameters: {"id"=>"1"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (14.2ms)
Rendered plugins/recurring_tasks/app/views/issues/_show_recurrence.html.erb (15.8ms)
Rendered issue_relations/_form.html.erb (5.7ms)
Rendered issues/_relations.html.erb (11.3ms)
Rendered issues/_action_menu.html.erb (5.1ms)
Rendered issues/_form_custom_fields.html.erb (0.7ms)
Rendered issues/_attributes.html.erb (30.5ms)
Rendered issues/_form.html.erb (186.9ms)
Rendered attachments/_form.html.erb (7.2ms)
Rendered issues/_edit.html.erb (362.6ms)
Rendered issues/_sidebar.html.erb (6.7ms)
Rendered watchers/_watchers.html.erb (8.1ms)
Rendered issues/show.html.erb within layouts/base (483.0ms)
Completed 200 OK in 769ms (Views: 504.0ms | ActiveRecord: 37.4ms)
Started GET "/projects/2/recurring_tasks/new/1" for 192.168.137.1 at Wed Jan 15 20:32:23 +1100 2014
Processing by RecurringTasksController#new as HTML
Parameters: {"issue_id"=>"1", "project_id"=>"2"}
Current user: admin (id=1)
Rendered plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb within layouts/base (0.8ms)
Completed 500 Internal Server Error in 27ms

ActionView::Template::Error (compile error
/usr/local/share/redmine-2.3.1/plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:2: syntax error, unexpected ':', expecting ')'
...ffer.append= ( render partial: "form", locals: { next_step: ...
^
/usr/local/share/redmine-2.3.1/plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:2: syntax error, unexpected ',', expecting ')'
...end= ( render partial: "form", locals: { next_step: 'create'...
^
/usr/local/share/redmine-2.3.1/plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:2: odd number list for Hash
...: "form", locals: { next_step: 'create', rt: @recurring_task...
^
/usr/local/share/redmine-2.3.1/plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:2: syntax error, unexpected ',', expecting ')'
...locals: { next_step: 'create', rt: @recurring_task } );@Outp...
^
/usr/local/share/redmine-2.3.1/plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:5: syntax error, unexpected kENSURE, expecting ')'
/usr/local/share/redmine-2.3.1/plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:7: syntax error, unexpected kEND, expecting ')'):
1:

<%= l(:label_add_recurring_task) %>


2: <%= render partial: "form", locals: { next_step: 'create', rt: @recurring_task } %>
3:

<%= link_to l(:button_cancel), "#", :onclick => 'Element.hide("add-task")' %>


plugins/recurring_tasks/app/views/recurring_tasks/new.html.erb:7:in compile' actionpack (3.2.13) lib/action_view/template.rb:244:incompile!'
actionpack (3.2.13) lib/action_view/template.rb:232:in synchronize' actionpack (3.2.13) lib/action_view/template.rb:232:incompile!'
actionpack (3.2.13) lib/action_view/template.rb:144:in render' activesupport (3.2.13) lib/active_support/notifications.rb:125:ininstrument'
actionpack (3.2.13) lib/action_view/template.rb:143:in render' actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:47:inrender_template'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:ininstrument'
activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:ininstrument'
actionpack (3.2.13) lib/action_view/renderer/abstract_renderer.rb:38:in instrument' actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:46:inrender_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:54:in render_with_layout' actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:inrender_template'
actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in render' actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:inrender_template'
actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in render' actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in_render_template'
actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in _render_template' actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:inrender_to_body'
actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in render_to_body' actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:inrender_to_body'
actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in render' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:inrender'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in render' activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:inms'
/usr/lib/ruby/1.8/benchmark.rb:308:in realtime' activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:inms'
actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in render' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:incleanup_view_runtime'
activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:inrender'
actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in default_render' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:5:insend_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:inprocess_action'
actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:491:in_run__2060901452__process_action__94103641__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in send' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:insend'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:inprocess_action'
actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:inprocess_action'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
activesupport (3.2.13) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:inprocess_action'
actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:inprocess_action'
actionpack (3.2.13) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:inprocess'
actionpack (3.2.13) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:indispatch'
actionpack (3.2.13) lib/action_controller/metal.rb:246:in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:incall'
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:incall'
journey (1.0.4) lib/journey/router.rb:68:in call' journey (1.0.4) lib/journey/router.rb:56:ineach'
journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:incall'
rack-openid (1.4.1) lib/rack/openid.rb:99:in call' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:incall'
rack (1.4.5) lib/rack/etag.rb:23:in call' rack (1.4.5) lib/rack/conditionalget.rb:25:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in call' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:incontext'
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in call' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:incall'
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in call' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in_run__76279221__call__4__callbacks'
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in send' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback'
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:insend'
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.13) lib/rails/rack/logger.rb:32:incall_app'
railties (3.2.13) lib/rails/rack/logger.rb:16:in call' activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:intagged'
railties (3.2.13) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:incall'
rack (1.4.5) lib/rack/methodoverride.rb:21:in call' rack (1.4.5) lib/rack/runtime.rb:17:incall'
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.5) lib/rack/lock.rb:15:incall'
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in call' rack-cache (1.2) lib/rack/cache/context.rb:136:inforward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in fetch' rack-cache (1.2) lib/rack/cache/context.rb:185:inlookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in call!' rack-cache (1.2) lib/rack/cache/context.rb:51:incall'
railties (3.2.13) lib/rails/engine.rb:479:in call' railties (3.2.13) lib/rails/application.rb:223:incall'
railties (3.2.13) lib/rails/railtie/configurable.rb:30:in send' railties (3.2.13) lib/rails/railtie/configurable.rb:30:inmethod_missing'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:in process_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:inaccept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:in main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:206:instart_request_handler'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:171:in send' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:171:inhandle_spawn_application'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:in safe_fork' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:166:inhandle_spawn_application'
/usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in __send__' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in server_main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:instart_synchronously' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in start'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/application_spawner.rb:129:instart' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:253:in spawn_rack_application'
/usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:132:inlookup_or_add' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:246:in spawn_rack_application'
/usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:82:insynchronize' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in synchronize'
/usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:244:inspawn_rack_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:137:in spawn_application'
/usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:275:inhandle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in send'
/usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:inserver_main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in start_synchronously'
/usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99

@cashweaver-zz
Copy link

If you're still experiencing this problem, try the steps I describe in my issue. I had the exact error you did and was able to fix it.

#34.

@nutso
Copy link
Owner

nutso commented Mar 1, 2014

@Kikisss, can you verify you are using the most recent version of the plugin? I cannot find any references to periodictask in the codebase. If you continue to have trouble, please open a new issue for separate tracking.

@DeusExVerbum, thanks for contributing the solution re: backwards Rails compatibility. Hopefully that's the last place where I used that syntax.

@staticn0de, please pull the most recent version and re-open this issue if this did not fix your problem.

@nutso nutso closed this as completed Mar 1, 2014
@nutso nutso added this to the v1.3.0 milestone Jun 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants