Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515312 - dev-python/tabulate-0.7.2 fails on non-unicode locales
Summary: dev-python/tabulate-0.7.2 fails on non-unicode locales
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-27 02:48 UTC by Patrick Lauer
Modified: 2018-04-24 16:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2014-06-27 02:48:21 UTC
/usr/bin/python3.3 setup.py build
/usr/bin/python2.7 setup.py build
/usr/bin/python3.4 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/tabulate-0.7.2/work/tabulate-0.7.2-python2_7/lib
copying tabulate.py -> /var/tmp/portage/dev-python/tabulate-0.7.2/work/tabulate-0.7.2-python2_7/lib
warning: build_py: byte-compiling is disabled, skipping.

Traceback (most recent call last):
  File "setup.py", line 10, in <module>
    LONG_DESCRIPTION = open("README.rst").read().replace("`_", "`")
  File "/usr/lib64/python3.3/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 8669: ordinal not in range(128)
 * ERROR: dev-python/tabulate-0.7.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
Traceback (most recent call last):
  File "setup.py", line 10, in <module>
    LONG_DESCRIPTION = open("README.rst").read().replace("`_", "`")
  File "/usr/lib64/python3.4/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 8669: ordinal not in range(128)
 *     ebuild.sh, line   93:  Called src_compile
 * ERROR: dev-python/tabulate-0.7.2::gentoo failed (compile phase):
 *   (no error message)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-24 16:40:52 UTC
This most likely has been fixed by the eclass forcing UTF-8, if not upstream.  In any case, can't reproduce with 0.8.1.