[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Python problems with a lot of applications.



hallo all,

I have a lot of "applications" broken, and seems the problem is all the same, i suppose.
for example when i try launch the applet "gmail-notify" i get:

nn@Koad:~$ gmail-notify
Traceback (most recent call last):
  File "./notifier.py", line 4, in <module>
    import pygtk
ImportError: No module named pygtk
nn@Koad:~$


Other example is the gdesklets:

nn@Koad:~$ gdesklets
Traceback (most recent call last):
  File "/usr/bin/gdesklets", line 3, in <module>
    from main import client, DISPLAY, HOME, USERHOME
  File "/usr/lib/gdesklets/main/__init__.py", line 3, in <module>
    import utils
  File "/usr/lib/gdesklets/utils/__init__.py", line 3, in <module>
    import gtk
ImportError: No module named gtk
nn@Koad:~$

I have a lot of packages installed for python:

nn@Koad:~$ dpkg -l | grep -i python
ii  awn-applets-python-core                       0.2.6-2                          A collection of applets for avant-window-nav
ii  libboost-python1.34.1                         1.34.1-11                        Boost.Python Library
ii  python                                        2.5.2-1                          An interactive high-level object-oriented la
ii  python-alsaaudio                              0.2-1+b1                         Alsa bindings for Python
ii  python-apt                                    0.7.5                            Python interface to libapt-pkg
ii  python-awn                                    0.2.6-5                          Python bindings for avant-window-navigator l
ii  python-awn-extras                             0.2.6-2                          Python bindings for avant-window-navigator's
ii  python-awnlib                                 0.2.6-2                          Python utilities for avant-window-navigator'
ii  python-beagle                                 0.3.5-1+b1                       Python bindings for beagle
ii  python-cairo                                  1.4.12-1                         Python bindings for the Cairo vector graphic
ii  python-central                                0.6.6                            register and build utility for Python packag
ii  python-chardet                                1.0.1-1                          universal character encoding detector
ii  python-compizconfig                           0.7.5+git20080425.shame-1        Python bindings for the Compiz Configuration
ii  python-crypto                                 2.0.1+dfsg1-2.1                  cryptographic algorithms and protocols for P
ii  python-ctypes                                 1.0.2-5                          Python package to create and manipulate C da
ii  python-dbus                                   0.82.4-2                         simple interprocess messaging system (Python
ii  python-dev                                    2.5.2-1                          Header files and a static library for Python
ii  python-elementtree                            1.2.6-12                         Light-weight toolkit for XML processing
ii  python-feedparser                             4.1-10                           Universal Feed Parser for Python
ii  python-foomatic                               0.7.7-0.2                        Python interface to the Foomatic printer dat
ii  python-fpconst                                0.7.2-4                          Utilities for handling IEEE 754 floating poi
ii  python-gdata                                  1.0.9-1                          Google Data Python client library
ii  python-glade2                                 2.12.1-3                         GTK+ bindings: Glade support
ii  python-gmenu                                  2.22.1-3                         an implementation of the freedesktop menu sp
ii  python-gnome2                                 2.22.0-1                         Python bindings for the GNOME desktop enviro
ii  python-gnome2-desktop                         2.22.0-1                         Python bindings for the GNOME desktop enviro
ii  python-gnome2-extras                          2.14.3-1+b1                      Python bindings for the GNOME desktop enviro
ii  python-gnome2-extras-dev                      2.14.3-1                         Python bindings for the GNOME desktop enviro
ii  python-gnupginterface                         0.3.2-9                          Python interface to GnuPG (GPG)
ii  python-gobject                                2.14.1-6                         Python bindings for the GObject library
ii  python-gobject-dev                            2.14.1-6                         Development headers for the GObject Python b
ii  python-gst0.10                                0.10.11-1                        generic media-playing framework (Python bind
ii  python-gtk2                                   2.12.1-3                         Python bindings for the GTK+ widget set
ii  python-gtk2-dev                               2.12.1-3                         GTK+ bindings: devel files
ii  python-gtk2-doc                               2.12.1-3                         Python bindings for the GTK+ widget set - do
ii  python-gtkmvc                                 1.2.1-3                          model-view-controller (MVC) implementation f
ii  python-gtkmvc-doc                             1.2.1-3                          pygtkmvc documentation, tutorial and example
ii  python-gtksourceview2                         2.2.0-1+b1                       Python bindings for the GtkSourceView widget
ii  python-imaging                                1.1.6-2                          Python Imaging Library
ii  python-ipy                                    1:0.56-1                         Python module for handling IPv4 and IPv6 add
ii  python-libxml2                                2.6.32.dfsg-2                    Python bindings for the GNOME XML library
ii  python-minimal                                2.5.2-1                          A minimal subset of the Python language (def
ii  python-newt                                   0.52.2-11.2                      A NEWT module for Python
ii  python-notify                                 0.1.1-2+b1                       Python bindings for libnotify
ii  python-numeric                                24.2-8.2                         Numerical (matrix-oriented) Mathematics for
ii  python-openssl                                0.7-1                            Python wrapper around the OpenSSL library
ii  python-pam                                    0.4.2-12                         A Python interface to the PAM library
ii  python-pyopenssl                              0.7-1                            transitional dummy package
ii  python-pyorbit                                2.14.3-2                         A Python language binding for the ORBit2 COR
ii  python-pysqlite2                              2.4.1-1                          Python interface to SQLite 3
ii  python-qt3                                    3.17.4-1                         Qt3 bindings for Python
ii  python-selinux                                2.0.59-1                         Python bindings to SELinux shared libraries
ii  python-semanage                               2.0.24-1                         Python bindings  for SELinux policy manipula
ii  python-serial                                 2.2-4                            Module encapsulating access for the serial p
ii  python-sip4                                   4.7.4-1                          Python/C++ bindings generator runtime librar
ii  python-soappy                                 0.12.0-2                         SOAP Support for Python
rc  python-subversion                             1.4.6dfsg1-2                     Python bindings for Subversion
ii  python-support                                0.8.1                            automated rebuilding support for Python modu
ii  python-tk                                     2.5.2-1                          Tkinter - Writing Tk applications with Pytho
ii  python-twisted                                8.0.1-1                          Event-based framework for internet applicati
ii  python-twisted-bin                            8.0.1-1                          Event-based framework for internet applicati
ii  python-twisted-conch                          1:8.0.0-1                        The Twisted SSH Implementation
ii  python-twisted-core                           8.0.1-1                          Event-based framework for internet applicati
ii  python-twisted-lore                           8.0.0-1                          Documentation generator with HTML and LaTeX
ii  python-twisted-mail                           8.0.0-1                          An SMTP, IMAP and POP protocol implementatio
ii  python-twisted-names                          8.0.0-1                          A DNS protocol implementation with client an
ii  python-twisted-news                           8.0.0-1                          An NNTP protocol implementation with client
ii  python-twisted-runner                         8.0.0-1                          Process management, including an inetd serve
ii  python-twisted-web                            8.0.0-1                          An HTTP protocol implementation together wit
ii  python-twisted-words                          8.0.0-1                          Chat and Instant Messaging
ii  python-tz                                     2008b-3                          Python version of the Olson timezone databas
ii  python-utidylib                               0.2-3.2                          Python wrapper for TidyLib
ii  python-xdg                                    0.15-1.1                         A python library to access freedesktop.org s
ii  python-xlib                                   0.14-1                           Interface for Python to the X11 Protocol
ii  python-xml                                    0.8.4-10                         XML tools for Python
ii  python-zopeinterface                          3.3.1-6                          The implementation of interface definitions
ii  python2.4                                     2.4.5-2                          An interactive high-level object-oriented la
ii  python2.4-dev                                 2.4.5-2                          Header files and a static library for Python
ii  python2.4-minimal                             2.4.5-2                          A minimal subset of the Python language (ver
ii  python2.5                                     2.5.2-5                          An interactive high-level object-oriented la
ii  python2.5-dev                                 2.5.2-5                          Header files and a static library for Python
ii  python2.5-minimal                             2.5.2-5                          A minimal subset of the Python language (ver
ii  sepolgen                                      1.0.11-1                         A Python module used in SELinux policy gener
nn@Koad:~$

Someone have ideia how to solve this problem(s) ?

Thanks a lot :)


Reply to: