Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 03:42:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216208] textproc/py-tabletext: configure target fails under py3k with UnicodeDecodeError
Message-ID:  <bug-216208-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216208

            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@FreeBSD.org
          Reporter: john@saltant.com
                CC: python@FreeBSD.org
 Attachment #179022 maintainer-approval?
             Flags:
          Assignee: kmoore@FreeBSD.org
             Flags: maintainer-feedback?(kmoore@FreeBSD.org)

Created attachment 179022
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179022&action=
=3Dedit
textproc/py-tabletext: Specify encoding of files in setup.py

Sample error:

=3D=3D=3D>  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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216208-13>