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 file is corrupt" when loading a zipped project into SQMtools #755

Open
fpusan opened this issue Nov 19, 2023 · 1 comment
Open

"zip file is corrupt" when loading a zipped project into SQMtools #755

fpusan opened this issue Nov 19, 2023 · 1 comment
Labels
bug Something isn't working SQMtools

Comments

@fpusan
Copy link
Collaborator

fpusan commented Nov 19, 2023

This happens for certain projects when running SQMtools on certain R versions.
I suspect it's related to R's internal unzip engine not being able to deal with files greater than 2Gb.
A workaround is to

  1. Move the project.zip file into an empty folder also named project.
  2. Uncompress project.zip there (so that the SqueezeMeta_conf.pl file, the results directory, etc... are directly inside the project folder.
  3. Load the project normally with SQM=loadSQM("/path/to/project")
    I will try to have this fixed for the next release.
@fpusan
Copy link
Collaborator Author

fpusan commented Nov 19, 2023

71d5597 switches from using utils::unzip to using zip::unzip for reading zip files during loadSQM.
This fixes the problem for some projects, but eventually I run into r-lib/zip#100 . The error happened with the example file mentioned by OP as well as with an example zipped SQM project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SQMtools
Projects
None yet
Development

No branches or pull requests

1 participant