Roman Mamedov wrote:
Package: gajim
Version: 0.12.1-2
Severity: normal
After an upgrade from Lenny to current Squeeze, Gajim no longer runs, giving
this error message:
$ gajim
Traceback (most recent call last):
File "gajim.py", line 189, in <module>
if gtk.pygtk_version < (2, 8, 0):
NameError: name 'gtk' is not defined
All the dependencies seem to be installed properly, and debsums does not find
damaged or missing files.
# dpkg -l gajim python python-support python-glade2 python-gtk2
...
+++-=================-=================-==================================================
ii gajim 0.12.1-2 Jabber client written in PyGTK
ii python 2.5.4-2 An interactive high-level
object-oriented language
ii python-glade2 2.14.1-3 GTK+ bindings: Glade support
ii python-gtk2 2.14.1-3 Python bindings for the GTK+ widget set
ii python-support 1.0.3 automated rebuilding support for Python
modules
Also, manually checking the GTK version works fine:
$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import gtk
gtk.pygtk_version
(2, 14, 1)
I don't understand ... Gajim does the import gtk before this line. It
maybe fails, but I don't know why.
Could you try to attach the patch from this link:
http://hg.gajim.org/gajim?cmd=changeset;node=9d7ea815b5ae
--
Yann
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]