WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
281850
[GTK] print-screen-size script fails to find Gtk module
https://bugs.webkit.org/show_bug.cgi?id=281850
Summary
[GTK] print-screen-size script fails to find Gtk module
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
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2024-10-21 04:19:48 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/35515
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
<
rdar://problem/138612868
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug