On Apr 2, 4:32 pm, "Norman Rasmussen" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 2, 2008 at 9:43 PM, jpaddock <[EMAIL PROTECTED]> wrote:
> >  unable to find a reactor.
> >  Exiting....
>
> My Google foo tells me that you should probably try to change
>  <reactor>default</reactor>
> to
>  <reactor>select</reactor>
>

doing the above and the below finally got it to work.


PyAIMt 0.8 may not work under windows
to resolve this problem comment (cut) this block in main.py:

# Find the best reactor
reactorchoices = ["epollreactor", "kqreactor", "cfreactor",
"pollreactor", "selectreactor", "posixbase", "default"]
for choice in reactorchoices:
    try:
        exec("from twisted.internet import %s as bestreactor" %
choice)
        if choice in ["selectreactor","default"]:
            print selectWarning
        break
    except:
        pass
try:
    bestreactor.install()
except:
    print "Unable to find a reactor.\nExiting..."
    sys.exit(1)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"py-transports" group.
To post to this group, send email to py-transports@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/py-transports?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to