I am a chinese windows XP user.
I could see chinese index and search chinese character on "pyzim revision 239" you provided.
It seems fixed this issue.
But I need install pyCairo before excute "pyzim revision 239" otherwise it shows
------------------------------------
D:\zim-0.46-chinese>zim.py
WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
Traceback (most recent call last):
File "D:\zim-0.46-chinese\zim.py", line 45, in <module>
zim.main(argv)
File "D:\zim-0.46-chinese\zim\__init__.py", line 290, in main
import zim.gui
File "D:\zim-0.46-chinese\zim\gui\__init__.py", line 30, in <module>
import gtk
File "C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py", line 40, in <mod
ule>
from gtk import _gtk
ImportError: No module named cairo
------------------------------------
But I still could not execute test.py, it response error of bad filename like below.
------------------------------------
D:\zim-0.46-chinese>test.py
Traceback (most recent call last):
File "D:\zim-0.46-chinese\test.py", line 326, in <module>
main()
File "D:\zim-0.46-chinese\test.py", line 155, in main
tests.set_environ()
File "D:\zim-0.46-chinese\tests\__init__.py", line 43, in set_environ
shutil.rmtree(tmpdir)
File "C:\Python26\lib\shutil.py", line 216, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python26\lib\shutil.py", line 216, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python26\lib\shutil.py", line 216, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "C:\Python26\lib\shutil.py", line 221, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "C:\Python26\lib\shutil.py", line 219, in rmtree
os.remove(fullname)
WindowsError: [Error 123] 檔案名稱、目錄名稱或磁碟區標籤語法錯誤。: './tests/tmp
/export_ExportedFiles\\utf8\\??????'
------------------------------------
I am a chinese windows XP user.
I could see chinese index and search chinese character on "pyzim revision 239" you provided.
It seems fixed this issue.
But I need install pyCairo before excute "pyzim revision 239" otherwise it shows
------- ------- ------- ------- ------- - 0.46-chinese> zim.py 0.46-chinese\ zim.py" , line 45, in <module> 0.46-chinese\ zim\__init_ _.py", line 290, in main 0.46-chinese\ zim\gui\ __init_ _.py", line 30, in <module> lib\site- packages\ gtk-2.0\ gtk\__init_ _.py", line 40, in <mod ------- ------- ------- ------- -
D:\zim-
WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
Traceback (most recent call last):
File "D:\zim-
zim.main(argv)
File "D:\zim-
import zim.gui
File "D:\zim-
import gtk
File "C:\Python26\
ule>
from gtk import _gtk
ImportError: No module named cairo
-------
so I installed pyCairo 1.8 from http:// alex.matan. ca/install- cairo-wxpyton- pycairo- python- windows then pyzim works.
But I still could not execute test.py, it response error of bad filename like below. ------- ------- ------- ------- - 0.46-chinese> test.py 0.46-chinese\ test.py" , line 326, in <module> 0.46-chinese\ test.py" , line 155, in main set_environ( ) 0.46-chinese\ tests\_ _init__ .py", line 43, in set_environ rmtree( tmpdir) lib\shutil. py", line 216, in rmtree fullname, ignore_errors, onerror) lib\shutil. py", line 216, in rmtree fullname, ignore_errors, onerror) lib\shutil. py", line 216, in rmtree fullname, ignore_errors, onerror) lib\shutil. py", line 221, in rmtree os.remove, fullname, sys.exc_info()) lib\shutil. py", line 219, in rmtree remove( fullname) 語法錯誤。: './tests/tmp ExportedFiles\ \utf8\\ ??????' ------- ------- ------- ------- -
-------
D:\zim-
Traceback (most recent call last):
File "D:\zim-
main()
File "D:\zim-
tests.
File "D:\zim-
shutil.
File "C:\Python26\
rmtree(
File "C:\Python26\
rmtree(
File "C:\Python26\
rmtree(
File "C:\Python26\
onerror(
File "C:\Python26\
os.
WindowsError: [Error 123] 檔案名稱、目錄名稱或磁碟區標籤
/export_
-------
The file name under .\tests\ tmp\export_ ExportedFiles\ utf8\ is "טכניון". tmp\export_ ExportedFiles\ utf8\ טכניון" for reference. picasaweb. google. com.tw/ lh/photo/ EtC4etmixRgBDZl zHYzs8A? feat=directlink
It looks like encoded by Hebrew.
Here attached the snapshot of folder ".\tests\
http://
Zim is really a good note application.
I am very happy about chinese index and chinese search supported in windows XP.
Thanks very much! :-)