On Tue, Jun 29, 2010 at 9:16 PM, mr.goose <edi...@garfnet.org.uk> wrote:
> A bit early to mark this bug as invalid methinks. A space character in a
> file name also causes the search to fail! E.g.:-
>
> DEBUG: Opening dialog "Search - Zim"
> INFO: Searching for: test
> WARNING: Ignoring file: "Info-Nine_Albums_of 
> Psychedelic_Rock-Heavy_1968-72.txt" invalid file name
> Traceback (most recent call last):
....
> UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 50: 
> unexpected code byte
> DEBUG: Closed dialog "Search"

In this case the error is not due to the space. Please note that zim
never uses a space character in file names and ignores any files that
do have spaces in the file name. The warning states that the file is
ignored, the error probably is triggered by one of the subsequent
files.

Was the file with the space written by zim - or is it some other file
you imported ?

> Also, it would appear that a "bad" character *inside* a file also causes the 
> search to fail as well! At least, I'm guessing that is the cause of this 
> debug output because all my files use standard ascii chars - and no spaces:-
...

Off course. Zim strictly uses utf-8 for page contents, any other
encoding will cause it to fail. File written by zim should always be
utf-8.

> Please don't dismiss this as invalid. Zim is a great tool. But without a
> reliable search, sadly it becomes practically useless and one might as
> well use Kate or something.

Please state which version of zim you are using. If it is an older
version than 0.47 please verify if this is present in the latest
version as well. If you do see this in zim 0.47 it is better to start
a new bug report instead of appending here. New reports are reviewed,
but comments to a closed report are liable to be missed.


-- Jaap

-- 
search doesn't work after upgrade to lucid
https://bugs.launchpad.net/bugs/584198
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to