Bug 257376

Summary: [WPE][GTK] Flatpak check on host without flatpak throws a traceback
Product: WebKit Reporter: Philippe Normand <philn>
Component: WebKitGTKAssignee: Philippe Normand <philn>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Philippe Normand
Reported 2023-05-26 05:26:44 PDT
Traceback (most recent call last): File "/var/home/phil/WebKit/Tools/Scripts/run-webkit-tests", line 43, in <module> flatpakutils.run_in_sandbox_if_available(sys.argv) File "/var/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 1341, in run_in_sandbox_if_available if not check_flatpak(verbose=False): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/home/phil/WebKit/Tools/flatpak/flatpakutils.py", line 204, in check_flatpak version = output.split(" ")[1].strip("\n") ^^^^^^ UnboundLocalError: cannot access local variable 'output' where it is not associated with a value
Attachments
Philippe Normand
Comment 1 2023-05-26 05:28:34 PDT
EWS
Comment 2 2023-05-26 08:14:37 PDT
Committed 264583@main (cfc421c1dc1b): <https://commits.webkit.org/264583@main> Reviewed commits have been landed. Closing PR #14388 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.