Duplicate notes on changing the case of note title
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Won't Fix
|
Medium
|
Unassigned |
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_
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/
method(*arg)
File "/usr/lib/
self.
File "/usr/lib/
return self._delete_
File "/usr/lib/
self.
File "/usr/lib/
store.
File "/usr/lib/
page._store()
File "/usr/lib/
lines = self._dump()
File "/usr/lib/
raise AssertionError, 'BUG: Can not store a page without content'
AssertionError: BUG: Can not store a page without content
Will have a look at the error. I think what happened is that both
entries in the index pointed to the same page. So index out of sync
rather than really having 2 pages. Probably running "update index"
would have fixed it.
I assume the deleted content could also be restored from your desktop's thrash ?
Regards,
Jaap
On Fri, May 10, 2013 at 12:08 PM, Shivam Sharma <email address hidden> wrote: info(major= 2, minor=7, micro=3, releaselevel= 'final' , serial=0) pymodules/ python2. 7/zim/gui/ __init_ _.py", line 797, in _action_handler pymodules/ python2. 7/zim/gui/ __init_ _.py", line 1678, in delete_page trash_page( path, update_links, callback) pymodules/ python2. 7/zim/notebook. py", line 1700, in trash_page page(path, update_links, callback, trash=True) pymodules/ python2. 7/zim/notebook. py", line 1741, in _delete_page page(page) pymodules/ python2. 7/zim/notebook. py", line 1352, in store_page page(page) pymodules/ python2. 7/zim/stores/ files.py" , line 104, in store_page pymodules/ python2. 7/zim/stores/ files.py" , line 304, in _store pymodules/ python2. 7/zim/stores/ files.py" , line 345, in _dump /bugs.launchpad .net/bugs/ 1178604 /bugs.launchpad .net/zim/ +bug/1178604/ +subscriptions
> Public bug reported:
>
> 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_
> 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/
> method(*arg)
> File "/usr/lib/
> self.notebook.
> File "/usr/lib/
> return self._delete_
> File "/usr/lib/
> self.store_
> File "/usr/lib/
> store.store_
> File "/usr/lib/
> page._store()
> File "/usr/lib/
> lines = self._dump()
> File "/usr/lib/
> raise AssertionError, 'BUG: Can not store a page without content'
> AssertionError: BUG: Can not store a page without content
>
> ** Affects: zim
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Zim.
> https:/
>
> Title:
> Duplicate notes on changing the case of note title
>
> To manage notifications about this bug go to:
> https:/