Bug 281850

Summary: [GTK] print-screen-size script fails to find Gtk module
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: Tools / TestsAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: Gtk, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Carlos Garcia Campos
Reported 2024-10-21 04:17:31 PDT
When checking the Xvfb display server ":2" the print-screen-size tool returned non-zero status. stdout is "b''" and stderr is "b'Traceback (most recent call last):\n File "WebKit/Tools/gtk/print-screen-size", line 28, in <module>\n gi.require_version(\'Gtk\', \'3.0\')\n File "/usr/lib/python3/dist-packages/gi/__init__.py", line 122, in require_version\n raise ValueError(\'Namespace %s not available\' % namespace)\nValueError: Namespace Gtk not available\n'" This is because I no longer build GTK3 in my jhbuild, and the script is not finding in system dirs because GI_TYPELIB_PATH is not copied to the tests environment.
Attachments
Carlos Garcia Campos
Comment 1 2024-10-21 04:19:48 PDT
EWS
Comment 2 2024-10-24 22:52:47 PDT
Committed 285690@main (07d2806090f0): <https://commits.webkit.org/285690@main> Reviewed commits have been landed. Closing PR #35515 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-10-24 22:53:14 PDT
Note You need to log in before you can comment on or make changes to this bug.