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

setup fails when LC_ALL=C is set #19

Closed
canufeel opened this issue Oct 17, 2015 · 3 comments
Closed

setup fails when LC_ALL=C is set #19

canufeel opened this issue Oct 17, 2015 · 3 comments

Comments

@canufeel
Copy link

I believe the issue here is that when LC_ALL=C is set the encoding is switched to encodings/ascii.py and we get an error which is UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 880: ordinal not in range(128). Here is the error trace:

File "/var/www/venv/eis/build/django-chartjs/setup.py", line 19, in <module>
long_description=read_relative_file('README.rst'),
File "/var/www/venv/eis/build/django-chartjs/setup.py", line 11, in read_relative_file
return f.read()
File "/var/www/venv/eis/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 880: ordinal not in range(128)

Because ascii does not support some symbols used in the html which is the part of this README.rst we get the error. This is not an issue in the most of cases but makes impossible to install the module via some provisioning systems like SaltStack.

@Alwerdani
Copy link

+1

@Natim
Copy link
Collaborator

Natim commented Apr 18, 2018

Oh yes, sorry about that I know how to fix it. Thanks for noticing.

@Natim
Copy link
Collaborator

Natim commented Apr 18, 2018

Should be fixed with 69cf595

@Natim Natim closed this as completed Apr 18, 2018
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