WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
178925
autoinstall can't download from
http://pypi.python.org
https://bugs.webkit.org/show_bug.cgi?id=178925
Summary
autoinstall can't download from http://pypi.python.org
Fujii Hironori
Reported
2017-10-27 00:39:19 PDT
autoinstall can't download from
http://pypi.python.org
> $ ./Tools/Scripts/check-webkit-style > No handlers could be found for logger "webkitpy.common.system.autoinstall" > Traceback (most recent call last): > File "./Tools/Scripts/check-webkit-style", line 44, in <module> > from webkitpy.style.main import CheckWebKitStyle > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/style/main.py", line 27, in <module> > import webkitpy.style.checker as checker > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/style/checker.py", line 53, in <module> > from checkers.python import PythonChecker > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/style/checkers/python.py", line 30, in <module> > from webkitpy.thirdparty.autoinstalled import pep8 > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/thirdparty/__init__.py", line 92, in find_module > self._install_pep8() > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/thirdparty/__init__.py", line 120, in _install_pep8 > "pep8-0.5.0/pep8.py") > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/thirdparty/__init__.py", line 214, in _install > installer.install(url=url, url_subpath=url_subpath, target_name=target_name) > File "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/common/system/autoinstall.py", line 517, in install > raise Exception(message) > Exception: Error auto-installing the pep8.py package to: > "/Users/fujii/work/webkit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/pep8.py" > --> Inner message: Could not download Python modules from URL "None". > Make sure you are connected to the internet. > You must be connected to the internet when downloading needed modules for the first time. > --> Inner message: <urlopen error [Errno 8] nodename nor servname provided, or not known>
Attachments
Patch
(6.24 KB, patch)
2017-10-27 00:52 PDT
,
Fujii Hironori
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2017-10-27 00:40:38 PDT
The web server (pypi.python.org) rejects non secure http.
> $ curl --dump-header /dev/stdout
http://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz
> HTTP/1.1 403 Forbidden > Server: Varnish > Retry-After: 0 > Content-Type: text/plain; charset=UTF-8 > Content-Length: 16 > Accept-Ranges: bytes > Date: Fri, 27 Oct 2017 07:33:01 GMT > X-Served-By: cache-nrt6146-NRT > X-Cache: MISS > X-Cache-Hits: 0 > X-Frame-Options: deny > X-XSS-Protection: 1; mode=block > X-Content-Type-Options: nosniff > X-Permitted-Cross-Domain-Policies: none > Connection: keep-alive > > SSL is required.
Fujii Hironori
Comment 2
2017-10-27 00:52:13 PDT
Created
attachment 325132
[details]
Patch
Ryan Haddad
Comment 3
2017-10-27 09:38:40 PDT
Comment on
attachment 325132
[details]
Patch Clearing flags on attachment: 325132 Committed
r224114
: <
https://trac.webkit.org/changeset/224114
>
Ryan Haddad
Comment 4
2017-10-27 09:38:42 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5
2017-11-15 12:43:35 PST
<
rdar://problem/35568024
>
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