Re: todo or not todo
Hi Terry, I noticed the presence of changes in the todo.py code, because I get now a lot of error messages: Traceback (most recent call last): File /home/dalcolmo/programs/leo/leo-editor/leo/core/leoPlugins.py, line 336, in callTagHandler result = handler(tag,keywords) File /home/dalcolmo/programs/leo/leo-editor/leo/core/leoPlugins.py, line 336, in callTagHandler result = handler(tag,keywords) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 99, in onCreate todoController(c) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 99, in onCreate todoController(c) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 393, in __init__ self.loadAllIcons() File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 393, in __init__ self.loadAllIcons() File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 494, in loadAllIcons self.loadIcons(p, clear=clear) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 494, in loadAllIcons self.loadIcons(p, clear=clear) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 543, in loadIcons if duedate today: File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 543, in loadIcons if duedate today:TypeError: can't compare datetime.date to str TypeError: can't compare datetime.date to str - Josef -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
Re: todo or not todo
For completeness, I get these error messages only when I set the check mark on the due date. btw, this is one of the most important plug-ins, though I do not use the progress features. On the other hand, I would sometimes need additional named fields, like the an action item ID, ID's of initiators etc. Any chance to add such extensible fields? - Josef -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
Re: todo or not todo
On Fri, 4 Oct 2013 06:39:44 -0700 (PDT) Josef joe...@gmx.net wrote: Hi Terry, I noticed the presence of changes in the todo.py code, because I get now a lot of error messages: I think that bug came in with the date icon, so it's 2-3 weeks old, I haven't pushed the next work date code yet. But I'll do it right now, so the fix for that bug gets out there. Cheers -Terry Traceback (most recent call last): File /home/dalcolmo/programs/leo/leo-editor/leo/core/leoPlugins.py, line 336, in callTagHandler result = handler(tag,keywords) File /home/dalcolmo/programs/leo/leo-editor/leo/core/leoPlugins.py, line 336, in callTagHandler result = handler(tag,keywords) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 99, in onCreate todoController(c) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 99, in onCreate todoController(c) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 393, in __init__ self.loadAllIcons() File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 393, in __init__ self.loadAllIcons() File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 494, in loadAllIcons self.loadIcons(p, clear=clear) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 494, in loadAllIcons self.loadIcons(p, clear=clear) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 471, in new ans = fn(self,*args, **kargs) File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 543, in loadIcons if duedate today: File /home/dalcolmo/programs/leo/leo-editor/leo/plugins/todo.py, line 543, in loadIcons if duedate today:TypeError: can't compare datetime.date to str TypeError: can't compare datetime.date to str - Josef -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
Re: todo or not todo
On Fri, 4 Oct 2013 06:48:05 -0700 (PDT) Josef joe...@gmx.net wrote: For completeness, I get these error messages only when I set the check mark on the due date. btw, this is one of the most important plug-ins, though I do not use the progress features. On the other hand, I would sometimes need additional named fields, like the an action item ID, ID's of initiators etc. Any chance to add such extensible fields? Do you think tags would cover that? Imagine tags like action:act3.2 init-by:Fred ? Cheers -Terry -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
Re: todo or not todo
On Wed, 02 Oct 2013 17:13:30 -0400 gatesphere gatesph...@gmail.com wrote: I do the same as you, re: duedate as next-work date. :-) so obviously next work date was missing and needs to be there I agree the change is valid... duedate shouldn't change. I'd suggest using next-work-date to determine the color of the calendar icon, rather than due date. Though, there should be a fallback such that if the duedate is closer in time than the next-work-date, it should use duedate for the calendar color instead. In fact, rather than suggest, I pretty much require this. Those colored calendar icons really help me prioritize what I need to do TODAY. Makes sense - icon colored by minimum of those two dates - done. Thanks for the input. Cheers -Terry Thanks for your work! --Jake -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
Re: todo or not todo
On 10/2/2013 5:32 PM, Terry Brown wrote: On Wed, 02 Oct 2013 17:13:30 -0400 gatesphere gatesph...@gmail.com wrote: I do the same as you, re: duedate as next-work date. :-) so obviously next work date was missing and needs to be there Ayup :) I agree the change is valid... duedate shouldn't change. I'd suggest using next-work-date to determine the color of the calendar icon, rather than due date. Though, there should be a fallback such that if the duedate is closer in time than the next-work-date, it should use duedate for the calendar color instead. In fact, rather than suggest, I pretty much require this. Those colored calendar icons really help me prioritize what I need to do TODAY. Makes sense - icon colored by minimum of those two dates - done. Awesome, thanks! Thanks for the input. Cheers -Terry Thanks for your work! --Jake -- You received this message because you are subscribed to the Google Groups leo-editor group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.