hi,
thanks a lot for this client. it looks quite clean, and the test_client.py is very useful to start.
I've tried to use it to talk to a Z-Push server (http://z-push.org/), and ran into the following problem:
PROCESS COMMAND Add
ERROR: Unexpected add format: {'Sync': {'Collections': {'Collection': {'Status': '1', 'SyncKey': '{8a259d14-c402-475c-a96d-3de404862830}6', 'Commands': {'Add': {'ServerId':....
so apparently a list of commands is expected for 'Commands', instead of a single command/dict. after adding an 'if isinstance(commands, dict): commands = [commands]' it works and I can sync my inbox nicely, though this probably isn't the correct fix..?
thanks again.
mark dufour.
kopano developer: https://kopano.com/
hi,
thanks a lot for this client. it looks quite clean, and the test_client.py is very useful to start.
I've tried to use it to talk to a Z-Push server (http://z-push.org/), and ran into the following problem:
PROCESS COMMAND Add
ERROR: Unexpected add format: {'Sync': {'Collections': {'Collection': {'Status': '1', 'SyncKey': '{8a259d14-c402-475c-a96d-3de404862830}6', 'Commands': {'Add': {'ServerId':....
so apparently a list of commands is expected for 'Commands', instead of a single command/dict. after adding an 'if isinstance(commands, dict): commands = [commands]' it works and I can sync my inbox nicely, though this probably isn't the correct fix..?
thanks again.
mark dufour.
kopano developer: https://kopano.com/