[Webkit-unassigned] [Bug 244682] New: [GLib][webkitpy] Script apply-build-revision-to-files.py does not work with Python 3.10
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 1 11:36:24 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=244682
Bug ID: 244682
Summary: [GLib][webkitpy] Script
apply-build-revision-to-files.py does not work with
Python 3.10
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aperez at igalia.com
Traceback (most recent call last):
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/glib/apply-build-revision-to-files.py", line 68, in <module>
sys.exit(main(sys.argv[1:]))
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/glib/apply-build-revision-to-files.py", line 41, in main
build_revision = get_build_revision()
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/glib/apply-build-revision-to-files.py", line 32, in get_build_revision
return str(repository.find("HEAD", include_log=False))
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 871, in find
return self.commit(hash=output.stdout.rstrip(), include_log=include_log, include_identifier=include_identifier)
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 685, in commit
cached_identifier = self.cache.to_identifier(hash=hash, branch=branch) if self.cache else None
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 295, in to_identifier
self.populate(branch=branch)
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 114, in populate
self.populate(branch=self.repo.default_branch, remote=self.repo.default_remote)
File "/home/aperez/buildroot/output-rpi4test/build/wpewebkit-custom/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/local/git.py", line 162, in populate
line = log.stdout.readline()
File "/home/aperez/buildroot/output-rpi4test/per-package/wpewebkit/host/lib/python3.10/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 4655: invalid continuation byte
--
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/20220901/dfd6ac04/attachment-0001.htm>
More information about the webkit-unassigned
mailing list