ejabberd - Comments for "Install PyICQt - ICQ Transport" https://www.ejabberd.im/pyicqt en pyICQ-t 0.8a works https://www.ejabberd.im/pyicqt#comment-51198 <p>change original code like this and you can see what happened</p> <pre> selectWarning = "selectWarning: need to be defined before using" # 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 exceptions.Exception, err: print err try: bestreactor.install() except: print "Unable to find a reactor %s.\nExiting..." % choice sys.exit(1) </pre> Fri, 09 Nov 2007 16:37:14 +0000 vinnitu comment 51198 at https://www.ejabberd.im PyICQt 0.8 may not work https://www.ejabberd.im/pyicqt#comment-40511 <p>PyICQt 0.8 may not work under windows<br /> to resolve this problem comment (cut) this block in main.py:</p> <pre># 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)</pre><p> this solution taken here <noindex><a href="http://forum.ru-board.com/topic.cgi?forum=8&amp;topic=10529&amp;start=1573" title="http://forum.ru-board.com/topic.cgi?forum=8&amp;topic=10529&amp;start=1573" rel="nofollow" >http://forum.ru-board.com/topic.cgi?forum=8&amp;topic=10529&amp;start=1573</a></noindex></p> Thu, 09 Aug 2007 15:45:29 +0000 http://dkbrazz.livejournal.com comment 40511 at https://www.ejabberd.im