[Twisted-Python] RE: Problem with build on winxp/VC6

Robert Cowham robert at vaccaperna.co.uk
Tue Oct 1 07:13:58 EDT 2002


> You'll be limited to using the pure python reactors instead,
> which work just
> fine, but are marginally slower.
>
> Basically, don't sweat about it :)
>

Thanks for the prompt response.

I tried running the portforward tap and it didn't work, which is why I then
looked at any build errors and found the above.

It gives me the following:

C:\Download\Twisted_NoDocs-0.99.2\Twisted-0.99.2\bin>python twistd -f
portforwar
d.tap
01/10/2002 12:12 [-] Log opened.
01/10/2002 12:12 [-] twistd 0.99.2 (C:\Python22\python.exe 2.2.1) starting
up
01/10/2002 12:12 [-] license user: Nobody <>
01/10/2002 12:12 [-] organization: No Organization
01/10/2002 12:12 [-] reactor class: twisted.internet.default.SelectReactor
01/10/2002 12:12 [-] Loading portforward.tap...
01/10/2002 12:12 [-] Loaded.
01/10/2002 12:12 [*portforward*] twisted.protocols.portforward.ProxyFactory
star
ting on 1555
01/10/2002 12:12 [*portforward*] Starting factory
<twisted.protocols.portforward
.ProxyFactory instance at 0x009C35C8>
01/10/2002 12:13 [twisted.protocols.portforward.ProxyFactory]
C:\Download\Twiste
d_NoDocs-0.99.2\Twisted-0.99.2\twisted\protocols\portforward.py:47:
DeprecationW
arning: clientTCP is deprecated - use connectTCP instead.
01/10/2002 12:13 [twisted.protocols.portforward.ProxyFactory]
clientProtocol)
01/10/2002 12:13 [twisted.protocols.portforward.ProxyFactory] Starting
factory <
twisted.internet.base.BCFactory instance at 0x00A0D2F8>
01/10/2002 12:13 [ProxyServer,0,127.0.0.1] Traceback (most recent call
last):
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\internet\app.py", line 573, in run
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]
main.run(installSignalHandlers=in
stallSignalHandlers)
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\internet\main.py", line 101, in run
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]     _getReactor().run()
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\internet\default.py", line 221, in run
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]     self.mainLoop()
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\internet\default.py", line 232, in mainLoop
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]     self.doIteration(t)
01/10/2002 12:13 [ProxyServer,0,127.0.0.1] --- <exception caught here> ---
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\internet\default.py", line 503, in doSelect
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]     why = getattr(selectable,
method)
()
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\internet\tcp.py", line 103, in doRead
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]     return
self.protocol.dataReceived
(data)
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]   File
"C:\Download\Twisted_NoDocs-0.
99.2\Twisted-0.99.2\twisted\protocols\portforward.py", line 36, in
dataReceived
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]     self.peer.write(data)
01/10/2002 12:13 [ProxyServer,0,127.0.0.1] exceptions.AttributeError:
BCFactory
instance has no attribute 'write'
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]
C:\Download\Twisted_NoDocs-0.99.2\Twi
sted-0.99.2\twisted\internet\base.py:392: DeprecationWarning:
connectionFailed i
s deprecated.  See new Client API
01/10/2002 12:13 [ProxyServer,0,127.0.0.1]
self.protocol.connectionFailed()
01/10/2002 12:13 [ProxyServer,0,127.0.0.1] Stopping factory
<twisted.internet.ba
se.BCFactory instance at 0x00A0D2F8>
01/10/2002 12:13 [twisted.protocols.portforward.ProxyFactory] (Port 1555
Closed)

01/10/2002 12:13 [twisted.protocols.portforward.ProxyFactory] Stopping
factory <
twisted.protocols.portforward.ProxyFactory instance at 0x009C35C8>
01/10/2002 12:13 [*portforward*] Saving portforward application to
portforward-s
hutdown.tap...
01/10/2002 12:13 [*portforward*] Saved.
01/10/2002 12:13 [*portforward*] Main loop terminated.
01/10/2002 12:13 [-] Server Shut Down.

C:\Download\Twisted_NoDocs-0.99.2\Twisted-0.99.2\bin>

Robert





More information about the Twisted-Python mailing list