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

Fails to build with python2 #527

Closed
hasufell opened this issue Jan 6, 2020 · 3 comments
Closed

Fails to build with python2 #527

hasufell opened this issue Jan 6, 2020 · 3 comments

Comments

@hasufell
Copy link

hasufell commented Jan 6, 2020

python2.7 -B setup.py config
Traceback (most recent call last):
  File "setup.py", line 53, in <module>
    readme = readme_file.read()
  File "/usr/lib/python2.7/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1147: ordinal not in range(128)
@hasufell
Copy link
Author

hasufell commented Jan 6, 2020

a24decb#diff-88b99bb28683bd5b7e3a204826ead112R25

This broke the parsing, it is not a normal hyphen.

@evhub evhub added this to the v1.4.3 milestone Jan 7, 2020
evhub added a commit that referenced this issue Jan 7, 2020
@evhub evhub added the resolved label Jan 7, 2020
@evhub
Copy link
Owner

evhub commented Jan 7, 2020

@hasufell Should be fixed on coconut-develop (pip install coconut-develop) and I'll try to get a new release out soon fixing this on master.

@evhub evhub closed this as completed Jan 7, 2020
@hasufell
Copy link
Author

hasufell commented Jan 7, 2020

As a workaround (if someone else stumbles over it), I did:

    iconv -c -f utf-8 -t ascii README.rst > README.tmp
    strings README.tmp > README.rst

evhub added a commit that referenced this issue Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants