On Wed, 13 Jan 2010, Raphael Hertzog wrote: > Confirmed for the task list here, on the terminal I get this if I don't have > any task... > Traceback (most recent call last): > File "/usr/lib/pymodules/python2.5/zim/plugins/tasklist.py", line 74, in > show_task_list > dialog = TaskListDialog.unique(self, plugin=self) > File "/usr/lib/pymodules/python2.5/zim/gui/widgets.py", line 426, in unique > dialog = klass(*args, **opts) > File "/usr/lib/pymodules/python2.5/zim/plugins/tasklist.py", line 134, in > __init__ > set_statistics(self.task_list) > File "/usr/lib/pymodules/python2.5/zim/plugins/tasklist.py", line 128, in > set_statistics > total, stats = task_list.get_statistics() > File "/usr/lib/pymodules/python2.5/zim/plugins/tasklist.py", line 309, in > get_statistics > highest = max(self.prio.keys()) > ValueError: max() arg is an empty sequence > > If I add a task (type "[] my task" in a wiki page), it seems to be working but > I get a warning nevertheless: > WARNING: BUG: Checkbox outside of indent ?
I can't reproduce this anymore with version 0.45. > It would be nice if zim could fail more gracefully and say that you don't have > any task... and for the link map to say that the user has to install graphviz. The second part has been implemented in 0.45 apparently. You can't select the linkmap plugin if you don't have graphviz installed. Cheers, -- Raphaƫl Hertzog Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/ My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

