Zim

Can not delete page

Bug #1492154 reported by Alex
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Zim
Confirmed
Undecided
Unassigned

Bug Description

When I tried to delete a page I've got this message:

This is zim 0.63
Platform: posix
Locale: en_NZ UTF-8
FS encoding: UTF-8
Python: (2, 7, 6, 'final', 0)
Gtk: (2, 24, 23)
Pygtk: (2, 24, 0)
Zim revision is:
  branch: zim-trunk
  revision: 765 <email address hidden>
  date: 2015-06-13 21:48:28 +0200

======= Traceback =======
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 913, in _action_handler
    method(*arg)
  File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 1744, 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
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Cannot reproduce however this part of the code is under redesign, so probably solved next release

Changed in zim:
status: New → Incomplete
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

See duplicate for instructions how to reproduce

Changed in zim:
status: Incomplete → Confirmed
tags: added: 2min
Revision history for this message
Gianfranco Cecconi (giacecco) wrote :

Same problem here. You edit a page, try delete it before saving, and get:

This is zim 0.65
Platform: posix
Locale: en_GB 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-trunk
  revision: 805 <email address hidden>
  date: 2015-11-01 15:42:45 +0100

======= Traceback =======
  File "/usr/lib/python2.7/site-packages/zim/gui/__init__.py", line 885, in _action_handler
    method(*arg)
  File "/usr/lib/python2.7/site-packages/zim/gui/__init__.py", line 1716, in delete_page
    self.notebook.trash_page(path, update_links, callback)
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1767, in trash_page
    return self._delete_page(path, update_links, callback, trash=True)
  File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1795, in _delete_page
    self.flush_page_cache(path)
  File "/usr/lib/python2.7/site-packages/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

Revision history for this message
Garrett Robinson (garrettr) wrote :

I have the same issue on zim 0.65.

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.