Package: foomatic-gui
Version: 0.7.4.4
Severity: important
Tags: patch

At startup I get the following: 

Traceback (most recent call last):
  File "/usr/bin/foomatic-gui", line 62, in ?
    import pygtk
ImportError: No module named pygtk


The application does not start.

An often employed idiom that does prevent the error, seems to be to simply 
catch the exception and ignore it. I was able to start and use the application
with the following lines modified in /usr/bin/foomatic-gui:

line 61:

try:
    import pygtk
    pygtk.require("2.0")
except:
    pass


Cheers,
Andreas

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (470, 'unstable'), (450, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages foomatic-gui depends on:
ii  gksu                          1.2.2-1    graphical frontend to su
ii  python                        2.3.4-5    An interactive high-level object-o
ii  python-foomatic               0.7.4.4    Python interface to the Foomatic p
ii  python-glade2                 2.4.1-2    GTK+ bindings: Glade support
ii  python-gnome2                 2.6.1-1    Python bindings for the GNOME desk
ii  python-gtk2                   2.4.1-2    Python bindings for the GTK+ widge

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to