I get the following result:
Traceback (most recent call last):
File "/home/clutz/tolino-python/tolinocloud.py", line 361, in _parse_metadata
'issued' : int(j['epubMetaData']['issued']),
TypeError: int() argument must be a string or a number, not 'NoneType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/clutz/tolino-python/tolinocloud.py", line 390, in inventory
inv.append(self._parse_metadata(item))
File "/home/clutz/tolino-python/tolinocloud.py", line 365, in _parse_metadata
raise TolinoException('could not parse metadata')
tolinocloud.TolinoException: could not parse metadata
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./tolinoclient.py", line 153, in
args.func(args)
File "./tolinoclient.py", line 19, in inventory
inv = c.inventory()
File "/home/clutz/tolino-python/tolinocloud.py", line 393, in inventory
raise TolinoException('inventory list request failed.')
tolinocloud.TolinoException: inventory list request failed.
Other operations (I tried "upload" and "devices") seem to work correct for me.
When I do
./tolinoclient.py --user <...> --password <...> --partner 3 inventory
I get the following result: Traceback (most recent call last): File "/home/clutz/tolino-python/tolinocloud.py", line 361, in _parse_metadata 'issued' : int(j['epubMetaData']['issued']), TypeError: int() argument must be a string or a number, not 'NoneType'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/clutz/tolino-python/tolinocloud.py", line 390, in inventory inv.append(self._parse_metadata(item)) File "/home/clutz/tolino-python/tolinocloud.py", line 365, in _parse_metadata raise TolinoException('could not parse metadata') tolinocloud.TolinoException: could not parse metadata
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "./tolinoclient.py", line 153, in
args.func(args)
File "./tolinoclient.py", line 19, in inventory
inv = c.inventory()
File "/home/clutz/tolino-python/tolinocloud.py", line 393, in inventory
raise TolinoException('inventory list request failed.')
tolinocloud.TolinoException: inventory list request failed.
Other operations (I tried "upload" and "devices") seem to work correct for me.