Bug 223711
| Summary: | Failed to install logilab-common-0.58.1 with Windows Python 2.7 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <fujii.hironori> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | jbedard, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Fujii Hironori
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
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
We sure this is Python 2.7? test-webkitpy has a Python 3 she-bang now.
Fujii Hironori
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
<rdar://problem/76067587>
Fujii Hironori
Python 2.7 is no longer used. Closed.