Closed pirocks closed 5 years ago
I don't think it hangs really. Check your network top, I am pretty sure it is still downloading. Those errors mean that some siva files listed in the index are missing from the remote storage, right @jfontan ?
I continued seeing heavy network activity for an hour or so, and then it stopped. I Ctrl+C'ed it and tried again(in the same directory), got a fair bit further before getting similar errors, and an eventual drop in network activity.
OK, since this apparently works fine for us, we need some information from your side:
Perhaps there are connection errors which we don't handle gracefully.
The immediate workaround is running ./pga list -l java -f csv
, getting the list of siva file names, and downloading them by hand after prepending https://pga.sourced.tech/siva/latest/
and then the first two letters of each name. For example, to fetch 20b626de662752618b3c28d192486b15f84a2087.siva
, the URL would be https://pga.sourced.tech/siva/latest/20/20b626de662752618b3c28d192486b15f84a2087.siva
.
It is interesting to see errors of the semi-manual download.
I've since rerun a third time in the same directory, and at the moment I have no errors, with good network utilization.
OS:
Linux francis-desktop 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16) x86_64 GNU/Linux
Free space on disk:
francis@francis-desktop::/mnt/harddrive2/maven-stuff$ df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/sdb2 916G 704G 213G 77% /mnt/harddrive2
Note free space is with about 83% of pga get --lang java --output .
already downloaded.
Connection speed: Gigabit connection to router, Gigabit connection to outside world.
@mcarmonaa can you please take a look
@pirocks Can you please test the fixed code (see here how to build from source). We have closed this issue, but if the problem persists, we will re-open.
After running
pga get --lang java --output .
. I get The following output:The download seems to hang on file 425 with the above errors.