tolinocloud.TolinoException: oauth access token request failed.
Closed this issue · 4 comments
Gomez commented
Thanks for this script. Does it is still in use? I get this error:
Traceback (most recent call last):
File "/jail/scripts/tolino-python/tolinocloud.py", line 235, in login
self.access_token = base64.b64decode(b64).decode('utf-8')
File "/usr/lib/python3.1/base64.py", line 80, in b64decode
raise TypeError("expected bytes, not %s" % s.__class__.__name__)
TypeError: expected bytes, not str
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tolinoclient.py", line 158, in <module>
args.func(args)
File "tolinoclient.py", line 68, in upload
c.login(args.user, args.password)
File "/jail/scripts/tolino-python/tolinocloud.py", line 237, in login
raise TolinoException('oauth access token request failed.')
tolinocloud.TolinoException: oauth access token request failed.
I used thalia.de (3).
Gomez commented
Does not work with Python below 3.4.
Maybe it should go into the Readme?
hzulla commented
Sorry for the delay.
Please try again, it should work with the most recent commit 26c4cef
Gomez commented
Thanks. Seems to work again!
rtens commented
Thanks for the fix =)