Bug#348240: gdesklets: You need a recent version of PyGTK to run this program.

Knud Soerensen knud at all-technology.com
Tue Jan 17 20:13:09 UTC 2006


Clément Stenac wrote:

>Hello,
>
>It actually looks like something is wrong with your pygtk install.
>
>Could you please paste:
>
>- the output of dpkg -l|egrep "python-gtk|python2.3-gtk"
>  
>
ii  python-gtk2                       2.6.3-2                          
Python bindings for the GTK+ widget set
ii  python-gtk2-dev                   2.6.3-2                          
GTK+ bindings: devel files
ii  python2.3-gtk2                    2.6.3-2                          
Python bindings for the GTK+ widget set

>- the contents of /var/lib/dpkg/info/python-gtk2.list 
>
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python-gtk2
/usr/share/doc/python-gtk2/examples
/usr/share/doc/python-gtk2/examples/demos
/usr/share/doc/python-gtk2/examples/demos/__init__.py
/usr/share/doc/python-gtk2/examples/demos/appwindow.py
/usr/share/doc/python-gtk2/examples/demos/buttonbox.py
/usr/share/doc/python-gtk2/examples/demos/changedisplay.py
/usr/share/doc/python-gtk2/examples/demos/colorsel.py
/usr/share/doc/python-gtk2/examples/demos/dialogs.py
/usr/share/doc/python-gtk2/examples/demos/dnd.py
/usr/share/doc/python-gtk2/examples/demos/dndpixmap.py
/usr/share/doc/python-gtk2/examples/demos/editable_cells.py
/usr/share/doc/python-gtk2/examples/demos/entry_completion.py
/usr/share/doc/python-gtk2/examples/demos/expander.py
/usr/share/doc/python-gtk2/examples/demos/hypertext.py
/usr/share/doc/python-gtk2/examples/demos/images.py
/usr/share/doc/python-gtk2/examples/demos/list_store.py
/usr/share/doc/python-gtk2/examples/demos/menu.py
/usr/share/doc/python-gtk2/examples/demos/panes.py
/usr/share/doc/python-gtk2/examples/demos/pixbufs.py
/usr/share/doc/python-gtk2/examples/demos/sizegroup.py
/usr/share/doc/python-gtk2/examples/demos/stock_browser.py
/usr/share/doc/python-gtk2/examples/demos/textview.py
/usr/share/doc/python-gtk2/examples/demos/tree_store.py
/usr/share/doc/python-gtk2/examples/demos/treemodel.py
/usr/share/doc/python-gtk2/examples/demos/ui_manager.py
/usr/share/doc/python-gtk2/examples/demos/images
/usr/share/doc/python-gtk2/examples/demos/images/alphatest.png
/usr/share/doc/python-gtk2/examples/demos/images/apple-red.png
/usr/share/doc/python-gtk2/examples/demos/images/background.jpg
/usr/share/doc/python-gtk2/examples/demos/images/floppybuddy.gif
/usr/share/doc/python-gtk2/examples/demos/images/gnome-applets.png
/usr/share/doc/python-gtk2/examples/demos/images/gnome-calendar.png
/usr/share/doc/python-gtk2/examples/demos/images/gnome-foot.png
/usr/share/doc/python-gtk2/examples/demos/images/gnome-gimp.png
/usr/share/doc/python-gtk2/examples/demos/images/gnome-gmush.png
/usr/share/doc/python-gtk2/examples/demos/images/gnome-gsame.png
/usr/share/doc/python-gtk2/examples/demos/images/gnu-keys.png
/usr/share/doc/python-gtk2/examples/demos/images/gtk-logo-rgb.gif
/usr/share/doc/python-gtk2/examples/pygtk-demo.py
/usr/share/doc/python-gtk2/README
/usr/share/doc/python-gtk2/TODO
/usr/share/doc/python-gtk2/changelog.Debian.gz
/usr/share/doc/python-gtk2/README.Debian
/usr/share/doc/python-gtk2/copyright
/usr/share/doc/python-gtk2/changelog.gz
/usr/share/doc/python-gtk2/NEWS.gz
/usr/share/doc/python-gtk2/MAPPING.gz
/usr/share/doc/python-gtk2/THREADS.gz

>and
>/var/lib/dpkg/info/python2.3-gtk2.list
>  
>
/.
/usr
/usr/bin
/usr/share
/usr/share/doc
/usr/share/doc/python2.3-gtk2
/usr/share/doc/python2.3-gtk2/copyright
/usr/share/doc/python2.3-gtk2/changelog.gz
/usr/share/doc/python2.3-gtk2/changelog.Debian.gz
/usr/lib
/usr/lib/python2.3
/usr/lib/python2.3/site-packages
/usr/lib/python2.3/site-packages/gtk-2.0
/usr/lib/python2.3/site-packages/gtk-2.0/gobject.so
/usr/lib/python2.3/site-packages/gtk-2.0/gobject.la
/usr/lib/python2.3/site-packages/gtk-2.0/atk.so
/usr/lib/python2.3/site-packages/gtk-2.0/atk.la
/usr/lib/python2.3/site-packages/gtk-2.0/pango.so
/usr/lib/python2.3/site-packages/gtk-2.0/pango.la
/usr/lib/python2.3/site-packages/gtk-2.0/dsextras.py
/usr/lib/python2.3/site-packages/gtk-2.0/gtk
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.la
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/keysyms.py
/usr/lib/python2.3/site-packages/gtk-2.0/gtk/compat.py
/usr/lib/python2.3/site-packages/pygtk.pth
/usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2
/usr/lib/pygtk
/usr/lib/pygtk/2.0


>- the output of ls -l /usr/lib/python2.3/site-packages/*gtk*
>

>-rw-r--r--  1 root root    8 2005-10-30 16:22 /usr/lib/python2.3/site-packages/pygtk.pth
>-rw-r--r--  1 root root 2619 2005-10-30 16:22 /usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2
>
>/usr/lib/python2.3/site-packages/gtk-2.0:
>total 796
>-rw-r--r--  1 root root    972 2005-10-30 16:22 atk.la
>-rw-r--r--  1 root root  26100 2005-10-30 16:22 atk.so
>drwxr-xr-x  2 root root   4096 2006-01-15 21:45 bonobo
>-rw-r--r--  1 root root  11666 2005-10-30 16:22 dsextras.py
>-rw-r--r--  1 root root  16990 2005-11-24 03:19 dsextras.pyc
>-rw-r--r--  1 root root  16990 2005-11-24 03:19 dsextras.pyo
>drwxr-xr-x  2 root root   4096 2006-01-15 21:45 egg
>-rw-r--r--  1 root root   1079 2005-11-11 11:10 gconf.la
>-rw-r--r--  1 root root  53428 2005-11-11 11:10 gconf.so
>drwxr-xr-x  2 root root   4096 2006-01-15 21:45 gnome
>-rw-r--r--  1 root root   2416 2005-10-10 14:28 gnomeapplet.la
>-rw-r--r--  1 root root  14680 2005-10-10 14:29 gnomeapplet.so
>-rw-r--r--  1 root root   1498 2005-11-11 11:10 gnomecanvas.la
>-rw-r--r--  1 root root  30760 2005-11-11 11:10 gnomecanvas.so
>drwxr-xr-x  2 root root   4096 2006-01-15 21:45 gnomeprint
>-rw-r--r--  1 root root   1437 2005-11-11 11:10 gnomevfs.la
>-rw-r--r--  1 root root 102392 2005-11-11 11:10 gnomevfs.so
>-rw-r--r--  1 root root    924 2005-10-30 16:22 gobject.la
>-rw-r--r--  1 root root  96888 2005-10-30 16:22 gobject.so
>drwxr-xr-x  2 root root   4096 2005-11-24 03:19 gtk
>-rw-r--r--  1 root root   1557 2005-10-10 14:28 gtkhtml2.la
>-rw-r--r--  1 root root  15444 2005-10-10 14:29 gtkhtml2.so
>-rw-r--r--  1 root root   1281 2005-10-10 14:28 gtkmozembed.la
>-rw-r--r--  1 root root  14680 2005-10-10 14:29 gtkmozembed.so
>-rw-r--r--  1 root root   1655 2005-10-10 14:28 gtksourceview.la
>-rw-r--r--  1 root root  52076 2005-10-10 14:29 gtksourceview.so
>-rw-r--r--  1 root root   1439 2005-10-10 14:28 gtkspell.la
>-rw-r--r--  1 root root   6400 2005-10-10 14:29 gtkspell.so
>-rw-r--r--  1 root root    935 2005-10-10 14:28 gtop.la
>-rw-r--r--  1 root root  23520 2005-10-10 14:29 gtop.so
>-rw-r--r--  1 root root   1519 2005-10-10 14:28 nautilusburn.la
>-rw-r--r--  1 root root  21392 2005-10-10 14:29 nautilusburn.so
>-rw-r--r--  1 root root    990 2005-10-30 16:22 pango.la
>-rw-r--r--  1 root root  67456 2005-10-30 16:22 pango.so
>-rw-r--r--  1 root root  62024 2005-11-24 12:05 planner.so
>drwxr-xr-x  2 root root   4096 2006-01-15 21:45 totem
>-rw-r--r--  1 root root   1441 2005-10-10 14:28 wnck.la
>-rw-r--r--  1 root root  38784 2005-10-10 14:29 wnck.so
>
>/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode:
>total 8
>drwxr-xr-x  6 root root 4096 2005-11-25 09:15 wx
>drwxr-xr-x  4 root root 4096 2005-11-25 09:15 wxPython
>  
>

>- the PYTHONPATH environment variable (echo $PYTHONPATH)
>

>knud at NetRunner:~$ echo $PYTHONPATH
>
>knud at NetRunner:~$ 
>
>  
>

>- the result of executing "import sys;print sys.path" at a python shell
>prompt.
>  
>
>>> import sys;print sys.path
['', '/usr/lib/python23.zip', '/usr/lib/python2.3',
'/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk',
'/usr/lib/python2.3/lib-dynload',
'/usr/local/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages',
'/usr/lib/python2.3/site-packages/Numeric',
'/usr/lib/python2.3/site-packages/gtk-2.0',
'/usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode']
>>>

>Thanks for your help,
>
>  
>






More information about the Pkg-gnome-maintainers mailing list