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

0.5.6 fails to build due to invalid character in README.rst #213

Open
tomh4x opened this issue Oct 4, 2020 · 2 comments
Open

0.5.6 fails to build due to invalid character in README.rst #213

tomh4x opened this issue Oct 4, 2020 · 2 comments

Comments

@tomh4x
Copy link

tomh4x commented Oct 4, 2020

Collecting socketio-client==0.5.6
  Downloading socketIO-client-0.5.6.tar.gz (12 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rd82duxw/socketio-client/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rd82duxw/socketio-client/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-3x1qteoz
         cwd: /tmp/pip-install-rd82duxw/socketio-client/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-rd82duxw/socketio-client/setup.py", line 6, in <module>
        README = open(os.path.join(here, 'README.rst')).read()
      File "/usr/lib/python3.6/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 5786: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

a42704e line 159:

Jörgen

@tomh4x
Copy link
Author

tomh4x commented Oct 4, 2020

Related:

MISP/misp-docker#91

@tomh4x
Copy link
Author

tomh4x commented Oct 5, 2020

>>> b'\xc3\xb6'.decode('ascii')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
>>> b'\xc3\xb6'.decode('utf-8')
'ö'
>>>

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

1 participant