zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #03449
Re: 0.63, some pages do not show up in index.
-
To:
zim-wiki@xxxxxxxxxxxxxxxxxxx
-
From:
Gordon Zano <gordon.zano@xxxxxxxxx>
-
Date:
Tue, 16 Jun 2015 11:21:28 +0800
-
In-reply-to:
<CANVkxvoXDO8dp2_k=bp4Yu=2bz34xvqDpU+J93izxgKQkfvuMg@mail.gmail.com>
-
User-agent:
KMail/4.11.5 (Linux/3.11.10-25-desktop; KDE/4.11.5; x86_64; ; )
It may be worth deleting your local index cache.
On linux:
Delete the ~/.cache/zim/<notebook-name> folder, and zim will re-create it.
On Mon, 15 Jun 2015 14:23:33 Jianhan Gao wrote:
> Dear Japp,
>
> Thanks for the 0.63 release !
>
> And I want to report an error about index, , just hope it may be useful :)
> ( I guess I should wait patiently because you already said in release note
> it is a work in progress. )
>
> Enviroment:
> PC, win7 x64, cp936 (simplified Chinese),
> python 2.7.10,
> pygtk-all-in-one-2.24.2.win32-py2.7.msi,
> zim 0.63, running from source code "zim.py".
>
> Symptoms:
> 1. Some pages do not show up in index ( they do exist on disk ).
> 2. If I run "python zim.py --index -V ./Notes", I will got random error
> logs like:
>
> ...
> INFO: Indexed Book
> ERROR: Got an exception while indexing "<IndexPath: OCW>":
> Traceback (most recent call last):
> File "d:\tTool\zim-0.63\zim\index.py", line 720, in _do_update
> self._update_pagelist(path)
> File "d:\tTool\zim-0.63\zim\index.py", line 1005, in _update_pagelist
> (page.basename, natural_sort_key(page.basename), path.id,
> page.hascontent, False))
> File "d:\tTool\zim-0.63\zim\utils.py", line 135, in natural_sort_key
> bytestring = locale.strxfrm(string)
> MemoryError
> INFO: Indexed OCW
> ...
>
> ( Both symptoms disappear when using zim 0.62 )
>
> Best regards!
Follow ups
References