I had renamed one of the parent page something like this:
Ideas --> 10_Ideas
This page had many children. A few days later I noticed that apart from the "10_Ideas" page, the old "Ideas" page was also present. All the children of this "Ideas" page were also visible but greyed out. There was no content however on this page. I checked my the folder where this notebook was. There was no such page as "Ideas" in this folder. I tried updating the index but nada.
Then, I tried deleting this ghost page "Ideas" and this is the error it showed:
======= Traceback =======
File "/usr/local/lib/python2.7/dist-packages/zim/gui/widgets.py", line 3077, in do_response
destroy = self.do_response_ok()
File "/usr/local/lib/python2.7/dist-packages/zim/gui/__init__.py", line 3266, in do_response_ok
lines = self.page.dump(format)
File "/usr/local/lib/python2.7/dist-packages/zim/notebook.py", line 2507, in dump
tree = self.get_parsetree()
File "/usr/local/lib/python2.7/dist-packages/zim/notebook.py", line 2409, in get_parsetree
assert self.valid, 'BUG: page object became invalid'
AssertionError: BUG: page object became invalid
This bug is appearing on one of my Zim notebooks.
I had renamed one of the parent page something like this:
Ideas --> 10_Ideas
This page had many children. A few days later I noticed that apart from the "10_Ideas" page, the old "Ideas" page was also present. All the children of this "Ideas" page were also visible but greyed out. There was no content however on this page. I checked my the folder where this notebook was. There was no such page as "Ideas" in this folder. I tried updating the index but nada.
Then, I tried deleting this ghost page "Ideas" and this is the error it showed:
This is zim 0.62
Platform: posix
Locale: en_IN ISO8859-1
FS encoding: UTF-8
Python: (2, 7, 4, 'final', 0)
Gtk: (2, 24, 17)
Pygtk: (2, 24, 0)
Zim revision is:
branch: zim-trunk
revision: 738 <email address hidden>
date: 2014-09-30 21:17:15 +0200
======= Traceback ======= lib/python2. 7/dist- packages/ zim/gui/ widgets. py", line 3077, in do_response response_ ok() lib/python2. 7/dist- packages/ zim/gui/ __init_ _.py", line 3266, in do_response_ok dump(format) lib/python2. 7/dist- packages/ zim/notebook. py", line 2507, in dump parsetree( ) lib/python2. 7/dist- packages/ zim/notebook. py", line 2409, in get_parsetree
File "/usr/local/
destroy = self.do_
File "/usr/local/
lines = self.page.
File "/usr/local/
tree = self.get_
File "/usr/local/
assert self.valid, 'BUG: page object became invalid'
AssertionError: BUG: page object became invalid