Your message dated Sat, 07 Jun 2008 13:32:06 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#481480: fixed in pygtk 2.12.1-6
has caused the Debian Bug report #481480,
regarding python-gtk2: gtk.main() reads from stdin, so freezes GUI.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
481480: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481480
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: python-gtk2
Version: 2.12.1-2
Severity: important

gtk.main() seems to read from stdin somewhere in mainloop and freezes GUI when 
a python script that uses pygtk is run from terminal.

For instance, with this script:
$ cat test.py 
import pygtk
import gtk
v = gtk.Window()
caja = gtk.VBox()
caja.add(gtk.Label("Hola holita, vecinito."))
boton = gtk.Button(stock = gtk.STOCK_QUIT)
boton.connect("clicked", lambda *args, **kw: gtk.main_quit())
caja.add(boton)
v.add(caja)
v.show_all()
gtk.main()

$ python test.py 
 ... Doesn't even show the gtk.Window.

Tracing with strace:
$ strace python test.py 

[lot of lines omitted...]

futex(0x2b1c1d658460, 0x81 /* FUTEX_??? */, 2147483647) = 0
uname({sys="Linux", node="nostromo", ...}) = 0
poll([{fd=4, events=POLLIN}], 1, 0)     = 0
read(0, 
 ... and that's all.

If I try this:
$ python test.py </dev/null
All works fine.

If the same script is launched from Nautilus or gnome launch dialog
(Alt+F2) works fine too.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to es_ES.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-gtk2 depends on:
ii  libatk1.0-0                   1.22.0-1   The ATK accessibility toolkit
ii  libc6                         2.7-11     GNU C Library: Shared libraries
ii  libcairo2                     1.6.4-2    The Cairo 2D vector graphics libra
ii  libglib2.0-0                  2.16.3-2   The GLib library of C routines
ii  libgtk2.0-0                   2.12.9-4   The GTK+ graphical user interface 
ii  libpango1.0-0                 1.20.2-2   Layout and rendering of internatio
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-cairo [python2.5-cairo 1.4.12-1   Python bindings for the Cairo vect
ii  python-gobject [python2.5-gob 2.14.1-4   Python bindings for the GObject li
ii  python-numeric [python2.5-num 24.2-8.2   Numerical (matrix-oriented) Mathem
ii  python-support                0.8.1      automated rebuilding support for P
pn  python2.4-cairo               <none>     (no description available)
pn  python2.4-gobject             <none>     (no description available)
pn  python2.4-numeric             <none>     (no description available)

python-gtk2 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: pygtk
Source-Version: 2.12.1-6

We believe that the bug you reported is fixed in the latest version of
pygtk, which is due to be installed in the Debian FTP archive:

pygtk_2.12.1-6.diff.gz
  to pool/main/p/pygtk/pygtk_2.12.1-6.diff.gz
pygtk_2.12.1-6.dsc
  to pool/main/p/pygtk/pygtk_2.12.1-6.dsc
python-glade2_2.12.1-6_amd64.deb
  to pool/main/p/pygtk/python-glade2_2.12.1-6_amd64.deb
python-gtk2-dev_2.12.1-6_all.deb
  to pool/main/p/pygtk/python-gtk2-dev_2.12.1-6_all.deb
python-gtk2-doc_2.12.1-6_all.deb
  to pool/main/p/pygtk/python-gtk2-doc_2.12.1-6_all.deb
python-gtk2_2.12.1-6_amd64.deb
  to pool/main/p/pygtk/python-gtk2_2.12.1-6_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Josselin Mouette <[EMAIL PROTECTED]> (supplier of updated pygtk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 07 Jun 2008 14:15:51 +0200
Source: pygtk
Binary: python-gtk2 python-gtk2-dev python-glade2 python-gtk2-doc
Architecture: source all amd64
Version: 2.12.1-6
Distribution: unstable
Urgency: low
Maintainer: Sebastien Bacher <[EMAIL PROTECTED]>
Changed-By: Josselin Mouette <[EMAIL PROTECTED]>
Description: 
 python-glade2 - GTK+ bindings: Glade support
 python-gtk2 - Python bindings for the GTK+ widget set
 python-gtk2-dev - GTK+ bindings: devel files
 python-gtk2-doc - Python bindings for the GTK+ widget set - documentation
Closes: 481480 484654
Changes: 
 pygtk (2.12.1-6) unstable; urgency=low
 .
   * 60_pygtk-wakeupfd-fix.patch: do not use the wakeup fd in
     non-threaded applications, which is uninitialised and becomes
     stdin. Closes: #484654, #481480.
Checksums-Sha1: 
 88d318a92e343365e164eb2074cb78dab93c9755 1592 pygtk_2.12.1-6.dsc
 065e18c35b09341ba4b3cfcd21d8e6c1df503aee 14197 pygtk_2.12.1-6.diff.gz
 4659cac92bb19ce1d9bbe17f5d4cbd6711136757 205450 
python-gtk2-dev_2.12.1-6_all.deb
 a33f87a5aa51f65e182309cd90c541b321a71a62 1344368 
python-gtk2-doc_2.12.1-6_all.deb
 c6aecbf7fbbc4ad2a09654559e6307e356acaf97 1697458 python-gtk2_2.12.1-6_amd64.deb
 dc226dd101146baaf08c99f37f560927610d8bde 45696 python-glade2_2.12.1-6_amd64.deb
Checksums-Sha256: 
 53f9078c559b714990df637dd3fd425ef9dfdd0a4c9dbb7abbbbc14360118795 1592 
pygtk_2.12.1-6.dsc
 4435baef01e4537f0837da5a269bcb10d327a0563d695d4dad88436c36a41d21 14197 
pygtk_2.12.1-6.diff.gz
 35fe184ff901b9d214503544486933cbc737826057fbca3b9e7d9cdf39221288 205450 
python-gtk2-dev_2.12.1-6_all.deb
 5eeba680e24c24f0179deb5a7d8fa79c8ce7e4e0aae3b5c965ea71d911e7be2b 1344368 
python-gtk2-doc_2.12.1-6_all.deb
 98a14b9deeec8dd1aa1f4f08a03f13cdf05abc42b1e6187e94d080d4f4b173ee 1697458 
python-gtk2_2.12.1-6_amd64.deb
 6bd2c3a2de5446fdaac2dca7e13bc1b320d6e8ecb9e517a6f49363dc4e504a8a 45696 
python-glade2_2.12.1-6_amd64.deb
Files: 
 61148a2f18351f72e16836ef597a2410 1592 python optional pygtk_2.12.1-6.dsc
 8d10c818ab22a0cf0957c97a36faebfd 14197 python optional pygtk_2.12.1-6.diff.gz
 78307a3bf4c6d33fa39f4176c2cb44eb 205450 python optional 
python-gtk2-dev_2.12.1-6_all.deb
 89be6043f2e190747dbf4ff6686decdc 1344368 doc optional 
python-gtk2-doc_2.12.1-6_all.deb
 f24ddd061bc785666a57b6edf49094e0 1697458 python optional 
python-gtk2_2.12.1-6_amd64.deb
 0ae7c89a3709e4a00e86c37299a82f67 45696 python optional 
python-glade2_2.12.1-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFISovirSla4ddfhTMRAsMxAKC+23UV+2bbR7ENLYkP9nEeMEKw8QCdFAGJ
vteOzq0KkzvZlM4yI2JCBpY=
=dK6D
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to