dload.git_clone is not working on Win10
poupin opened this issue · 0 comments
poupin commented
Hi,
I'm facing to following issue when running the script on Win10+Python 3.8.6:
--> Cloning the latest FreeRTOS Kernel Version (https://github.com/FreeRTOS/FreeRTOS-Kernel.git)
please wait...
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\site-packages\dload_init_.py", line 256, in save_unzip
with zipfile.ZipFile(zip_path, 'r') as zip_ref:
File "C:\Program Files\Python38\lib\zipfile.py", line 1269, in init
self._RealGetContents()
File "C:\Program Files\Python38\lib\zipfile.py", line 1336, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
None
Getting the same error when tried to execute the command from line 702 manually (the variables were replaced by string values):
dload.git_clone("https://github.com/FreeRTOS/FreeRTOS-Kernel.git", os.getcwd()+'\'+ "working_folder\")