4 ms·
Change test-client.py to end: print client.fetch(1000) print client.fetch(1) And when you run it, you get the same thing twice (whatever file was specifie
by kenko 14y ago
Change test-client.py to end:
print client.fetch(1000)
print client.fetch(1)
And when you run it, you get the same thing twice (whatever file was specified as the first argument to test-server.py on the commandline). On the other hand, change it to end
print client.fetch(1)
print client.fetch(1000)
and you get "Hello World!" twice.
At one point the server process also gave me this:
Server(s) started. Press enter to stop.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/Users/wolfson/src/others/pouring-rain/LT/Server.py", line 84, in run
self.streams[ entry[1] ].discard( entry[0] )
NameError: global name 'entry' is not defined
- mgronhol 14y agoThanks, just noticed a small initialization issue there, fixibg that soon :)
- deleted 14y ago[deleted]