From: Robert L. <ro...@le...> - 2003-04-18 06:58:37
|
I am attempting to run mod_pubsub's python client and cannot do so. My setup is w2000, Python 2.2.2, mod_pubsub 0.91. I run the python server and all the js/html apps seem to run correctly, but when I attempt to run the tests in pubsublib.py (using pubsublib.py http://localhost:8000/kn ) I get the following error: Traceback (most recent call last): File "pubsublib.py", line 918, in ? if __name__ == "__main__": main(sys.argv) File "pubsublib.py", line 911, in main test(url) File "pubsublib.py", line 878, in test sub.setRID(client.subscribe("/what/test", sub, {}, sub)) File "pubsublib.py", line 370, in subscribe self.enqueue(requestMessage, statushandler) File "pubsublib.py", line 239, in enqueue self._C_process() File "pubsublib.py", line 246, in _C_process self.connect() File "pubsublib.py", line 147, in connect self.startTunnel(message) File "pubsublib.py", line 577, in startTunnel self._ST_tunnel = ( File "pubsublib.py", line 813, in __init__ body = encodeFormUTF_8(message) File "pubsublib.py", line 795, in encodeFormUTF_8 for nameU, values in canonicalForm: ValueError: too many values to unpack What am I missing? Robert PS Note that a similar problem occurs when running chat.py as well |