Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple errors on raspberry pi #53

Open
mannueltuttu opened this issue Aug 27, 2021 · 4 comments
Open

Multiple errors on raspberry pi #53

mannueltuttu opened this issue Aug 27, 2021 · 4 comments

Comments

@mannueltuttu
Copy link

Hi
I am able to install the application using instructions given.I am able to give lichess api key also but aftter that it is giving me constant errors i have included here

Traceback (most recent call last):
  File "/home/pi/.local/bin/lichs", line 10, in <module>
    sys.exit(main())
  File "/home/pi/.local/lib/python3.7/site-packages/lichs/__main__.py", line 44, 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'

@Cqsi
Copy link
Owner

Cqsi commented Sep 5, 2021

Hey there,

Sorry for the delayed response. Can you describe the problem in a bit more detail? When exactly does the problem occur?

@mannueltuttu
Copy link
Author

mannueltuttu commented Sep 5, 2021

I have used this programme on raspberry pi 3a+ running raspbian os 32bit (tried it with 64bit archlinux also).While installation went smooth .I have used git clone and used
pip3 install recommended.txt first followed by installation of lichs as per ur documents.
When i run the programme it ask for the api key which I enter followed by above mentioned error.error is also shown whenever i run the lichs command on terminal

My python version is 3.7

I have tried uninstalling berserk and using berserk-downstream also both give same result.

@ljensen3
Copy link

Hello, did yall ever get this working? I also have this error

@Cqsi
Copy link
Owner

Cqsi commented Mar 16, 2022

@ljensen3 not to my knowledge. I'm quite busy currently, but I will try to look into it when I have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants