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

Installation fails on python 3.4.0 #27

Closed
waghanza opened this issue Jul 21, 2014 · 2 comments
Closed

Installation fails on python 3.4.0 #27

waghanza opened this issue Jul 21, 2014 · 2 comments

Comments

@waghanza
Copy link

Hi,

I am using schedule as a cron-like library. Installation on my OS X (python3 installed via brew) has just being install, but I can't install on my production server (debian).

I've check my setups, I have 3.4.0 on my debian and 3.4.1 on my OS X.

On python 3.4.0I have

Downloading/unpacking schedule
  Downloading schedule-0.3.0.tar.gz
  Running setup.py (path:/tmp/pip_build_root/schedule/setup.py) egg_info for package schedule
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip_build_root/schedule/setup.py", line 20, in <module>
        open('README.rst').read() + '\n\n' +
      File "/usr/local/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 1964: ordinal not in range(128)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 20, in <module>

  File "/tmp/pip_build_root/schedule/setup.py", line 20, in <module>

    open('README.rst').read() + '\n\n' +

  File "/usr/local/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 1964: ordinal not in range(128)

----------------------------------------
Cleaning up...
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip_build_root/schedule
Storing debug log for failure in /root/.pip/pip.log

Regards,

@dbader
Copy link
Owner

dbader commented Aug 12, 2014

Thanks for reporting this one @waghanza and sorry for my late reply! This seems to be caused by the (long dash) character in README.rst.

As for fixing this issue we could either replace that character with a regular dash (-) to make the file plain ASCII or work around the encoding issue when we read the file. I'll ping you once I've addressed the issue and released a new PyPI package. I should be able to get this done sometime this week.

@dbader
Copy link
Owner

dbader commented Jul 3, 2015

Closing because it's been fixed for a while.

@dbader dbader closed this as completed Jul 3, 2015
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

2 participants