[Bug 216208] textproc/py-tabletext: configure target fails under py3k with UnicodeDecodeError
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 18 03:42:58 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216208
Bug ID: 216208
Summary: textproc/py-tabletext: configure target fails under
py3k with UnicodeDecodeError
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kmoore at FreeBSD.org
Reporter: john at saltant.com
CC: python at FreeBSD.org
Attachment #179022 maintainer-approval?
Flags:
Assignee: kmoore at FreeBSD.org
Flags: maintainer-feedback?(kmoore at FreeBSD.org)
Created attachment 179022
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179022&action=edit
textproc/py-tabletext: Specify encoding of files in setup.py
Sample error:
===> Configuring for py34-tabletext-0.1
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 10, in <module>
+ open("CHANGELOG.rst").read(),
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 1321:
ordinal not in range(128)
*** Error code 1
I reported this upstream https://github.com/Thibauth/tabletext/issues/1
A fix is attached.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list