I guess because the default language in the build env is not UTF-8 and the script does require it implicitly. Had the same problem too, got it fixed upstream fortunately. You can fix it by setting the encoding in the failing command. Sebastian On 06/08/2017 08:35 PM, Axel Braun wrote:
Hi,
I'm currently building some (new) py3 software, and get an error (TW as well as Leap 42.2):
[ 14s] + cd health [ 14s] + python3 setup.py build [ 14s] Traceback (most recent call last): [ 14s] File "setup.py", line 52, in <module> [ 14s] long_description=read('README'), [ 14s] File "setup.py", line 25, in read [ 14s] return open(os.path.join(os.path.dirname(__file__), fname)).read() [ 14s] File "/usr/lib64/python3.4/encodings/ascii.py", line 26, in decode [ 14s] return codecs.ascii_decode(input, self.errors)[0] [ 14s] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4474: ordinal not in range(128) [ 14s] error: Bad exit status from /var/tmp/rpm-tmp.kDPWdM (%build)
Now, if I run the command (unpack the tarball, cd to the directory and do a 'python3 setup.py build') from a local 42.2 VBox-installation , everything works fine.
Any idea what this could be?
Thx Axel
-- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers