[Webkit-unassigned] [Bug 211144] New: [GTK] update-webkitgtk-libs: TypeError: cannot use a string pattern on a bytes-like object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 28 13:42:02 PDT 2020


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

            Bug ID: 211144
           Summary: [GTK] update-webkitgtk-libs: TypeError: cannot use a
                    string pattern on a bytes-like object
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org

Looks like this script was written for python2 (in 2018!) and then never updated:

$ update-webkitgtk-libs 
Adding repo webkit-sdk
Updating Flatpak Debug environment
Installing from webkit-sdk org.webkit.Platform x86_64 0.2
Looking for matches…


        ID                         Branch Op Remote     Download
 1. [✓] org.webkit.Platform.Locale 0.2    i  webkit-sdk  16.9 kB / 1.3 GB
 2. [✓] org.webkit.Platform        0.2    i  webkit-sdk 367.1 MB / 1.2 GB

Installation complete.
Installing from webkit-sdk org.webkit.Sdk x86_64 0.2
Looking for matches…


        ID                      Branch   Op   Remote      Download
 1. [✓] org.webkit.Sdk.Locale   0.2      i    webkit-sdk   16.9 kB / 1.4 GB
 2. [✓] org.webkit.Sdk          0.2      i    webkit-sdk  489.9 MB / 2.3 GB

Installation complete.
Installing from flathub org.freedesktop.Platform.GL.default x86_64 19.08
Looking for matches…


        ID                                  Branch Op Remote  Download
 1. [✓] org.freedesktop.Platform.GL.default 19.08  i  flathub 94.4 MB / 94.9 MB

Installation complete.
Installing from webkit-sdk org.webkit.Sdk.Debug x86_64 0.2
Looking for matches…


        ID                     Branch   Op   Remote       Download
 1. [✓] org.webkit.Sdk.Debug   0.2      i    webkit-sdk   2.3 GB / 3.7 GB

Installation complete.
bwrap: Can't find source path /run/user/b'1000'/doc: No such file or directory
Traceback (most recent call last):
  File "Tools/Scripts/update-webkit-flatpak", line 28, in <module>
    WebkitFlatpak.load_from_args(["--update"] + sys.argv[1:]).run()
  File "./Tools/flatpak/flatpakutils.py", line 805, in run
    return self.main()
  File "./Tools/flatpak/flatpakutils.py", line 797, in main
    self.setup_icecc("gcc")
  File "./Tools/flatpak/flatpakutils.py", line 826, in setup_icecc
    icc_version_filename, = re.findall(r'.*creating (.*)', tmpfile.read())
  File "/usr/lib64/python3.8/re.py", line 239, in findall
    return _compile(pattern, flags).findall(string)
TypeError: cannot use a string pattern on a bytes-like object
Died at /home/mcatanzaro/Projects/WebKit/Tools/Scripts/update-webkitgtk-libs line 28.

-- 
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/20200428/b6358703/attachment.htm>


More information about the webkit-unassigned mailing list