Skip to content

invalid signature: 0x80014 #87

Closed
Closed
@christophemacabiau

Description

@christophemacabiau

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);
  });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy