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

ZIP files without an explicit entry for top level directory are not recognized #31

Open
MJochim opened this issue Jul 12, 2017 · 0 comments
Labels

Comments

@MJochim
Copy link
Collaborator

MJochim commented Jul 12, 2017

As per the standard, ZIP files do not need to contain explicit entries for directories (and technically, cannot – but all vendors seem to agree to include them anyway). Windows 10, for example, does include entries for sub-directories (e.g. the session directories), but not for the top-level directory. A Win10 zip file might look like this:

myDatabase_emuDB/myDatabase_DBconfig.json
myDatabase_emuDB/spkA_ses/
myDatabase_emuDB/spkA_ses/something.txt

Zip files I have seen from MacOS, GNU zip, 7z and some others would rather look like this:

myDatabase_emuDB/
myDatabase_emuDB/myDatabase_DBconfig.json
myDatabase_emuDB/spkA_ses/
myDatabase_emuDB/spkA_ses/something.txt

The former are currently not recognized by emuDB manager's backend, because it explicitly looks for the top level directory entry. As a consequence, the users are told that such ZIP files do not contain an emu speech database, which is not true.

@MJochim MJochim added the bug label Jul 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant