Bug#489955: ImportError: dynamic module does not define init function (initgtk)

2008-07-18 Thread Jason Armstrong
>> /usr/lib/python-support/python-gtk2/python2.5/gtk-2.0/gtk/gtk.so > > AHA: There it is !!! > >> /var/lib/python-support/python2.5/gtk-2.0/gtk/gtk.so > > And this one !!! > > Removing these two symbolic links should solve your problem. So > leave the real files where they are, but move the two

Bug#489955: ImportError: dynamic module does not define init function (initgtk)

2008-07-17 Thread Manuel Metz
Jason Armstrong wrote: Thanks for the feedback. Is there a way to know which file python was trying to load that gave the actual error message? Also, how can I see my python path? Yes, you can: in a python shell >>> import sys >>> sys.path On my machine, the following gtk.so files are found

Bug#489955: ImportError: dynamic module does not define init function (initgtk)

2008-07-17 Thread Jason Armstrong
Thanks for the feedback. Is there a way to know which file python was trying to load that gave the actual error message? Also, how can I see my python path? On my machine, the following gtk.so files are found: /usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtk/_gtk.so /usr/lib/python-sup

Bug#489955: ImportError: dynamic module does not define init function (initgtk)

2008-07-17 Thread Manuel Metz
I just stumbled over this bug report... What this error message is telling you, is that python tries to import a module called "gtk", but can not find it's init method (something like the main function of a C program), which is called "initgtk". This can happen, if there is somewhere a libra

Bug#489955: ImportError: dynamic module does not define init function (initgtk)

2008-07-08 Thread Jason Armstrong
Package: python-gtk2 Version: 2.12.1-6 Severity: important I am unable to run several programs, for example gramps and skysentials.py, because of the following error: $ Traceback (most recent call last): File "./skysentials.py", line 6, in import gtk File "/var/lib/python-support/python