-
Notifications
You must be signed in to change notification settings - Fork 444
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
zip: compress with deflate instead of bzip2 #5
Comments
Can you verify that the archive is not corrupted by checking its SHA-1 hash? It should be |
The SHA-1 hash comes out the same so that's good. What I see when I try to unzip this on MacOS is this: "Unable to expand "fma_metadata.zip into Desktop" (Error 1 - Operation Not permitted)" Is it not actually a .zip compression by chance? |
I was able to successfully download and unzip the file with linux, so I imagine it's an environment issue.
|
Yep I think too. It looks like a permission issue. Have you write access to |
Same thing from another folder. Also we tried a colleague's windows machine and the default windows unzip couldn't do it. Here are some additional details. When I tried "unzip -a fma_metadata.zip" on mac I get results like this: |
That's indeed not an acceptable solution. I wonder how many people encountered this issue, as there has been many downloads. The archive is created by the The PK compat suggests that the zip version needed to uncompress the file is greater than what your utility supports. And indeed, the BZIP2 compression method I used has been introduced in 4.6 (from 2001). Now the question is, how common are zip utilities who do not support 4.6? |
I'm not sure but I'm trying on Archive Utility on a brand new macbook pro. We also tried it with the default windows unzip on Windows 10. |
Hehe maybe. I'm surprised the last version of the two major OS do not support a zip format from 2001... Anyway that should be fixed. I'll compress the text files of the next release with deflate instead of bzip2. The increase in size should be relatively small, compared to the audio. Thanks for reporting this! :) |
Thanks. When is the next release? |
Some time after my current vacations. Let's say around mid-August. |
For the record, here's another user having issues with the zip:
I'm still surprised by this "destination file could not be created" error (similar to @mhamberg1 macOS message). It's clearly misleading. |
Hi, I had the exact same issue. I ended up using
and it worked! |
I had the exact same issue on my Mac. I was able to unzip it just fine from within R, however:
|
Yep. |
bzip2 is in standard zip since 2001. ;) I'm currently working on getting the next release out. It will be fixed before ISMIR. I just wanted to wait a bit to get more feedback and not having to release many times, which is cumbersome for everybody. |
Hey there, I also ran into this issue on my MacOS High Sierra machine. Was able to fix
It is there. I missed it on the first read. My bad. (PS: Here's a nice explanation of the cause and solution to this issue: https://unix.stackexchange.com/a/183453) |
Closing as
It'll be fixed on the next data release. |
I tried downloading the main metadata file to look at the underlying CSVs: https://os.unil.cloud.switch.ch/fma/fma_metadata.zip
I'm getting a rejection on both mac and windows when I try to unzip this. Am I missing something?
The text was updated successfully, but these errors were encountered: