Zim

deleting a page after deleting content

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

Bug Description

I just wanted to delete a page via context menu, and I received the following bug message. May be it had to do with the fact that I had deleted some content of the page previous to the delete command.

On the second attempt the page was deleted without message.

== BUG MESSAGE:

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