Zim

Comment 0 for bug 1743993

Revision history for this message
Alessandro Pocaterra (alepoc69) wrote :

I had a page "aaa" and a subpage "supervisor and ndscheduler". I removed the heading inside the body.

I wanted to rename it as "install supervisor and ndscheduler".

It gave me an error (alas I don't remember it, but it said something a not valid name). After the error I had the possibility to change to another title but strangely enough the proposed title was "install supervisor and ndscheduler s" (not the extra blank+"s" at the end).

I exited without changing and the page content was gone. Not I have a "supervisor and ndscheduler" (the original name) with a heading only, as the page was created from the scratch.

If I want to rename it to "install supervisor and scheduler" and rewrite the content it gives me the error "Page already exists".

So the page "install supervisor and scheduler" is somewhere but not visible in the index, nor through search.

I also got this error:

This is zim 0.65
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 12, '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/dist-packages/zim/gui/__init__.py", line 885, in _action_handler
    method(*arg)
  File "/usr/lib/python2.7/dist-packages/zim/gui/__init__.py", line 1716, in delete_page
    self.notebook.trash_page(path, update_links, callback)
  File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1767, in trash_page
    return self._delete_page(path, update_links, callback, trash=True)
  File "/usr/lib/python2.7/dist-packages/zim/notebook.py", line 1795, in _delete_page
    self.flush_page_cache(path)
  File "/usr/lib/python2.7/dist-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