Zim

Open in new window - AssertionError: Can not get a file for the toplevel namespace

Bug #1231557 reported by Enkouyami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Undecided
Unassigned

Bug Description

If you make a new notebook and right click on the index side pane while nothing is selected and click "Open in new window", you will get an AssertionError: Can not get a file for the toplevel namespace.

This is zim 0.59
Python version is sys.version_info(major=2, minor=7, micro=4, releaselevel='final', serial=0)
Gtk version is (2, 24, 17)
Pygtk version is (2, 24, 0)
Platform is posix
Zim revision is:
  branch: pyzim-trunk
  revision: 636 <email address hidden>
  date: 2013-01-23 22:07:40 +0100

======= Traceback =======
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 799, in _action_handler
    method(*arg)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 1462, in open_new_window
    PageWindow(self, page).show_all()
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 2942, in __init__
    page = ui.notebook.get_page(page)
  File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1263, in get_page
    page = store.get_page(path)
  File "/usr/lib/python2.7/dist-packages/zim/stores/files.py", line 73, in get_page
    file = self._get_file(path)
  File "/usr/lib/python2.7/dist-packages/zim/stores/files.py", line 55, in _get_file
    assert path != self.namespace, 'Can not get a file for the toplevel namespace'
AssertionError: Can not get a file for the toplevel namespace

Tags: 2min
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fix menu outside list area

tags: added: 2min
Changed in zim:
status: New → Confirmed
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.