Zim

Comment 6 for bug 1178604

Revision history for this message
Shivam Sharma (shivams-cool) wrote : Re: [Bug 1178604] Re: Duplicate notes on changing the case of note title

This sounds like a very creepy bug. We never know when it may appear.

I'll try to find out the conditions when the bug appears, though the bug
has appeared only once in my case.

I think this bug is a high priority bug. I shudder to think what it may do
when I rename a note with a deep hierarchy of sub-notes in it.
On Jul 15, 2013 9:45 PM, "K. Bauer" <email address hidden> wrote:

> Also, updating the index does NOT help. Rather, pages for which neither
> file nor attachment folder exist, reappear after deleting index.db and
> doing an "update index" even if they have no backlinks.
>
> It is especially bad, when the page renamed has many subpages, as it
> gets one hell to fix broken links.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1178604
>
> Title:
> Duplicate notes on changing the case of note title
>
> Status in Zim desktop wiki:
> New
>
> Bug description:
> I had a note inside my zim notebook named "Journal". It had several
> sub-notes inside it.
>
> I then changed the name of the note to "JOURNAL". After a few days
> when I opened my notebook and was adding a sub-note into that note, I
> noticed that there were two notes now: "Journal" and "JOURNAL". I
> tried to delete "Journal" note. But then it showed some error and
> voila!!
>
> The "Journal" could not be deleted. All my subnotes in both the notes
> were erased!! I mean they existed but all that was written inside them
> was gone. Only the titles of the subnotes were remaining.
>
> Fortunately, I had dropbox backup. Still this would be something you
> might be interested in.
>
> ==Details==
> OS : Linux Mint 14 (Nadia) (Ubuntu based OS)
> Zim version : 0.57
>
> ==Error log==
>
> This is zim 0.57
> Python version is sys.version_info(major=2, minor=7, micro=3,
> releaselevel='final', serial=0)
> Gtk version is (2, 24, 13)
> Pygtk version is (2, 24, 0)
> Platform is posix
> Zim revision is:
> branch: pyzim-trunk
> revision: 600
> <email address hidden>
> date: 2012-10-08 21:17:51 +0200
>
> ======= Traceback =======
> File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 797, in
> _action_handler
> method(*arg)
> File "/usr/lib/pymodules/python2.7/zim/gui/__init__.py", line 1678, in
> delete_page
> self.notebook.trash_page(path, update_links, callback)
> File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 1700, in
> trash_page
> return self._delete_page(path, update_links, callback, trash=True)
> File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 1741, in
> _delete_page
> self.store_page(page)
> File "/usr/lib/pymodules/python2.7/zim/notebook.py", line 1352, in
> store_page
> store.store_page(page)
> File "/usr/lib/pymodules/python2.7/zim/stores/files.py", line 104, in
> store_page
> page._store()
> File "/usr/lib/pymodules/python2.7/zim/stores/files.py", line 304, in
> _store
> lines = self._dump()
> File "/usr/lib/pymodules/python2.7/zim/stores/files.py", line 345, in
> _dump
> raise AssertionError, 'BUG: Can not store a page without content'
> AssertionError: BUG: Can not store a page without content
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zim/+bug/1178604/+subscriptions
>