Tinderbox crashes with UnicodeDecodeError on Fedora 19
Submitted by Jiro Matsuzawa
Link to original bug (#699434)
Description
The tinderbox command crashes with UnicodeDecodeError on Fedora 19 (Schrödinger’s Cat).
Here is a traceback:
% jhbuild tinderbox -o ~/log
Traceback (most recent call last):
File "/usr/local/bin/jhbuild", line 32, in <module>
jhbuild.main.main(sys.argv[1:])
File "/usr/local/lib/python2.7/site-packages/jhbuild/main.py", line 148, in main
rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
File "/usr/local/lib/python2.7/site-packages/jhbuild/commands/init.py", line 183, in run
return cmd.execute(config, args, help)
File "/usr/local/lib/python2.7/site-packages/jhbuild/commands/init.py", line 52, in execute
return self.run(config, options, args, help)
File "/usr/local/lib/python2.7/site-packages/jhbuild/commands/tinderbox.py", line 108, in run
return build.build()
File "/usr/local/lib/python2.7/site-packages/jhbuild/frontends/buildscript.py", line 99, in build
self.start_build()
File "/usr/local/lib/python2.7/site-packages/jhbuild/frontends/tinderbox.py", line 327, in start_build
'charset': self.charset })
File "/usr/lib64/python2.7/codecs.py", line 691, in write
return self.writer.write(data)
File "/usr/lib64/python2.7/codecs.py", line 351, in write
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 710: ordinal not in range(128)
The code name, "Schrödinger’s Cat", may cause this error. It has a non-ascii character "ö" (UTF-8: 0xC3 0xB6).
[JHBuild Version] e019ec06 (Wed May 1 16:13:50 2013 +0100) of the master branch on the git.gnome.org/jhbuild.
[Other Info]
% cat /etc/issue
Fedora release 19 (Schrödinger’s Cat)
Kernel \r on an \m (\l)
% python --version Python 2.7.4