[Twisted-Python] Twisted 1.1.0 - AssertionError: reactor already installed

Jp Calderone exarkun at intarweb.us
Tue Dec 2 10:27:21 EST 2003


On Tue, Dec 02, 2003 at 07:01:29AM -0700, Joe Van Andel wrote:
> Using Twisted 1.1.0, Python 2.3.2, Redhat 9:
> 
> [snip]
> 
> The workaround is to move the import statement, but this isn't always a 
> clean solution.
> 

  This isn't a workaround.  This is [close to] the correct solution.  :)

  The actual solution is to use "twistd" with the "--reactor qt" argument to
run the program (and to write the program in such a way that it can be run
like this).  

  Jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031202/e451a42b/attachment.pgp 


More information about the Twisted-Python mailing list