The Twisted project just uses Trac to manage their development. This
list is about the Trac software itself. Their website should indicate
a more topical mailing list to ask on.
--Noah
On Oct 28, 2006, at 3:08 PM, Zoltan (Twisted Python Mailing List) wrote:
>
> Hi everyone,
>
>
> I would be grateful if someone could help me with the error
> "reactor already
> installed". I have seen this issue has been discussed previously,
> but I am not
> sure how to fix appropriate file so that error does not occur anymore.
>
> I am using Twisted Python 2.4.0, as it is packaged by Mandriva.
>
> Here is the Python stack trace:
> ----------------- cut 8< -------------------
> Traceback (most recent call last):
> File "/usr/bin/pyscrabble.py", line 4, in ?
> gtk2reactor.install()
> File "/usr/lib/python2.4/site-packages/twisted/internet/
> gtk2reactor.py",
> line 270, in install
> installReactor(reactor)
> File "/usr/lib/python2.4/site-packages/twisted/internet/
> main.py", line 23,
> in installReactor
> assert not sys.modules.has_key('twisted.internet.reactor'), \
> AssertionError: reactor already installed
> ----------------- cut 8< -------------------
>
>
> Here is the piece of code that causes error:
>
> ----------------- /usr/bin/pyscrabble.py -------------------
> #!/usr/bin/env python
>
> from twisted.internet import gtk2reactor
> gtk2reactor.install()
> ...
> ----------------- /usr/bin/pyscrabble.py -------------------
>
> As for the "pyscrabble.py" causing, I'll contact its author, but is
> it possible
> to change ".../twisted/internet/main.py" so that it does not throw
> assertion
> error on already installed reactor?
>
>
> Many thanks in advance,
>
> Zoltan
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---