Bug 281850
Summary: | [GTK] print-screen-size script fails to find Gtk module | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
Component: | Tools / Tests | Assignee: | 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
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
Pull request: https://github.com/WebKit/WebKit/pull/35515
EWS
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
<rdar://problem/138612868>