http://twistedmatrix.com/documents/8.2.0/api/twisted.internet.html

Looks like twisted.internet.default is deprecated. Description is
"Deprecated module that used to contain SelectReactor and
PosixReactorBase"

This smells like a bug in src/main.py

Perhaps the code below is not suitable for recent versions of
twisted?:

---------------------------

# Find the best reactor
selectWarning = "Unable to install any good reactors (kqueue, epoll,
poll).\nWe fell back to using select. You may have scalability
problems.\nThis reactor will not support more than 1024 connections at
a time."
reactors = [("epollreactor", True), ("pollreactor", True),
("selectreactor", False), ("default", False)]
for tryReactor, good in reactors:
        try:
                bestReactor = __import__("twisted.internet." +
tryReactor)
                if not good:
                        print >> sys.stderr, selectWarning
                break
        except ImportError:
                pass
else:
        print >> sys.stderr, "Unable to find a reactor. Please make
sure you have Twisted properly installed.\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 [email protected]
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