Package: python-gtk2 Version: 2.16.0-1 In some chroot situations with xauth added display, the images are not displayed by gtk. This situation occured when trying to build a package with logilab-devtools :
$ python --version Python 2.5.2 $ uname -r 2.6.29-2-amd64 # This should be equivalent to a chroot using pbuild: $ lgp login -d sid $ uname -r 2.6.29-2-amd64 $ python --version Python 2.5.4 # enable X with xauth : $ xauth add xxxxxxxxxx $ export DISPLAY=<MY_DISPLAY> # Here I can start an X application # Also, I can see images with imagemagick # However, this python script won't display "img.png" $ cat gtk_display.py import gtk image = gtk.Image() image.set_from_file("img.jpg") image.show() window = gtk.Window(gtk.WINDOW_TOPLEVEL) window.add(image) window.show() gtk.main() $ python gtk_display.py ^CTraceback (most recent call last): File "gtk_display.py", line 10, in <module> gtk.main() KeyboardInterrupt The "Version: 2.16.0-1" is the version in the chrooted environment. The problem is the same in a "lenny" environment. -- Emile Anclin <emile.anc...@logilab.fr> http://www.logilab.fr/ http://www.logilab.org/ Informatique scientifique & et gestion de connaissances -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org