... forgot to CC the mailing list

Jeffrey Liu wrote:
However, I ran into two things when running pyzim.
1.  The version check fails even though I'm running python 2.5.2.

Oops, typo on my side - code 2.6 in that version check instead of 2.5 as intended.

2.  After removing the version check, pyzim would attempt to run, but
I see the following error:
Traceback (most recent call last):
  File "/Users/jliu/gtk/inst/bin/zim-test", line 8, in <module>
    zim.main(sys.argv)
  File "/Users/jliu/gtk/inst/lib/python2.5/site-packages/zim/__init__.py",
line 192, in main
    handler = zim.gui.GtkInterface(*args, **optsdict)
  File "/Users/jliu/gtk/inst/lib/python2.5/site-packages/zim/gui/__init__.py",
line 189, in __init__
    icon = data_file('zim.png').path
AttributeError: 'NoneType' object has no attribute 'path'

This means it can not find the data files.  Will add a check for that.
Are you running from the source directory or did you install already?
In this later case you need to check where the data files were installed
(e.g. /usr/local/share/zim) and set the XDG_DATA_DIRS environment
variable to point to that location.

Sorry, I wish I knew more python to help debug these two issues.

No problem. I'm really interested to hear your results trying to run on OS X. Ideally would like to have some procedure how to compile a binary package for OS X.

Cheers!

Jaap



_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to