doy / spreadsheet-parsexlsx

parse XLSX files
http://metacpan.org/release/Spreadsheet-ParseXLSX
27 stars 35 forks source link

Can't get any XLSX files to read #3

Closed tophopstop closed 11 years ago

tophopstop commented 11 years ago

Hi, long time ParseExcel user, trying to get ParseXLSX going for some projects. I just installed the latest cpan version of the module. all tests for module and dependencies pass (ie: didn't force install anything). I think everything else is ok and up to date in perl environment.

All the xlsx files that I've tried blow up with an error similar to:

Use of uninitialized value in join or string at /home/jason/perl5/lib/perl5//Spreadsheet/ParseXLSX.pm line 58.
Can't call method "find_nodes" on an undefined value at /home/jason/perl5/lib/perl5//Spreadsheet/ParseXLSX.pm line 223.

Test File

This file was generated using LibreOffice Calc using the 'Microsoft Excel 2007/2010 XML (.xlsx)' export variety. I've tried some other files that were actually from Microsoft Excel, and they fail similarly.

Any ideas?

Thanks!

tophopstop commented 11 years ago

Forgot to mention... if I pull the xlsx file included with tests and mess around with on my own, everything works fine (no warnings or errors.)

doy commented 11 years ago

I fixed a couple issues, and this file parses for me now. Can you try it with the latest version in the repository?

tophopstop commented 11 years ago

Ok, tried with the current repo version and the file now parses correctly. Thanks!

Having issues with another file. Suspect its something not related. Will file another issue shortly.