Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpretability of error when unpacking fails #133

Open
willtebbutt opened this issue Jan 28, 2021 · 1 comment
Open

Interpretability of error when unpacking fails #133

willtebbutt opened this issue Jan 28, 2021 · 1 comment

Comments

@willtebbutt
Copy link
Contributor

willtebbutt commented Jan 28, 2021

I utilised unpack as part of the post-processing step with a data dep, and obtained the following error:

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,16 CPUs Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz (50654),ASM,AES-NI)


Extracting archive:
--
Path =
Type = tar
Code Page = UTF-8


ERROR: E_FAIL

Archives with Errors: 1

ERROR: failed process: Process(`/homes/wct23/.julia/artifacts/08bc533aa5e22ad6d51123091b90f121342ad45d/bin/7z x -si -y -ttar -o/scratch/will/.julia/datadeps/ghcn-data`, ProcessExited(2)) [2]

So it appeared that the data had been downloaded, it had just failed to unpack for some reason. So I tried unpacking the data manually with tar and it turned out that I had run out of disc space!

The issue here was that the problem wasn't obvious from the output that DataDeps gave me. It's unclear whether this is really a problem on 7-Zip's side or DataDeps, but I thought I would point it out here so that you're aware of the issue :)

edit: tbh, I don't know how much of an issue this really is, or how fixable it is. Please feel free to close this if you feel it's something that isn't addressable / isn't worth addressing.

@oxinabox
Copy link
Owner

I think that it is a problem with 7zip.
Though perhaps there is a flag we can set to make it give better error messages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants