Patch available in revision 744.

Error is triggered because no value was set for "labels" in the preferences.

-- Jaap


On Tue, Oct 21, 2014 at 1:13 PM, Jape Person <jap...@comcast.net> wrote:

> On 10/21/2014 02:30 AM, Raphael Hertzog wrote:
>
>> Hi,
>>
>> On Mon, 20 Oct 2014, Jape Person wrote:
>>
>>> Please let me know if there are other things I can do to help pinpoint
>>> the
>>> problem. Results of tests you requested are below.
>>>
>>
>> Yes please attach ~/.config/zim/preferences.conf.
>>
>> The error messages seem to imply that the settings in [TaskListPlugin]
>> are not as expected (in particular the "labels" one might be missing). For
>> example, here's what I have:
>>
>> [TaskListPlugin]
>> all_checkboxes=True
>> tag_by_page=False
>> deadline_by_page=False
>> use_workweek=True
>> labels=FIXME, TODO
>> next_label=Next:
>> nonactionable_tags=
>> included_subtrees=
>> excluded_subtrees=
>>
>> You can try to fix those by editing the preferences of the TaskList
>> plugin... (the "configure" button in the plugin list when you select
>> the task list plugin).
>>
>> Cheers,
>>
>>
> Hello, Raphael.
>
> I've attached my preferences.conf. I'm afraid that the only difference I
> see between our [TasklistPlugin] sections is the inclusion of FIXME and
> TODO in your version.
>
> I was using only checkboxes to mark tasks, though I seem to recall having
> used TODO at some time in the past. As I remember it, there might have been
> a time when there were some temporary changes in which tags were supported.
>
> Anyway, after attaching my unchaged preferences.conf file I did try
> updating the configuration, but still got the following error dialog when
> trying to invoke the task list.
>
> This is zim 0.62
> Platform: posix
> Locale: en_US UTF-8
> FS encoding: UTF-8
> Python: (2, 7, 8, 'final', 0)
> Gtk: (2, 24, 25)
> Pygtk: (2, 24, 0)
> Zim revision is:
>   branch: zim-trunk
>   revision: 738 jaap.karssenb...@gmail.com-20140930191715-hpl66psh7yudcskr
>   date: 2014-09-30 21:17:15 +0200
>
> ======= Traceback =======
>   File "/usr/lib/python2.7/dist-packages/zim/actions.py", line 55, in func
>     self.func(instance, *arg, **kwarg)
>   File "/usr/lib/python2.7/dist-packages/zim/plugins/tasklist.py", line
> 407, in show_task_list
>     if not self.index_ext.db_initialized:
> AttributeError: 'NoneType' object has no attribute 'db_initialized'
>
> Thanks again, and please let me know if I can provide more information.
>
> Best regards,
> Jim
>

Reply via email to