Skip to content

Invalid arguments #208

@vanderoost

Description

@vanderoost

When I try to load a 2.2GB .zip file, jszip throws an error. Other .zip files work just fine.

I've tried other .zip files, up to 4GB, that work without problems, so I don't think the size is an issue. The file has been .zipped on Mac OS, I've tried unzipping it an re-zipping it on a Linux machine but it didn't help, I get the same error.

In chrome, the whole page just crashes, in Firefox it catches the error nicely:

TypeError: invalid arguments
Stack trace:
[21]</transform.arraybuffer.uint8array@http://mydomain.com/js/jszip/dist/jszip.js:1989:16
[21]</exports.transformTo@http://mydomain.com/js/jszip/dist/jszip.js:2045:18
[22]</ZipEntries.prototype.prepareReader@http://mydomain.com/js/jszip/dist/jszip.js:2317:48
[22]</ZipEntries.prototype.load@http://mydomain.com/js/jszip/dist/jszip.js:2325:9
ZipEntries@http://mydomain.com/js/jszip/dist/jszip.js:2150:9
[10]</module.exports@http://mydomain.com/js/jszip/dist/jszip.js:567:18
JSZip@http://mydomain.com/js/jszip/dist/jszip.js:514:9
.add/reader.onload</<@http://mydomain.com/js/file-handler.js:62:19

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions