Closed fiws closed 5 years ago
Maybe the problem is with the server. Check the accepted encodings.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset
The server is slack.. so there is nothing i can do there. And the errors also looks like its client side. I fixed my problem with #140
It seems to be a known issue in the request documentation, but can be solved using bytes. https://github.com/kennethreitz/requests/issues/4503
It should be safe to use utf-8 in this context. Thanks!
What is the purpose of your issue?
Guideline for bug reports
You can delete this section if your report is not a bug
How to get your version:
pip install
orsetup install
command has been completed without errorspython -m amazon_dash.install
command has been completed without errorsamazon-dash discovery
command works without errorsamazon-dash --debug run
worksDescription
I have utf8 characters in my config. amazon-dash does not like it and throws errors like this:
What I Did
I've tried many workarounds. Nothing worked.
LANG=C.UTF-8 amazon-dash --config /etc/amazon-dash.yml
But somehow this all works on my raspberry with raspbian. I could not get it working on a fresh ubuntu vm or ubuntu container or arch on a raspberry pi.