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

invalid signature: 0x80014 #87

Closed
christophemacabiau opened this issue Mar 17, 2016 · 2 comments
Closed

invalid signature: 0x80014 #87

christophemacabiau opened this issue Mar 17, 2016 · 2 comments

Comments

@christophemacabiau
Copy link
Contributor

Hi,

I can reproduce the "Too Many Worksheets Results in Parse Error" bug. In my case, it's not the number of sheets which cause the bug, but rather the "quantity of data".
This script generates a xlsx with 3 sheets of 200 lines x 24 columns but cannot parse it.

fedora 23/exceljs@0.2.4/unzip@0.1.11

var Excel = require("exceljs");

var filename = '/tmp/bug.xlsx';

var workbook1 = new Excel.Workbook();
for (var i=0; i<3; i++) {
  var sheet = workbook1.addWorksheet("Sheet "+i);
  for (var j=0; j<200; j++)
    sheet.addRow([1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12]);
}

workbook1.xlsx.writeFile(filename)
  .then(function() {
    var workbook2 = new Excel.Workbook();
    workbook2.xlsx.readFile(filename)
      .then(console.log);
  });
@guyonroche
Copy link
Collaborator

I'm in the process of merging (and testing) fix #28 invalid signature: 0x80014
Will close this soon.

@guyonroche
Copy link
Collaborator

Fixed in 0.2.6

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