In parse_file(), in parser.py, open() is called without an encoding parameter. According to the open documentation the default encoding is platform dependent. It seems that when building RPMs in Koji (for Fedora), the platform encoding is ascii, which causes any non-ASCII sequence to raise an error, like in the dbus ducktype documentation (search for UnicodeDecodeError).
I guess that ducktype should specify an encoding, such as utf-8.
In
parse_file()
, inparser.py
,open()
is called without an encoding parameter. According to the open documentation the default encoding is platform dependent. It seems that when building RPMs in Koji (for Fedora), the platform encoding isascii
, which causes any non-ASCII sequence to raise an error, like in the dbus ducktype documentation (search forUnicodeDecodeError
).I guess that ducktype should specify an encoding, such as
utf-8
.