Zim

Comment 2 for bug 1178604

Revision history for this message
K. Bauer (k.bauer) wrote :

I am observing a similiar bug on Windows 7 64bit.

Renaming fails, then there is an extra entry. In my case the renaming changed the text, not just the case of the characters, which is important on Windows (where NTFS supports case sensitive file names but not all APIs).

After the error is raised, backlinks still link to the original page name and accessing that page raises the same error again. Renaming the page to the old name and trying again fixes the problem.

The bug appears randomly every few pages that I rename.

I observed similiar problems in an older version, but there I credited them to file locks on files inside the attachment folder of the renamed page, making renaming of the folder fail. While the cause is probably unrelated, that too broke backlinks.

-------------------------------------------

This is zim 0.60
Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
Gtk version is (2, 24, 10)
Pygtk version is (2, 24, 0)
Platform is nt
Zim revision is:
  branch: pyzim
  revision: 672 <email address hidden>
  date: 2013-04-30 19:27:20 +0200

======= Traceback =======
  File "zim\gui\__init__.pyo", line 1674, in _wrap_move_page
  File "zim\gui\__init__.pyo", line 1647, in <lambda>
  File "zim\notebook.pyo", line 1648, in rename_page
  File "zim\notebook.pyo", line 1526, in move_page
  File "zim\notebook.pyo", line 1343, in store_page
  File "zim\stores\files.pyo", line 104, in store_page
  File "zim\stores\files.pyo", line 304, in _store
  File "zim\stores\files.pyo", line 345, in _dump
AssertionError: BUG: Can not store a page without content