Zim

Crash on deleting page

Bug #1583599 reported by LOVEJesus
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned

Bug Description

I just tried to delete a page in the 'Index' tree by using the context menu 'Delete Page' and the crash-message shown below popped up.
Extra information: Just before deleting I had changed the title of the page.

- Zim's Error Report:

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

======= Traceback =======
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 885, in _action_handler
    method(*arg)
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 1716, in delete_page
    self.notebook.trash_page(path, update_links, callback)
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 1767, in trash_page
    return self._delete_page(path, update_links, callback, trash=True)
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 1795, in _delete_page
    self.flush_page_cache(path)
  File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 1395, in flush_page_cache
    assert not page.modified, 'BUG: Flushing page with unsaved changes'
AssertionError: BUG: Flushing page with unsaved changes

Tags: delete page
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Should be fixed in latest version

Changed in zim:
status: New → Fix Released
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.