Comment 0 for bug 949685

Revision history for this message
Jono Bacon (jonobacon) wrote :

Today I asked a question (http://stackoverflow.com/questions/9610417/twisted-process-execution-issues) on StackOverflow about an issue I have been having running a series of processes one after the other. I have been having these problems in my Ubuntu Accomplishments (https://code.launchpad.net/ubuntu-accomplishments-system) code but I wrote a dedicated Python program to test this and posted it to the StackOverflow question (the script is attached to this bug). The script basically runs five very simple Python scripts one after the other, but in almost all cases the scripts are never all run successfully...it gets to a script and then just gets stuck. You can see a more detailed description of the issue at http://stackoverflow.com/questions/9610417/twisted-process-execution-issues

Glyph responded and suspected this may be a bug in Twisted, possibly an issue with GTK or glib.

I also noted seeing the following fragment of discussion in #twisted:

<itamar> jono: I've seen issues with processes using gtk3, but not glib2
<dobey> itamar: it happens with glib2reactor as well as gireactor, at least. i think new glib might have changed something which doesn't interact well with the signal handler bits of the twisted reactor :(
<itamar> dobey: tm.tl/5512 has a patch that makes *one* problem better
 I can think of another thing that might solve signal issues
<itamar> if this is a 12.04-only issues it's very hard for me to test, though, since I'm still on 11.10
<dobey> itamar: well, it's just twisted 11.1.0 with the patch to added gireactor. so the same problems should happen with twisted trunk. though it may be due to changes in newer glib, which is not on ubuntu 11.10 anyway

Later Itamar emailed me linking me to http://twistedmatrix.com/trac/ticket/5512 as something to try. I have never built Twisted before, and I am not sure if this will solve the issue.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-twisted 11.1.0-1ubuntu1
Uname: Linux 3.3.0-030300rc1-generic-pae i686
ApportVersion: 1.94-0ubuntu2
Architecture: i386
Date: Wed Mar 7 17:14:58 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120102)
PackageArchitecture: all
SourcePackage: twisted
UpgradeStatus: No upgrade log present (probably fresh install)