<?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>202839</bug_id>
          
          <creation_ts>2019-10-10 20:42:31 -0700</creation_ts>
          <short_desc>[WinCairo] auto-installing raises exception &quot;Inner message: global name &apos;urllib2&apos; is not defined&quot; since r250869</short_desc>
          <delta_ts>2019-10-10 22:20:15 -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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Fujii Hironori">fujii</assigned_to>
          <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1578983</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-10 20:42:31 -0700</bug_when>
    <thetext>[WinCairo] auto-installing raises exception &quot;Inner message: global name &apos;urllib2&apos; is not defined&quot; since r250869

auto-installing is failing since r250869 (Bug 201955) in fresh checkout WinCairo env (no autoinstalled modules).

PS C:\webkit\ga&gt; python .\Tools\Scripts\check-webkit-style
Traceback (most recent call last):
  File &quot;.\Tools\Scripts\check-webkit-style&quot;, line 44, in &lt;module&gt;
    from webkitpy.style.main import CheckWebKitStyle
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\style\main.py&quot;, line 27, in &lt;module&gt;
    import webkitpy.style.checker as checker
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\style\checker.py&quot;, line 53, in &lt;module&gt;
    from checkers.python import PythonChecker, Python3Checker
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\style\checkers\python.py&quot;, line 31, in &lt;module&gt;
    from webkitpy.thirdparty.autoinstalled import pep8
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\__init__.py&quot;, line 98, in find_module
    self._install_pep8()
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\__init__.py&quot;, line 148, in _install_pep8
    &quot;pep8-0.5.0/pep8.py&quot;)
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\__init__.py&quot;, line 294, in _install
    installer.install(url=url, url_subpath=url_subpath, target_name=target_name)
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\common\system\autoinstall.py&quot;, line 540, in install
    raise Exception(message)
Exception: Error auto-installing the pep8.py package to:
 &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\autoinstalled\pep8.py&quot;
 --&gt; Inner message: global name &apos;urllib2&apos; is not defined


PS C:\webkit\ga&gt; python ./Tools/Scripts/run-webkit-tests --wincairo --debug
Traceback (most recent call last):
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\run_webkit_tests.py&quot;, line 40, in &lt;module&gt;
    from webkitpy.layout_tests.controllers.manager import Manager
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\layout_tests\controllers\manager.py&quot;, line 59, in &lt;module&gt;
    from webkitpy.results.upload import Upload
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\results\upload.py&quot;, line 23, in &lt;module&gt;
    import webkitpy.thirdparty.autoinstalled.requests
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\__init__.py&quot;, line 126, in find_module
    self._install_requests()
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\__init__.py&quot;, line 189, in _install_requests
    &quot;certifi-2019.3.9/certifi&quot;)
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\__init__.py&quot;, line 294, in _install
    installer.install(url=url, url_subpath=url_subpath, target_name=target_name)
  File &quot;C:\webkit\ga\Tools\Scripts\webkitpy\common\system\autoinstall.py&quot;, line 540, in install
    raise Exception(message)
Exception: Error auto-installing the certifi package to:
 &quot;C:\webkit\ga\Tools\Scripts\webkitpy\thirdparty\autoinstalled\certifi&quot;
 --&gt; Inner message: global name &apos;urllib2&apos; is not defined
PS C:\webkit\ga&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1578984</commentid>
    <comment_count>1</comment_count>
      <attachid>380718</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-10 20:55:01 -0700</bug_when>
    <thetext>Created attachment 380718
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1578998</commentid>
    <comment_count>2</comment_count>
      <attachid>380718</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-10 22:19:01 -0700</bug_when>
    <thetext>Comment on attachment 380718
Patch

Clearing flags on attachment: 380718

Committed r251001: &lt;https://trac.webkit.org/changeset/251001&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1578999</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-10 22:19:04 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1579000</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-10-10 22:20:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/56180981&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>380718</attachid>
            <date>2019-10-10 20:55:01 -0700</date>
            <delta_ts>2019-10-10 22:19:01 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-202839-20191011125500.patch</filename>
            <type>text/plain</type>
            <size>1447</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjUxMDAwCmRpZmYgLS1naXQgYS9Ub29scy9DaGFuZ2VMb2cg
Yi9Ub29scy9DaGFuZ2VMb2cKaW5kZXggNjVlODllMTljNjYyOTM0MDU5Mjc0ZWYxYmM5OWIzN2Zl
NjYyMThmMS4uY2M5MGFmY2RmNjRmNTkxZDJiYTVlZDJiMWU5N2NjZThiNzkyYmRlYiAxMDA2NDQK
LS0tIGEvVG9vbHMvQ2hhbmdlTG9nCisrKyBiL1Rvb2xzL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEz
IEBACisyMDE5LTEwLTEwICBGdWppaSBIaXJvbm9yaSAgPEhpcm9ub3JpLkZ1amlpQHNvbnkuY29t
PgorCisgICAgICAgIFtXaW5DYWlyb10gYXV0by1pbnN0YWxsaW5nIHJhaXNlcyBleGNlcHRpb24g
IklubmVyIG1lc3NhZ2U6IGdsb2JhbCBuYW1lICd1cmxsaWIyJyBpcyBub3QgZGVmaW5lZCIgc2lu
Y2UgcjI1MDg2OQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9MjAyODM5CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAg
ICAgKiBTY3JpcHRzL3dlYmtpdHB5L2NvbW1vbi9zeXN0ZW0vYXV0b2luc3RhbGwucHk6CisgICAg
ICAgIChBdXRvSW5zdGFsbGVyLl9kb3dubG9hZF90b19zdHJlYW0pOiBSZXBsYWNlZCB1cmxsaWIy
LnVybG9wZW4gd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