[Bug 750562] New: mangle-tmpl.py: Do not cast bytes to str implicitly
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jun 8 05:51:02 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=750562
Bug ID: 750562
Summary: mangle-tmpl.py: Do not cast bytes to str implicitly
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: common
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: hfink at toolsonair.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 304768
--> https://bugzilla.gnome.org/attachment.cgi?id=304768&action=edit
Fixes compilation with python3
Compilation under Arch Linux failed, because python == python3, and
mangle-tmpl.py attempts to implicitly cast bytes to str:
DOC Scanning header files
Traceback (most recent call last):
File "../../common/mangle-tmpl.py", line 125, in <module>
main()
File "../../common/mangle-tmpl.py", line 120, in main
'<fallback xmlns="http://www.w3.org/2003/XInclude" />' + \
TypeError: Can't convert 'bytes' object to str implicitly
Makefile:976: recipe for target 'tmpl-build.stamp' failed
Attached patch should fix it, but neither do I really know what mangle-tmpl.py
actually does, nor am I much of a python expert, so please review this
mini-patch :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list