Re: [Zim-wiki] [fixed] looks like you found a bug

2015-04-16 Thread Dmitrij Lisov
Is this issue somehow related with this one:
https://bugs.launchpad.net/zim/+bug/1409789 ?

2015-04-16 11:45 GMT+02:00 Hella Riede hella_ri...@gmx.de:

 Hi Andreas,

 What helped me was what I wrote below (deleting a file in zim shown as
 existing in zim even though it was not in that place in the file system
 anymore).

 b) didn't work. I tried many times before and after many complete restarts
 of zim. Next time, I would try your a).

 Thank you - I enjoy zim a lot :)
 Hella




 On 16/04/15 06:46, WEHLER Andreas wrote:

 Hi.

 Obviously the index is broken. Try:

 a) rm .zim/*# within your top level dir of your zim book
# note, this dir may also be in your cache tree (see help):
# ~/.cache/zim/...
 b) rebuild index
zim --index notebook-dir
# or, just start zim as usual and call  Tools - Update Index

 Enjoy.

   Andreas


 On 15.04.2015 19:46, Hella Riede wrote:

 Hi all,

 in my shell, I moved page by page and folder by folder out of the
 misbehaving zim subtree. It turned out that after I had moved one of those
 pages and its folder out of the zim folder, the page was still shown in zim
 (and not virtual / italic), but I could not find it in the actual folder on
 my computer in the shell. I deleted that strange real-in-zim but
 not-existing-in-shell page from within zim, moved the actually existing
 counterpart back into the zim folder by shell, and the index was behaving
 again.

 Sorry for disturbing you all - it seems Murphy wanted me to mail to all
 of just before I found a solution. Maybe it helps someone else in the same
 situation.

 Best wishes,
 Hella


 ___
 Mailing list: https://launchpad.net/~zim-wiki
 Post to : zim-wiki@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~zim-wiki
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] [fixed] looks like you found a bug

2015-04-15 Thread Hella Riede

Hi all,

in my shell, I moved page by page and folder by folder out of the misbehaving zim 
subtree. It turned out that after I had moved one of those pages and its folder out of 
the zim folder, the page was still shown in zim (and not virtual / italic), but I could 
not find it in the actual folder on my computer in the shell. I deleted that 
strange real-in-zim but not-existing-in-shell page from within zim, moved the 
actually existing counterpart back into the zim folder by shell, and the index was 
behaving again.

Sorry for disturbing you all - it seems Murphy wanted me to mail to all of just 
before I found a solution. Maybe it helps someone else in the same situation.

Best wishes,
Hella



On 15/04/15 19:34, Hella Riede wrote:

Hi all,

my zim index went a little crazy (showing large gaps, partially filled when my 
mouse hovers over them, shifting entries so they are not alphabetical anymore, 
duplicating entries, showing them in a different level of the hierarchy). 
Updating the index multiple times failed to resolve it, and then this popped up:

This is zim 0.62
Platform: posix
Locale: en_US UTF-8
FS encoding: UTF-8
Python: (2, 7, 3, 'final', 0)
Gtk: (2, 24, 10)
Pygtk: (2, 24, 0)
No bzr version-info found

=== Traceback ===
File /usr/lib/pymodules/python2.7/zim/gui/__init__.py, line 911, in 
_action_handler
  method(*arg)
File /usr/lib/pymodules/python2.7/zim/gui/__init__.py, line 1742, in 
delete_page
  self.notebook.trash_page(path, update_links, callback)
File /usr/lib/pymodules/python2.7/zim/notebook.py, line 1767, in 
trash_page
  return self._delete_page(path, update_links, callback, trash=True)
File /usr/lib/pymodules/python2.7/zim/notebook.py, line 1795, in 
_delete_page
  self.flush_page_cache(path)
File /usr/lib/pymodules/python2.7/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


I do have virtual pages (links that don't have a page yet). Up to now, that was 
not a problem, however.

Ideas?

Best wishes,
Hella



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] [fixed] looks like you found a bug

2015-04-15 Thread WEHLER Andreas
Hi.

Obviously the index is broken. Try:

   a) rm .zim/*# within your top level dir of your zim book
  # note, this dir may also be in your cache tree (see help):
  # ~/.cache/zim/...
   b) rebuild index
  zim --index notebook-dir
  # or, just start zim as usual and call  Tools - Update Index

Enjoy.

 Andreas


On 15.04.2015 19:46, Hella Riede wrote:
 Hi all,

 in my shell, I moved page by page and folder by folder out of the misbehaving 
 zim subtree. It turned out that after I had moved one of those pages and its 
 folder out of the zim folder, the page was still shown in zim (and not 
 virtual / italic), but I could not find it in the actual folder on my 
 computer in the shell. I deleted that strange real-in-zim but 
 not-existing-in-shell page from within zim, moved the actually existing 
 counterpart back into the zim folder by shell, and the index was behaving 
 again.

 Sorry for disturbing you all - it seems Murphy wanted me to mail to all of 
 just before I found a solution. Maybe it helps someone else in the same 
 situation.

 Best wishes,
 Hella



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp