We got pygtk + gnome-python working on Mac OS X finally using some
python installation trickery. GRAMPS (and all pygtk apps) now work
without hacks. The packages are available via fink -
http://fink.sf.net/ - unstable tree.
(for GRAMPS people, it would be nice if you could put a link to fink
OK, it built, but I get errors importing gtk:
import pygtk
pygtk._get_available_versions()
{'1.2': '/usr/lib/python1.5/site-packages/gtk-1.2'}
pygtk.require('1.2')
import gtk
Traceback (innermost last):
File stdin, line 1, in ?
File /usr/lib/python1.5/site-packages/gtk-1.2/gtk.py, line
Replying to myself:
importing gtk *twice* does the trick.
What's going on there?
On Mon, 26 Aug 2002 09:05:42 -0500
Jon Nelson [EMAIL PROTECTED] wrote:
OK, it built, but I get errors importing gtk:
import pygtk
pygtk._get_available_versions()
{'1.2':
Jon Nelson wrote:
Replying to myself:
importing gtk *twice* does the trick.
What's going on there?
After the first failed import, there is a gtk module registered in
sys.modules. The second import appears to succeed, but is not correct.
On Mon, 26 Aug 2002 09:05:42 -0500
Jon Nelson [EMAIL
On Mon, 26 Aug 2002 22:55:26 +0800
James Henstridge [EMAIL PROTECTED] wrote:
Got no idea about this. It sounds like your _gtkmodule.so is
not linked correctly. Does libgtk-1.2.so get listed when you
run ldd
/usr/lib/python1.5/site-packages/gtk-1.2/_gtkmodule.so ?
Nope. Just:
On Sun, 2002-08-25 at 11:52, James Henstridge wrote:
Looks like I missed it. Will have to go in the next release. Please go
ahead and commit.
Bummer. Okay, committed it. In the future, would you like patches sent
to the list, put in bugzilla, or both?
Thanks,
Joe
In general, you want to use ldd -r to find all the shared libraries. This
doesn't always work properly on Linux, unfortunately, but does for all other
*NIX environments.
On Monday 26 August 2002 08:11, Jon Nelson wrote:
On Mon, 26 Aug 2002 22:55:26 +0800
James Henstridge [EMAIL PROTECTED]
Joe Shaw wrote:
On Sun, 2002-08-25 at 11:52, James Henstridge wrote:
Looks like I missed it. Will have to go in the next release. Please go
ahead and commit.
Bummer. Okay, committed it. In the future, would you like patches sent
to the list, put in bugzilla, or both?
Bugzilla