-
Notifications
You must be signed in to change notification settings - Fork 36
Open
ZackClements/berserk
#4Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
- berserk version: 0.10.0
- Python version: python 3.7.3
- Operating System:Raspbian
Description
Im using lichs (https://github.com/Cqsi/lichs).
On windows works perfect, also on Archlinux.
On my raspberry pi with raspbian (after put the token from lichess) i get this, what can i do?:
pi@chess:~/.local/bin $ python3 lichs
Traceback (most recent call last):
File "lichs", line 10, in <module>
sys.exit(main())
File "/home/pi/.local/lib/python3.7/site-packages/lichs/__main__.py", line 34, in main
account_data = client.account.get()
File "/home/pi/.local/lib/python3.7/site-packages/berserk/clients.py", line 115, in get
return self._r.get(path, converter=models.Account.convert)
File "/home/pi/.local/lib/python3.7/site-packages/berserk/session.py", line 60, in get
return self.request('GET', *args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/berserk/session.py", line 56, in request
return fmt.handle(response, is_stream=is_stream, converter=converter)
File "/home/pi/.local/lib/python3.7/site-packages/berserk/formats.py", line 35, in handle
return converter(self.parse(response))
File "/home/pi/.local/lib/python3.7/site-packages/berserk/formats.py", line 76, in parse
return response.json(cls=self.decoder)
File "/usr/lib/python3/dist-packages/requests/models.py", line 889, in json
self.content.decode(encoding), **kwargs
File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 535, in loads
return cls(encoding=encoding, **kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file