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 [<Dir: /usr/share/xfce4>, <Dir: /usr/local/share>, <Dir: /usr/share>]
DEBUG: Set XDG_CONFIG_HOME to /home/jpw/.config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: /etc/xdg>]
DEBUG: Set XDG_CACHE_HOME to /home/jpw/.cache
DEBUG: Loading config from: <zim.notebook.VirtualFile object at 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: <zim.notebook.VirtualFile object at 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: <zim.notebook.VirtualFile object at 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: <zim.notebook.Notebook object at 0x7fcebdf8df10>
DEBUG: Loading config from: <ConfigFile: /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 <lambda>
    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['labels'].strip(' ,')
AttributeError: 'NoneType' object has no attribute 'strip'
DEBUG: Gtk version is (2, 24, 24)
DEBUG: Pygtk version is (2, 24, 0)
WARNING: Could not find all icon sizes for the application icon
DEBUG: Loading config from: <ConfigFile: /home/jpw/.config/zim/style.conf>
DEBUG: Loading config from: /home/jpw/.cache/zim/notebook-home_jpw_Data_Zim_Domestic/state.conf
INFO: Starting async index update
DEBUG: Accelmap: /home/jpw/.config/zim/accelmap
INFO: Accelerator changed for <Actions>/MainWindowExtension/calculate
INFO: Accelerator changed for <Actions>/MainWindowExtensionDialog/go_page_today DEBUG: Registered plugin <zim.plugins.base.imagegenerator.DiagramMainWindowExtension object at 0x7fcebc025f90> for image type "diagram"
INFO: Accelerator changed for <Actions>/MainWindowExtension/print_to_browser
INFO: Accelerator changed for <Actions>/MainWindowExtension/toggle_spellcheck WARNING: Invalid config value for toggle_panes: "['left_pane']" - Unknown pane names in: ['left_pane']
DEBUG: Action: toggle_panes
DEBUG: Action: set_toolbar_icons_only
DEBUG: Wrote /home/jpw/.config/zim/preferences.conf
DEBUG: Wrote /home/jpw/.config/zim/preferences.conf
DEBUG: Action: set_toolbar_icons_tiny
DEBUG: Wrote /home/jpw/.config/zim/preferences.conf
DEBUG: Wrote /home/jpw/.config/zim/preferences.conf
INFO: Open page: <FileStorePage: Calendar:2014:10:20> (<HistoryPath: Calendar:2014:10:20>)
INFO: Accelerator changed for <Actions>/MainWindowExtension/show_quick_note
INFO: Accelerator changed for <Actions>/MainWindowExtension/sort_selected_lines INFO: Accelerator changed for <Actions>/MainWindowExtensionDialog/show_calendar
INFO: Accelerator changed for <Actions>/MainWindowExtension/show_linkmap
INFO: Accelerator changed for <Actions>/MainWindowExtension/show_task_list
INFO: Accelerator changed for <Actions>/DiagramMainWindowExtension/insert_diagram
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_symbol
INFO: Accelerator changed for <Actions>/MainWindowExtension/insert_screenshot
INFO: Accelerator changed for <Actions>/MainWindowExtension/eval_math
INFO: Index update done
DEBUG: Action: show_task_list
ERROR: Exception during action: show_task_list
Traceback (most recent call last):
  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'
DEBUG: Running ErrorDialog
DEBUG: Action: close (delete-event)
DEBUG: Wrote /home/jpw/.cache/zim/notebook-home_jpw_Data_Zim_Domestic/state.conf
jpw@T520i:~$


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to