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

pylti 0.6.0 causes unicode error in python 3.4.3 #88

Open
nikolas opened this issue Apr 12, 2018 · 4 comments
Open

pylti 0.6.0 causes unicode error in python 3.4.3 #88

nikolas opened this issue Apr 12, 2018 · 4 comments

Comments

@nikolas
Copy link
Contributor

nikolas commented Apr 12, 2018

I get the following error on an Ubuntu 14.04 server using python 3.4.3:

Collecting pylti==0.6.0 (from -r requirements.txt (line 99))
  Downloading https://files.pythonhosted.org/packages/c0/5e/205c8fda20f96ac3d0c64329cf1192185c5cc5f9f1458f630c6b75d39bc8/PyLTI-0.6.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-d_1ba2ei/pylti/setup.py", line 121, in <module>
        README = open('README.rst').read()
      File "/mnt/jenkins/jobs/econplayground/workspace/ve/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 2314: ordinal not in range(128)
nikolas added a commit to ccnmtl/econplayground that referenced this issue Apr 12, 2018
Jenkins is failing with the new version: mitodl/pylti#88
@pdpinch
Copy link
Member

pdpinch commented Apr 12, 2018

Hm. Master passed tests with python 3.4.6 in travis: https://travis-ci.org/mitodl/pylti/jobs/364764509

But maybe the packaged version is slightly different from master.

@pdpinch
Copy link
Member

pdpinch commented Apr 12, 2018

@amir-qayyum-khan can you take a look at this?

@noisecapella
Copy link

noisecapella commented Apr 12, 2018

I just happened to see this. I ran it on python 3.4.3 specifically and it installed without a problem.

One quick fix might be to remove the smart apostrophe at position 2314 in README.rst and elsewhere in that file

@nikolas
Copy link
Contributor Author

nikolas commented Apr 12, 2018

This occurred in my jenkins instance. It actually passed fine after a second attempt, so I might just be confused.

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