#51721: py27-tahchee @0.9.8_0 egg-info file breaks pkg_resoruces ----------------------------+-------------------------------- Reporter: munro1@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: python tahchee | Port: py27-tahchee ----------------------------+-------------------------------- After installing py27-tahchee, many other python ports are broken, including py27-nose (nosetests-2.7) and py27-docutils (e.g.- rst2html-2.7.py). The problem is that py27-tahchee installs an egg-info file containing a single latin1 character which causes the python pkg_resources package to fail when it is imported. You can exhibit the problem at the python prompt like this: {{{ python -E
import pkg_resources ... UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 629: invalid continuation byte in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/Tahchee-0.9.8-py2.7.egg-info }}}
The upstream URL mentioned in the py27-tahchee port is defunct. However, the problem was fixed in the upstream source at https://github.com/sebastien/tahchee by a commit in 2008. The current tahchee version at that source is 1.0.1. -- Ticket URL: <https://trac.macports.org/ticket/51721> MacPorts <https://www.macports.org/> Ports system for OS X