Bug 257376
Summary: | [WPE][GTK] Flatpak check on host without flatpak throws a traceback | ||
---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <philn> |
Component: | WebKitGTK | Assignee: | Philippe Normand <philn> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Philippe Normand
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
Pull request: https://github.com/WebKit/WebKit/pull/14388
EWS
Committed 264583@main (cfc421c1dc1b): <https://commits.webkit.org/264583@main>
Reviewed commits have been landed. Closing PR #14388 and removing active labels.