James Royal-Lawson
2012-06-19 09:55:36 UTC
Hi again everyone,
I'm almost up and running with my upgraded Tracks 2.1
I can log in, I can access a fair few pages (preferences, manage users,
tickler, statistics, feeds, repeating to-dos)
I've also managed to update my preferences.
I can't though view "home", "projects", "calendar" or add/edit a todo. All
of those result in a server 500 error.
Here is what is in the production.log after i've clicked on "home"... (it's
the same "ActionView::TemplateError (undefined method `rendered_notes'
for..." error in all of these cases...)
Processing TodosController#index (for 194.71.123.2 at 2012-06-19 11:52:46)
[GET]
Rendering template within layouts/standard
Rendering todos/index
ActionView::TemplateError (undefined method `rendered_notes' for
#<Todo:0x7f0b0712e418>) on line #36 of app/views/todos/_todo.html.erb:
33: <%= tag_list(todo) %>
34: <%= deferred_due_date(todo) %>
35: <%= project_and_context_links( todo, parent_container_type,
:suppress_context => suppress_context, :suppress_project =>
suppress_project )
%>
36: <%= collapsed_notes_image(todo) unless todo.notes.blank? %>
37: <%= collapsed_successors_image(todo) if
todo.has_pending_successors %>
38: </div>
39: </div>
app/helpers/todos_helper.rb:68
app/helpers/todos_helper.rb:68:in `collapsed_notes_image'
app/views/todos/_todo.html.erb:36
app/views/contexts/_context.rhtml:18:in
`_run_rhtml_app47views47contexts47_context46rhtml_locals_collapsible_context_context_counter_object'
app/views/todos/index.html.erb:9
app/controllers/todos_controller.rb:1205
app/controllers/todos_controller.rb:26:in `index'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:96:in
`process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:513:in
`accept_and_process_next_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:274:in
`main_loop'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:321:in
`start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in
`send'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:479:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:270:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:180:in `start'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:149:in
`start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:219:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:132:in
`lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:214:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:82:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:213:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:132:in
`spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:275:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
/usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99
Rendering /var/tracks/public/500.html (500 Internal Server Error)
Any ideas?
/James
I'm almost up and running with my upgraded Tracks 2.1
I can log in, I can access a fair few pages (preferences, manage users,
tickler, statistics, feeds, repeating to-dos)
I've also managed to update my preferences.
I can't though view "home", "projects", "calendar" or add/edit a todo. All
of those result in a server 500 error.
Here is what is in the production.log after i've clicked on "home"... (it's
the same "ActionView::TemplateError (undefined method `rendered_notes'
for..." error in all of these cases...)
Processing TodosController#index (for 194.71.123.2 at 2012-06-19 11:52:46)
[GET]
Rendering template within layouts/standard
Rendering todos/index
ActionView::TemplateError (undefined method `rendered_notes' for
#<Todo:0x7f0b0712e418>) on line #36 of app/views/todos/_todo.html.erb:
33: <%= tag_list(todo) %>
34: <%= deferred_due_date(todo) %>
35: <%= project_and_context_links( todo, parent_container_type,
:suppress_context => suppress_context, :suppress_project =>
suppress_project )
%>
36: <%= collapsed_notes_image(todo) unless todo.notes.blank? %>
37: <%= collapsed_successors_image(todo) if
todo.has_pending_successors %>
38: </div>
39: </div>
app/helpers/todos_helper.rb:68
app/helpers/todos_helper.rb:68:in `collapsed_notes_image'
app/views/todos/_todo.html.erb:36
app/views/contexts/_context.rhtml:18:in
`_run_rhtml_app47views47contexts47_context46rhtml_locals_collapsible_context_context_counter_object'
app/views/todos/index.html.erb:9
app/controllers/todos_controller.rb:1205
app/controllers/todos_controller.rb:26:in `index'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:96:in
`process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:513:in
`accept_and_process_next_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:274:in
`main_loop'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:321:in
`start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in
`send'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:275:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:479:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:270:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:180:in `start'
/usr/lib/ruby/1.8/phusion_passenger/classic_rails/application_spawner.rb:149:in
`start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:219:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:132:in
`lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:214:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:82:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:213:in
`spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:132:in
`spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:275:in
`handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:357:in
`server_main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:206:in
`start_synchronously'
/usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99
Rendering /var/tracks/public/500.html (500 Internal Server Error)
Any ideas?
/James
--
James Royal-Lawson
Beantin webbkommunikation
www.beantin.se | @beantin <http://twitter.com/beantin>
+46 73 593 16 54 | james-GeLqa/xcZMDLoDKTGw+***@public.gmane.org
James Royal-Lawson
Beantin webbkommunikation
www.beantin.se | @beantin <http://twitter.com/beantin>
+46 73 593 16 54 | james-GeLqa/xcZMDLoDKTGw+***@public.gmane.org