zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #02979
Re: zim 0.61 indexing problems?
This is in fact the same bug as reported in this mail:
https://lists.launchpad.net/zim-wiki/msg02955.html
Submitted a patch earlier today, see revision 731 - will be fixed in
release 0.61.
Regards,
Jaap
On Fri, Sep 26, 2014 at 2:09 PM, mario@tiscali <mbezzi@xxxxxxxxxx> wrote:
> Hello, am I the only one experiencing this? When creating a new subpage
> everything works fine, and the new page appears in the index pane (even
> though its name is shown in italic style). Problem is that moving to
> another existing page the newly created one disappears from the index pane.
> Using "Jump to" or the back button I can get back to the newly created
> page. Performing an Index Update fixes the problem and shows the new page
> as all the others.
>
> I ran zim with the debug option and I got strange errors - bunch of them
> during the startup ( I think during initial indexing phase) - I believe one
> set like the following for each existing page:
>
> ------------------------------------------------------------
> ------------------------------------------------------------
> -----------------------
> ERROR: Got an exception while indexing "<IndexPath: A Wiki
> Desktop:L1Document:L2Document:L3Document:notes>":
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/zim/index.py", line 723, in
> _do_update
> self._index_page(path, page)
> File "/usr/lib/python2.6/site-packages/zim/index.py", line 828, in
> _index_page
> for type, href, _ in page.get_links():
> File "/usr/lib/python2.6/site-packages/zim/notebook.py", line 2546, in
> get_links
> for elt in tree.findall(zim.formats.LINK):
> File "/usr/lib/python2.6/site-packages/zim/formats/__init__.py", line
> 523, in findall
> for elt in self._etree.iter(tag):
> AttributeError: ElementTree instance has no attribute 'iter'
> ------------------------------------------------------------
> ------------------------------------------------------------
> -----------------------
>
> While this is what debug says when I create the new page:
>
> ------------------------------------------------------------
> ------------------------------------------------------------
> -----------------------
> DEBUG: Action: new_sub_page
> DEBUG: Opening dialog "New Sub Page - Zim"
> DEBUG: Dialog response OK
> INFO: Loading template from: <UnixFile: /usr/share/zim/templates/wiki/
> Default.txt>
> INFO: Open page: <FileStorePage: A Wiki Desktop:Test> (<FileStorePage: A
> Wiki Desktop:Test>)
> DEBUG: Saving page: <FileStorePage: A Wiki Desktop:Test>
> DEBUG: Wrote <UnixFile: /home/mario_bezzi/Documents/
> Wikis/A_Wiki_Desktop/Test.txt>
> ERROR: Exception in signal handler for stored-page on
> <zim.notebook.Notebook object at 0x2747dd0>
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/zim/signals.py", line 244, in
> call_handlers
> r = callback(obj, *myargs)
> File "/usr/lib/python2.6/site-packages/zim/index.py", line 517, in
> on_page_updated
> self._index_page(indexpath, page)
> File "/usr/lib/python2.6/site-packages/zim/index.py", line 828, in
> _index_page
> for type, href, _ in page.get_links():
> File "/usr/lib/python2.6/site-packages/zim/notebook.py", line 2546, in
> get_links
> for elt in tree.findall(zim.formats.LINK):
> File "/usr/lib/python2.6/site-packages/zim/formats/__init__.py", line
> 523, in findall
> for elt in self._etree.iter(tag):
> AttributeError: ElementTree instance has no attribute 'iter'
> DEBUG: Closed dialog "New Sub Page"
> ------------------------------------------------------------
> ------------------------------------------------------------
> -----------------------
>
> This is running zim 0.61 under RHEL 6.5 and python 2.6.6
>
> Anybody else seeing anything similar? Should I file a bug report for this?
>
> Thanks in advance
> mario
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References