<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>281850</bug_id>
          
          <creation_ts>2024-10-21 04:17:31 -0700</creation_ts>
          <short_desc>[GTK] print-screen-size script fails to find Gtk module</short_desc>
          <delta_ts>2024-10-24 22:53:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2069537</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-10-21 04:17:31 -0700</bug_when>
    <thetext>When checking the Xvfb display server &quot;:2&quot; the print-screen-size tool returned non-zero status. stdout is &quot;b&apos;&apos;&quot; and stderr is &quot;b&apos;Traceback (most recent call last):\n  File &quot;WebKit/Tools/gtk/print-screen-size&quot;, line 28, in &lt;module&gt;\n    gi.require_version(\&apos;Gtk\&apos;, \&apos;3.0\&apos;)\n  File &quot;/usr/lib/python3/dist-packages/gi/__init__.py&quot;, line 122, in require_version\n    raise ValueError(\&apos;Namespace %s not available\&apos; % namespace)\nValueError: Namespace Gtk not available\n&apos;&quot;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069538</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-10-21 04:19:48 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35515</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070509</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-24 22:52:47 -0700</bug_when>
    <thetext>Committed 285690@main (07d2806090f0): &lt;https://commits.webkit.org/285690@main&gt;

Reviewed commits have been landed. Closing PR #35515 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070510</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-24 22:53:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/138612868&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>