python-ddp
python-ddp copied to clipboard
An event driven ddp client
On login, if tokenExpires is null DDPClient produces a TypeError and doesn't execute the callback >>>{"msg":"result","id":"1","result":{"id":"SOME-ID","token":"SOME-TOKEN","tokenExpires":{"$date":null},"type":"resume"}} Exception in thread {"server_id":"0"} >>>{"msg":"connected","session":"SOME=SESSION"} * RECONNECTED self.run() File "/var/lang/lib/python3.9/threading.py", line 917, in run...
When i run the py file,just nothing happens and programme terminates.Server is running port and everything is correct ``` from DDPClient import DDPClient client = DDPClient('ws://127.0.0.1:3000/websocket') client.connect() def connected(): print("connected")...
Hi, I'm trying to use the function call with no success, I'm doing exactly like the docs with no errors but the meteor method no called. I'm using meteor 1.4...
`File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/usr/local/lib/python2.7/dist-packages/ws4py/websocket.py", line 425, in run self.opened() File "/usr/local/lib/python2.7/dist-packages/DDPClient.py", line 26, in opened self.emit('opened') File...