minhajuddin/taskr — Issue #4: Taskr doesn't like empty tasks
Author: sarvin
Created: 2012-01-04 17:57:19+00:00
State: open

taskr allows you to create a task with no description but fails when reading it back out.

ex.
~/ > taskr -a

~ > taskr
/Users/sarvin/bin/taskr-code/lib/taskr/task.rb:57:in `priority_text': undefined method `match' for nil:NilClass (NoMethodError)
from /Users/sarvin/bin/taskr-code/lib/taskr/task.rb:41:in `priority'
from /Users/sarvin/bin/taskr-code/lib/taskr/task_list.rb:5:in `initialize'
from /usr/local/bin/t:9:in `sort_by'
from /Users/sarvin/bin/taskr-code/lib/taskr/task_list.rb:5:in `each'
from /Users/sarvin/bin/taskr-code/lib/taskr/task_list.rb:5:in `sort_by'
from /Users/sarvin/bin/taskr-code/lib/taskr/task_list.rb:5:in `initialize'
from /Users/sarvin/bin/taskr-code/lib/taskr/runner.rb:5:in `new'
from /Users/sarvin/bin/taskr-code/lib/taskr/runner.rb:5:in `execute'
from /usr/local/bin/t:18

~ > cat .taskr/tasks.taskr
20120104114556 purchasing reports through new interface :today
20120104115541

You have to manually edit the tasks.taskr file and remove the bad task.