zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00482
Re: Pyzim 0.42 beta3: lots of notebooks and notes missing.
Hmm, seems there is still some remaining issue with unicode file names.
I do have plenty of unicode pages in my test data, but not able to reproduce
this. If you have a small set that generates this I can trouble shoot it.
-- Jaap
On Mon, Dec 28, 2009 at 10:11 PM, Dotan Cohen <dotancohen@xxxxxxxxx> wrote:
> 2009/12/28 Jaap Karssenberg <jaap.karssenberg@xxxxxxxxx>:
> > On Mon, Dec 28, 2009 at 8:15 PM, Dotan Cohen <dotancohen@xxxxxxxxx>
> wrote:
> >>
> >> I just removed Zim 0.28 and installed pyzim. I notice that lots of
> >> notebooks and notes in existing notebooks are missing. The remaining
> >> notes are both Hebrew and English, so it is not a UTF8 issue as I
> >> first expected. What should I check?
> >
> > Missing notebooks and missing notes are completely different things.
> >
> > Notebooks should be in the ~/.config/zim/notebooks.list file. The format
> for
> > this file changed but we should be backward compatible (and yes, there is
> a
> > unit test for that). If notebooks are missing you can add them again
> easily.
> > If you still have the old notebooks.list file, please send it to me so I
> can
> > check the backward compatible function.
> >
>
> I do not have the old file. I backed up my ~/.zim directory, nothing
> more. After adding the names of all the directories, I had two
> problems with notebooks that I had renamed sometime in the past, in
> which the document root was not pointing to the actual folder. It was
> not hard to fix in a text editor.
>
>
> > For missing notes it would mean that the index is not correct. You can
> try
> > "zim --index path/to/notebook -V" in a terminal to refresh the index and
> > check for errors. If some text files are really not indexed there must be
> > something in common to them and most likely an error should be spit to
> the
> > terminal.
> >
>
> I think that the notes that were missing now show. In any case, here
> is the results of the refresh:
>
> Thanks!
>
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/איפה\ דברים/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/אתי -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/אתרים\ ותכנות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/בדיקה/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/דרישות\ והתרשמות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/המצאות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/הערות -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/הערות\ ימיומיות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/חלונות -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/חשבוני\ בנק/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/להביא\ בנסיעות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/לימודים/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/לינוקס/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/מחשבים/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/מתנות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/פרוייקטים/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/שגיות\ בתוכנות/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in
> main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in
> __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in
> __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$ zim --index ~/.zim/תאורית\ העולם/ -V
> INFO: This is zim 0.42-beta3
> /usr/lib/pymodules/python2.6/zim/notebook.py:127: UnicodeWarning:
> Unicode equal comparison failed to convert both arguments to Unicode -
> interpreting them as being unequal
> if n.lower() == name.lower():
> Traceback (most recent call last):
> File "/usr/bin/zim", line 40, in <module>
> zim.main(sys.argv)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 248, in main
> handler = NotebookInterface(notebook=args[0])
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 343, in __init__
> self.open_notebook(notebook)
> File "/usr/lib/pymodules/python2.6/zim/__init__.py", line 409, in
> open_notebook
> nb = get_notebook(nb)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 213, in
> get_notebook
> return Notebook(dir=path)
> File "/usr/lib/pymodules/python2.6/zim/notebook.py", line 314, in __init__
> self.cache_dir = dir.subdir('.zim')
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 406, in subdir
> dir = Dir((self.path, path))
> File "/usr/lib/pymodules/python2.6/zim/fs.py", line 109, in __init__
> path = map(unicode, path)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position
> 19: ordinal not in range(128)
> karmic1@kubuntu:~/.zim$
>
References