JuliaLinearAlgebra / MatrixDepot.jl

An Extensible Test Matrix Collection for Julia
http://matrixdepotjl.readthedocs.org/
Other
75 stars 22 forks source link

Error occurs in "download.jl" on Windows cause of "tar" function #47

Closed BursonTang closed 3 years ago

BursonTang commented 4 years ago

Hello, I got an error when trying to download data using: mdopen("SNAP/web-Google") Error Message: tar: Cannot connect to C: resolve failed failed process: Process(`tar -vxf 'C:\path\path' -C 'C:\path\path' ....)

According to tar manual at chapter 6.1 Choosing and Naming Archive Files, "If the archive file name includes a colon (‘:’), then it is assumed to be a file on another machine" and also ". Filenames with a colon are common for Windows users (e.g., C: ) and if you need to use a file whose name includes a colon, then the remote tape drive behavior can be inhibited by using the ‘--force-local’ option".

The problem is solved by editing the download.jl line199 to run(tar --force-local -vxf $tarfile -C $dir). Maybe you should modify this line of code.

Thank you.

KlausC commented 3 years ago

resolved in v1.0