[Webkit-unassigned] [Bug 156674] Build tools should work when the /usr/bin/python is python3

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 24 07:37:39 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=156674

--- Comment #38 from Mike Gorse <mgorse at suse.com> ---
(In reply to Tomas Popela from comment #37)
> I also got this error:
> 
> Traceback (most recent call last):
>   File
> "/builddir/build/BUILD/webkitgtk-2.22.2/Source/JavaScriptCore/Scripts/
> generateYarrUnicodePropertyTables.py", line 953, in <module>
>     propertyDataHFile.write(header)
> TypeError: a bytes-like object is required, not 'str'

I wonder if you have the changes to that file in your build, since it has been moved upstream, along with hasher.py, so you would have needed to explicitly tell patch where to find it. Specifically, the header should now be opened with "w", rather than "wb".
If you do, in fact, have that change, then I'm puzzled as to why python would be wanting a bytes object.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180924/7c0ac06a/attachment.html>


More information about the webkit-unassigned mailing list