Bug 233936

Summary: [webkitcorepy] Fail to install python module when a working directory is not on C drive on Windows
Product: WebKit Reporter: Yousuke Kimoto <Yousuke.Kimoto>
Component: Tools / TestsAssignee: Yousuke Kimoto <Yousuke.Kimoto>
Status: RESOLVED FIXED    
Severity: Normal CC: jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Yousuke Kimoto
Reported 2021-12-07 10:28:09 PST
On Windows, autoinstall.py fails to install python modules when your working directory is not on C drive. For example, your working path is D:/working_dir and launching "run-webkit-httpd". Then you will see: ImportError: No module named xxxxx Because python modules are installed at C:/working_dir, "run-webkit-httpd" can't find the installed modules on your working directory (D drive). For Windows, a drive letter where your working directory exists should be passed to "--root" option of "setup.py" in autoinstall.py.
Attachments
patch (2.34 KB, patch)
2021-12-07 10:52 PST, Yousuke Kimoto
no flags
Yousuke Kimoto
Comment 1 2021-12-07 10:52:06 PST
Yousuke Kimoto
Comment 2 2021-12-07 17:08:48 PST
Comment on attachment 446203 [details] patch Jonathan Bedard, thank you for reviewing.
EWS
Comment 3 2021-12-07 17:33:52 PST
Committed r286633 (?): <https://commits.webkit.org/r286633> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446203 [details].
Radar WebKit Bug Importer
Comment 4 2021-12-07 17:34:24 PST
Note You need to log in before you can comment on or make changes to this bug.