Zim

Error dialog about missing config key "top_pane" at every startup

Bug #1565571 reported by David Gowers
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Committed
Medium
Unassigned

Bug Description

Each time zim starts up, it shows an error dialog. Once the dialog is closed, zim appears to work normally.
The error seems to be about a missing config variable.

Revision 825 is not the first that this happens with. I've repeatedly updated in the course of.. approximately the last month.. in the hope that this bug will go away.

No manual editing of config file was involved.

Contents of the error dialog:

This is zim 0.65
Platform: posix
Locale: en_AU UTF-8
FS encoding: UTF-8
Python: (2, 7, 11, 'final', 0)
Gtk: (2, 24, 30)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim
  revision: 825 <email address hidden>
  date: 2016-02-22 21:24:57 +0100

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

Changed in zim:
status: New → Confirmed
importance: Undecided → Medium
Changed in zim:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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