Great to see that you've been able to isolate the problem. Is there a stack trace in your log after you've created a new recurring action with no end date?
Reinier > -----Oorspronkelijk bericht----- > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens James Carruth > Verzonden: woensdag 23 juli 2008 20:48 > Aan: Reinier Balt > CC: [email protected] > Onderwerp: Re: [Tracks-discuss] Problems with recurring todos > > Yes, I did rake db:migrate and I even did rake db:migrate:redo a > couple times (during the course of testing). > > I did some additional testing, and I was able to get it to work some > of the time. By the way, when it works, it seems to work really well > (which is awesome). > > The times that I got errors and became unable to view the recurring > actions page were only when I selected no end date. When I gave it an > end date or told it to end after a certain number of times it worked > great. So I think I have isolated it to only have problems when I > give it no end date (or number of times to recur). > > Does anyone else have this same type of problem when you choose no end > date or is it just me? > Thanks > > James > > On 7/23/08, Reinier Balt <[EMAIL PROTECTED]> wrote: > > Interesting. The error refers to app/models/recurring_todo.rb: > > > 239:in `recurrence_pattern'. > > The comparison is done on a database field which should not be nil. > > > > > > Did you rake db:migrate? > > > > Reinier > > > > > > > > On Wed, Jul 23, 2008 at 5:53 PM, James Carruth <[EMAIL PROTECTED]> > wrote: > > > > > > I am using the latest version from git, and was excited to see that > > > recurring todos were implemented. I am able to create a recurring > > > todo, but when I click on create, it indicates it is working and > then > > > stays on the page with everything filled in. The recurring todo is > > > created and shows up in right place in Tracks (right context, etc) > > > when it is supposed to. Once I have created one recurring todo, I > am > > > unable to get to the recurring todos page. This is the error > message > > > in my production log when I try to access the recurring todos page, > > > and I am not sure what is going on. I would appreciate any help. > > > Thanks > > > > > > Processing RecurringTodosController#index (for 134.163.255.11 at > > > 2008-07-23 10:40:52) [GET] > > > Session ID: 662032819d08adbaa0045bc03e239ae9 > > > Parameters: {"action"=>"index", > > "controller"=>"recurring_todos"} > > > Rendering template within layouts/standard > > > Rendering recurring_todos/index > > > > > > > > > ActionView::TemplateError (undefined method `>' for nil:NilClass) > on > > > line #9 of recurring_todos/_recurring_todo.html.erb: > > > 6: <div class="description"> > > > 7: <span class="todo.descr"><%= > > > sanitize(recurring_todo.description) %></span> <%= > > > recurring_todo_tag_list %> > > > 8: <span class='recurrence_pattern'> > > > 9: [<%= recurrence_target(recurring_todo) %> <%= > > > recurring_todo.recurrence_pattern %> <%= > > > recurrence_time_span(recurring_todo) %>] > > > 10: </span> > > > 11: </div> > > > 12: </div> > > > > > > app/models/recurring_todo.rb:239:in > > `recurrence_pattern' > > > app/views/recurring_todos/_recurring_todo.html.erb:9:in > > > > > `_run_erb_47app47views47recurring_todos47_recurring_todo46html46erb' > > > vendor/rails/actionpack/lib/action_view/base.rb:338:in > > `send' > > > vendor/rails/actionpack/lib/action_view/base.rb:338:in > > `execute' > > > > > > vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb > :29:in > > > `send' > > > > > > vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb > :29:in > > > `render' > > > > > vendor/rails/actionpack/lib/action_view/partial_template.rb:20:in > > `render' > > > > > vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in > > > `benchmark' > > > > > vendor/rails/actionpack/lib/action_view/partial_template.rb:19:in > > `render' > > > > > vendor/rails/actionpack/lib/action_view/template.rb:22:in > > `render_template' > > > > > vendor/rails/actionpack/lib/action_view/partial_template.rb:28:in > > > `render_member' > > > > > vendor/rails/actionpack/lib/action_view/partials.rb:142:in > > > `render_partial_collection_with_known_partial_path' > > > > > vendor/rails/actionpack/lib/action_view/partials.rb:141:in > > `map' > > > > > vendor/rails/actionpack/lib/action_view/partials.rb:141:in > > > `render_partial_collection_with_known_partial_path' > > > > > vendor/rails/actionpack/lib/action_view/partials.rb:135:in > > > `render_partial_collection' > > > vendor/rails/actionpack/lib/action_view/base.rb:271:in > > `render' > > > app/views/recurring_todos/index.html.erb:8:in > > > > > `_run_erb_47app47views47recurring_todos47index46html46erb' > > > vendor/rails/actionpack/lib/action_view/base.rb:338:in > > `send' > > > vendor/rails/actionpack/lib/action_view/base.rb:338:in > > `execute' > > > > > > vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb > :29:in > > > `send' > > > > > > vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb > :29:in > > > `render' > > > > > vendor/rails/actionpack/lib/action_view/template.rb:35:in > > `render' > > > > > vendor/rails/actionpack/lib/action_view/template.rb:22:in > > `render_template' > > > vendor/rails/actionpack/lib/action_view/base.rb:245:in > > `render_file' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:1108:in > > > `render_for_file' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:841:in > > > `render_with_no_layout' > > > > > vendor/rails/actionpack/lib/action_controller/layout.rb:251:in > > > `render_without_benchmark' > > > > > vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in > > `render' > > > > > > vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:i > n > > > `realtime' > > > > > vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in > > `render' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:1157:in > > > `default_render' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:1163:in > > > `perform_action_without_filters' > > > > > vendor/rails/actionpack/lib/action_controller/filters.rb:580:in > > > `call_filters' > > > > > vendor/rails/actionpack/lib/action_controller/filters.rb:573:in > > > `perform_action_without_benchmark' > > > > > vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in > > > `perform_action_without_rescue' > > > /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' > > > > > vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in > > > `perform_action_without_rescue' > > > > > vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in > > > `perform_action_without_caching' > > > > > > vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:i > n > > > `perform_action' > > > > > > vendor/rails/activerecord/lib/active_record/connection_adapters/abstrac > t/query_cache.rb:33:in > > > `cache' > > > > > vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in > > `cache' > > > > > > vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:i > n > > > `perform_action' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:529:in > > `send' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:529:in > > > `process_without_filters' > > > > > vendor/rails/actionpack/lib/action_controller/filters.rb:569:in > > > `process_without_session_management_support' > > > > > > vendor/rails/actionpack/lib/action_controller/session_management.rb:130 > :in > > > `process' > > > > > vendor/rails/actionpack/lib/action_controller/base.rb:389:in > > `process' > > > > > vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in > > > `handle_request' > > > > > vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in > > > `dispatch' > > > > > vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in > > > `synchronize' > > > > > vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in > > > `dispatch' > > > > > vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in > > > `dispatch_cgi' > > > > > vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in > > `dispatch' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/rails.rb:76:in > > > `process' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/rails.rb:74:in > > > `synchronize' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/rails.rb:74:in > > > `process' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:159:in > > > `process_client' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:158:in > > `each' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:158:in > > > `process_client' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in > > `initialize' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in > > `new' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:285:in > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:268:in > > `initialize' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:268:in > > `new' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb:268:in > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel- > 1.1.3/lib/mongrel/configurator.rb:282:in > > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel- > 1.1.3/lib/mongrel/configurator.rb:281:in > > > `each' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel- > 1.1.3/lib/mongrel/configurator.rb:281:in > > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:128:in > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel- > 1.1.3/lib/mongrel/command.rb:212:in > > > `run' > > > > > /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/mongrel_rails:281 > > > /usr/bin/mongrel_rails:19:in `load' > > > /usr/bin/mongrel_rails:19 > > > > > > Rendering /home/james/public_html/tracks/public/500.html > > (500 Internal > > > Server Error) > > > > > > > > > > > > > > > James Carruth > > > http://www.thecarruths.org > > > http://www.edehaiti.org > > > _______________________________________________ > > > Tracks-discuss mailing list > > > [email protected] > > > > > http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss > > > _______________________________________________ Tracks-discuss mailing list [email protected] http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss
