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

null error - not working #3

Open
AlfonsoJS opened this issue Feb 5, 2015 · 1 comment
Open

null error - not working #3

AlfonsoJS opened this issue Feb 5, 2015 · 1 comment

Comments

@AlfonsoJS
Copy link

hi Nicolas,
I am trying your xlrd-parser but I get this error:

               workbook.sheets.forEach(function (sheet) {
                              ^

TypeError: Cannot read property 'sheets' of null .....

I also console loged the workbook and its always null.
Would be great if you can fix that 👍

@extrabacon
Copy link
Owner

Something wrong happened. Can you look for an error? When reading with the callback, check the err argument. When reading as a stream, listen to the error event.

Also, take a look at https://github.com/SheetJS/js-xlsx which is a native Javascript parser, while xlrd is a Python parser, making this project somehow obsolete.

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