[Twisted-Python] Problems with TwistedSumo-2005-11-06 on WinXP

Jean-Paul Calderone exarkun at divmod.com
Sat Jan 21 15:23:18 EST 2006


On Sat, 21 Jan 2006 19:20:50 -0100, Raúl Alexis Betancort Santana <rabs at dimension-virtual.com> wrote:
>Hi all, I'm trying to run an app developed on Linux Debian 3.1r1, with python 2.4 and twisted 2.1.0 on windows XP with python 2.4 and TwistedSumo-2005-11-06 (Twisted 2.1.0), and I get the followin error ...
>
>c:\python24\lib\site-packages\twisted\python\context.py:74: DeprecationWarning: threadable.whenThreaded is deprecated. Use application-level logic instead.
>  threadable.whenThreaded(initThreads)
> [snip]
>    if platform.supportsThreads():
>AttributeError: Platform instance has no attribute 'supportsThreads'
>

You seem to have managed to combine a pre-2.1.0 version of context.py with a 2.1.0 version of runtime.py.  How did you install Twisted?  You might try deleting the entire twisted directory out of your site-packages and re-installing.

Jean-Paul




More information about the Twisted-Python mailing list