Zim

Zim 0.66 throws error when started with side-pane disabled

Bug #1695630 reported by Shivam Sharma
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

I like to keep my side-pane disabled using "F9" key. In the new Zim version, whenever I am starting Zim with side-pane disabled, it throws some error. However, it starts fine after that. So, it doesn't seem a critical bug. However, I can confirm this bug because I tried this in a virtual machine with two different Zim versions: 0.60 and 0.66. The bug appears in the latter.

Error reported is this:

This is zim 0.66
Platform: posix
Locale: en_GB UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
No bzr version-info found

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/actions.py", line 240, in do_activate
    self.__get__(instance, instance.__class__)()
  File "/usr/lib/python2.7/dist-packages/zim/actions.py", line 211, in func
    self.func(instance, active)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 2088, in toggle_panes
    Window.save_uistate(self)
  File "/usr/lib/python2.7/dist-packages/zim/gui/widgets.py", line 2728, in save_uistate
    self.uistate[key] = self.get_pane_state(key)
  File "/usr/lib/python2.7/dist-packages/zim/config/dicts.py", line 542, in __setitem__
    raise KeyError('Config key "%s" has not been defined' % k)
KeyError: 'Config key "right_pane" has not been defined'

Tags: 0.66
tags: added: 0.66
Revision history for this message
eric (ehremington) wrote :

This is the same as #1692722. I could not figure out what was causing the bug, but I'm glad you found it. Seems that a fix has been committed per the comment on my report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.