Examples detailed in test refer to imports for
beepy.transports.tcpsession which is depreciated in
0.5. EchoServer (and client), the newer ReverbServer
(and client), all import tcpsession (which does not
exist in 0.5).
After importing tcpsession, EchoServer sets up a server as:
server = tcpsession.TCPListenerManager(log,
profileDict, 'localhost', 1976)
grep on TCPListenerManager shows four different test/
examples referring to it:
desktop test # grep TCPListenerManager *
EchoServer.py: server =
beepy.transports.tcpsession.TCPListenerManager(log,
profileDict, 'localhost', 1976)
EchoServer2.py: server =
beepy.transports.tcpsession.TCPListenerManager(log,
profileDict, 'localhost', 1976)
ReverbServer.py: server =
tcpsession.TCPListenerManager(log, profileDict,
'localhost', 1976)
start_server.py: listener =
tcpsession.TCPListenerManager(log, pdict, 'localhost',
1976)
I found TCPListenerManager in BEEPy-0.4
(transports/tcpsession.py) - looks like the approach in
0.5's tcp.py requires a restructured EchoServer?
Jamie
Logged In: YES
user_id=1110445
Also noting that test/echoserver.py uses 0.5 design; bug
issue might be resolved by removing depreciated examples
like EchoServer.py. Leave it to a user to go try the
wrong/depreciated examples!
Jamie
Logged In: YES
user_id=540441
EchoServer/Client and ReverbServer/Client are deprecated
examples. They have now been removed from CVS and the
distutils configuration.
These fixes will be folded into a 0.5.1 patch release.