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

UnicodeDecodeError in install with LC_ALL=C #90

Closed
uSpike opened this issue May 18, 2015 · 3 comments · Fixed by #91
Closed

UnicodeDecodeError in install with LC_ALL=C #90

uSpike opened this issue May 18, 2015 · 3 comments · Fixed by #91
Assignees

Comments

@uSpike
Copy link
Contributor

uSpike commented May 18, 2015

No description provided.

@uSpike
Copy link
Contributor Author

uSpike commented May 18, 2015

Woops, submitted too fast.

Same issue as gabrielfalcao/HTTPretty#223

ERROR: invocation failed (exit code 1), logfile: /home/vagrant/trunk/.tox/py34/log/py34-2.log
ERROR: actionid: py34
msg: installpkg
cmdargs: [local('/home/vagrant/trunk/.tox/py34/bin/pip'), 'install', '--upgrade', '/home/vagrant/trunk/.tox/dist/redmine-1.0.post0.zip']
env: {'LC_ALL': 'C', 'PYTHONHASHSEED': '2415528924', 'PATH': '/home/vagrant/trunk/.tox/py34/bin:/home/vagrant/trunk/venv3/bin:/home/vagrant/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games', 'VIRTUAL_ENV': '/home/vagrant/trunk/.tox/py34'}

Processing ./.tox/dist/redmine-1.0.post0.zip
Collecting python-redmine (from redmine==1.0.post0)
  This repository located at pypi is not a trusted host, if this repository is available via HTTPS it is recommend to use HTTPS instead, otherwise you may silence this warning with '--trusted-host pypi'.
  DEPRECATION: Implicitly allowing locations which are not hosted at a secure origin is deprecated and will require the use of --trusted-host in the future.
  Using cached python-redmine-1.1.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-usq3zo_r/python-redmine/setup.py", line 37, in <module>
        long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),
      File "/home/vagrant//trunk/.tox/py34/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 0xe2 in position 3906: ordinal not in range(128)

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-usq3zo_r/python-redmine

uSpike added a commit to uSpike/python-redmine that referenced this issue May 18, 2015
@uSpike
Copy link
Contributor Author

uSpike commented May 18, 2015

This issue is not only when using tox. It affects any installation with LC_ALL=C

(venv3) $ LC_ALL=C pip install -I python-redmine
Collecting python-redmine
  This repository located at pypi is not a trusted host, if this repository is available via HTTPS it is recommend to use HTTPS instead, otherwise you may silence this warning with '--trusted-host pypi'.
  DEPRECATION: Implicitly allowing locations which are not hosted at a secure origin is deprecated and will require the use of --trusted-host in the future.
  Using cached python-redmine-1.1.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-rru1ev4z/python-redmine/setup.py", line 37, in <module>
        long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),
      File "/home/vagrant/venv3/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 0xe2 in position 3906: ordinal not in range(128)

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rru1ev4z/python-redmine
(venv3) $

@uSpike uSpike changed the title UnicodeDecodeError in tox install UnicodeDecodeError in install with LC_ALL=C May 18, 2015
@maxtepkeev maxtepkeev self-assigned this May 20, 2015
@maxtepkeev
Copy link
Owner

Thanks for investigating and fixing this. I have to be more careful with unicode symbols.

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

Successfully merging a pull request may close this issue.

2 participants