pylti 0.6.0 causes unicode error in python 3.4.3
nikolas opened this issue · 4 comments
nikolas commented
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)
pdpinch commented
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 commented
@amir-qayyum-khan can you take a look at this?
noisecapella commented
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 commented
This occurred in my jenkins instance. It actually passed fine after a second attempt, so I might just be confused.