p icon indicating copy to clipboard operation
p copied to clipboard

Space in url for download of python sources prevents download of python sources.

Open callahanp opened this issue 9 years ago • 1 comments

in commit 8459aea Because the url now contains a space in the version directory, the fetch gets the directory https://www.python.org/ftp/python/ instead of the intended 2.7.10/Python-2.7.10.tgz. gzip fails because the directory listing is not the intended tgz file. Test results and patch included.

run_test 2.7.10


P_PREFIX: /home/pac1/work/testp_dir Test command: /home/pac1/work/p/bin/p 2.7.10

 install : Python-2.7.10
  create : /home/pac1/work/testp_dir/p/versions/python/2.7.10
   fetch : https://www.python.org/ftp/python/ 2.7.10/Python-2.7.10.tgz
################################################################## 100.0%

gzip: stdin: not in gzip format tar: Child returned status 1 configure : 2.7.10 compile : 2.7.10

Error: Unable to compile Python 2.7.10!

Note that after the error in the download, the script continued to run.

Attached Patch applied

Result This issue is fixed but issue #11 is still there:

run_test 2.7.10


P_PREFIX: /home/pac1/work/testp_dir Test command: /home/pac1/work/p/bin/p 2.7.10

 install : Python-2.7.10
  create : /home/pac1/work/testp_dir/p/versions/python/2.7.10
   fetch : https://www.python.org/ftp/python//2.7.10/Python-2.7.10.tgz

configure : 2.7.10 compile : 2.7.10

Error: Unable to compile Python 2.7.10!

callahanp avatar Dec 30 '15 16:12 callahanp

patch attached p_8459aea_gzip_error.patch.txt

callahanp avatar Dec 30 '15 16:12 callahanp