Bug#765746: zim: Attempt to invoke Task List brings up error dialog
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 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 >
Bug#765746: zim: Attempt to invoke Task List brings up error dialog
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 [GtkInterface] tearoff_menus=False toggle_on_ctrlspace=True remove_links_on_delete=True always_use_last_cursor_pos=True gtk_bell=False toggle_on_altspace=False mouse_nav_button_back=8 mouse_nav_button_forw=9 autosave_timeout=10 toolbar_style=icons_only toolbar_size=tiny [PageView] follow_on_enter=False read_only_cursor=True autolink_camelcase=False autolink_files=False autoselect=False unindent_on_backspace=False cycle_checkbox_type=True recursive_indentlist=True recursive_checklist=True auto_reformat=False copy_format=Text file_templates_folder=~/Templates [General] plugins=["calendar","diagrameditor","insertsymbol","linkmap","printtobrowser","quicknote","screenshot","spell","tasklist","inlinecalculator","linesorter","arithmetic"] [CalendarPlugin] embedded=False pane=('left_pane', 'top') granularity=Day namespace=Calendar [SpellPlugin] language= [TaskListPlugin] all_checkboxes=True tag_by_page=False deadline_by_page=False use_workweek=True labels= next_label=Next: nonactionable_tags=FIXME, TODO included_subtrees= excluded_subtrees= [InsertScreenshotPlugin] screenshot_command=import
Bug#765746: zim: Attempt to invoke Task List brings up error dialog
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, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: http://www.freexian.com/services/debian-lts.html Learn to master Debian: http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#765746: zim: Attempt to invoke Task List brings up error dialog
On 10/20/2014 11:34 AM, Raphael Hertzog wrote: Hello again, On Fri, 17 Oct 2014, Jim Wallen wrote: Dear Maintainer, When I try to bring up a Task List (from menu or from toolbar) I am presented with a "Looks like you found a bug" dialog. The Task List, of course, isn't shown. Can you start zim with "zim -D --standalone" and send the full output as attachment? I can't reproduce the problem and neither can Jaap (the upstream author). Maybe the problem can be fixed by rebuilding the index (the option is in the "Tools" menu), can you try to rebuild the index and see if the problem persists ? Cheers, Hi, Raphael! I had already re-indexed, but I did it again. It made no difference. BTW, the first time I ran the index update following the Zim version upgrade it took a long, long time to complete. I have a fairly large notebook, but the same thing happens in a small notebook. Please let me know if there are other things I can do to help pinpoint the problem. Results of tests you requested are below. I ran "zim -D --standalone from a terminal emulator. Output from Zim dialog and terminal emulator stdout, respectively, are pasted below. Zim error dialog: 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, 24) 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' Output in terminal emulator: jpw@T520i:~$ zim -D --standalone INFO: This is zim 0.62 DEBUG: Python version is sys.version_info(major=2, minor=7, micro=8, releaselevel='final', serial=0) DEBUG: Platform is posix DEBUG: Zim revision is: branch: zim-trunk revision: 738 jaap.karssenb...@gmail.com-20140930191715-hpl66psh7yudcskr date: 2014-09-30 21:17:15 +0200 DEBUG: Not running from a source dir DEBUG: Set XDG_DATA_HOME to /home/jpw/.local/share DEBUG: Set XDG_DATA_DIRS to [, /usr/local/share>, ] DEBUG: Set XDG_CONFIG_HOME to /home/jpw/.config DEBUG: Set XDG_CONFIG_DIRS to [] DEBUG: Set XDG_CACHE_HOME to /home/jpw/.cache DEBUG: Loading config from: 0x7fcec38d7d90> DEBUG: Loading config from: /home/jpw/Data/Zim/Domestic/notebook.zim DEBUG: Loading config from: /home/jpw/Data/Zim/DebianReference/notebook.zim DEBUG: Wrote /home/jpw/.config/zim/notebooks.list DEBUG: Loading config from: 0x7fcebd8d7150> DEBUG: Loading config from: /home/jpw/Data/Zim/Domestic/notebook.zim DEBUG: Loading config from: /home/jpw/Data/Zim/DebianReference/notebook.zim DEBUG: Wrote /home/jpw/.config/zim/notebooks.list DEBUG: Loading config from: 0x7fcebd8d7bd0> DEBUG: Loading config from: /home/jpw/Data/Zim/Domestic/notebook.zim DEBUG: Loading config from: /home/jpw/Data/Zim/DebianReference/notebook.zim DEBUG: Wrote /home/jpw/.config/zim/notebooks.list DEBUG: Opening dialog "Open Notebook - Zim" DEBUG: Dialog response OK DEBUG: Wrote /home/jpw/.config/zim/notebooks.list DEBUG: Closed dialog "Open Notebook" DEBUG: Wrote /home/jpw/Data/Zim/Domestic/.zim/tmp INFO: Remove file: /home/jpw/Data/Zim/Domestic/.zim/tmp DEBUG: Loading config from: /home/jpw/Data/Zim/Domestic/notebook.zim DEBUG: Cache dir: /home/jpw/.cache/zim/notebook-home_jpw_Data_Zim_Domestic DEBUG: Index database file: /home/jpw/.cache/zim/notebook-home_jpw_Data_Zim_Domestic/index.db DEBUG: Opening notebook: DEBUG: Loading config from: /home/jpw/.config/zim/preferences.conf> DEBUG: Loading plugin: arithmetic DEBUG: Loading plugin: calendar DEBUG: Loading plugin: diagrameditor DEBUG: Loading plugin: inlinecalculator DEBUG: Loading plugin: insertsymbol DEBUG: Loading plugin: linesorter DEBUG: Loading plugin: linkmap DEBUG: Loading plugin: printtobrowser DEBUG: Loading plugin: quicknote DEBUG: Loading plugin: screenshot DEBUG: Loading plugin: spell DEBUG: Loading plugin: tasklist ERROR: Exception in plugin: tasklist Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/zim/plugins/__init__.py", line 290, in _foreach func(plugin) File "/usr/lib/python2.7/dist-packages/zim/plugins/__init__.py", line 302, in self._foreach(lambda p: p.extend(obj)) File "/usr/lib/python2.7/dist-packages/zim/plugins/tasklist.py", line 128, in extend PluginClass.extend(self, obj) File "/usr/lib/python2.7/dist-packages/zim/plugins/__init__.py", line 559, in extend ext = self.extension_classes[name](self, obj) File "/usr/lib/python2.7/dist-packages/zim/plugins/tasklist.py", line 160, in __init__ self._set_preferences() File "/usr/lib/python2.7/dist-packages/zim/plugins/tasklist.py", line 183, in _set_preferences string = self.preferences
Bug#765746: zim: Attempt to invoke Task List brings up error dialog
Hello again, On Fri, 17 Oct 2014, Jim Wallen wrote: > Dear Maintainer, > > When I try to bring up a Task List (from menu or from toolbar) I am presented > with a "Looks like you found a bug" dialog. The Task List, of course, isn't > shown. Can you start zim with "zim -D --standalone" and send the full output as attachment? I can't reproduce the problem and neither can Jaap (the upstream author). Maybe the problem can be fixed by rebuilding the index (the option is in the "Tools" menu), can you try to rebuild the index and see if the problem persists ? Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: http://www.freexian.com/services/debian-lts.html Learn to master Debian: http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#765746: zim: Attempt to invoke Task List brings up error dialog
Package: zim Version: 0.62-1 Severity: normal Dear Maintainer, When I try to bring up a Task List (from menu or from toolbar) I am presented with a "Looks like you found a bug" dialog. The Task List, of course, isn't shown. The contents of the dialog box are as follows: 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, 24) 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' -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages zim depends on: ii python 2.7.8-1 ii python-gobject 3.14.0-1 ii python-gtk2 2.24.0-4 ii python-xdg 0.25-4 Versions of packages zim recommends: ii python-gtkspell 2.25.3-13 Versions of packages zim suggests: pn bzr pn ditaa ii dvipng1.14-2 pn git pn gnuplot ii graphviz 2.38.0-6 pn lilypond pn mercurial pn python-zeitgeist pn r-base ii scrot 0.8-13 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org