WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
223711
Failed to install logilab-common-0.58.1 with Windows Python 2.7
https://bugs.webkit.org/show_bug.cgi?id=223711
Summary
Failed to install logilab-common-0.58.1 with Windows Python 2.7
Fujii Hironori
Reported
2021-03-24 13:19:27 PDT
Failed to install logilab-common-0.58.1 with Windows Python 2.7
r274965
(
235718@main
) python .\Tools\Scripts\test-webkitpy Downloading logilab-common-0.58.1... Failed to install logilab-common-0.58.1! Traceback (most recent call last): File "C:\home\webkit\ga\Tools\Scripts\webkitpy\test\main.py", line 356, in <module> sys.exit(main()) File "C:\home\webkit\ga\Tools\Scripts\webkitpy\test\main.py", line 111, in main return not tester.run() File "C:\home\webkit\ga\Tools\Scripts\webkitpy\test\main.py", line 184, in run return self._run_tests(names) File "C:\home\webkit\ga\Tools\Scripts\webkitpy\test\main.py", line 191, in _run_tests AutoInstall.install_everything() File "C:\home\webkit\ga\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 550, in install_everything package.install() File "C:\home\webkit\ga\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 259, in install archive.unpack(temp_location) File "C:\home\webkit\ga\Tools\Scripts\libraries\webkitcorepy\webkitcorepy\autoinstall.py", line 123, in unpack file.extractall(target) File "C:\Python27\lib\tarfile.py", line 2081, in extractall self.extract(tarinfo, path) File "C:\Python27\lib\tarfile.py", line 2118, in extract self._extract_member(tarinfo, os.path.join(path, tarinfo.name)) File "C:\Python27\lib\tarfile.py", line 2194, in _extract_member self.makefile(tarinfo, targetpath) File "C:\Python27\lib\tarfile.py", line 2234, in makefile with bltn_open(targetpath, "wb") as target: IOError: [Errno 13] Permission denied: 'c:\\users\\000013~1\\appdata\\local\\temp\\logilab.common\\logilab-common-0.58.1\\test\\data\\write_protected_file.txt'
Attachments
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2021-03-24 13:44:29 PDT
Bug 223609 Comment 2
is going to change the version of logilab.common. I tested the patch and confirmed it doesn't have this issue.
Jonathan Bedard
Comment 2
2021-03-25 11:12:07 PDT
We sure this is Python 2.7? test-webkitpy has a Python 3 she-bang now.
Fujii Hironori
Comment 3
2021-03-25 12:49:15 PDT
Because shebang doesn't work on Windows, Windows devs have to remember which interpreter is expected by each script and explicitly invoke them. For example, python3.exe .\Tools\Scripts\test-webkitpy python.exe .\Tools\Scripts\test-webkitpy-python2 Anyway, test-webkitpy-python2 also has this issue.
Radar WebKit Bug Importer
Comment 4
2021-03-31 13:20:22 PDT
<
rdar://problem/76067587
>
Fujii Hironori
Comment 5
2022-05-08 22:20:40 PDT
Python 2.7 is no longer used. Closed.
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