doy / spreadsheet-parsexlsx

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

can't call method "read" on an undedefined value at /usr/lib/perl5/site_perl/5.10.0/Spreadsheet/ParseXLSX.pm #64

Closed jk1510karti closed 8 years ago

jk1510karti commented 8 years ago

Hi,

I am getting below error while executing my perl script. Please anyone could assist on this.

can't call method "read" on an undedefined value at usr/lib/perl5/site_perl/5.10.0/Spreadsheet/ParseXLSX.pm line 89

jk1510karti commented 8 years ago

Hi, Its quite urgent, Could someone assist on this.

Tux commented 8 years ago

if at all, you need to supply a file that shows this behavior.

jk1510karti commented 8 years ago

You mean my source code file?

gquipster commented 8 years ago

The Excel spreadsheet you are having problems with

jk1510karti commented 8 years ago

I've uploaded the file here. Thanks

http://wikisend.com/download/748862/Book1.xlsx

Tux commented 8 years ago

I have no problems whatsoever reading this file on/with

Linux 4.6.2-1-default [openSUSE Tumbleweed (20160422) (x86_64)] This is perl 5, version 24, subversion 0 (v5.24.0) built for x86_64-linux-thread-multi-ld Spreadsheet::ParseXLSX-0.25

gquipster commented 8 years ago

Hi,

This parses just fine for me on:

Linux 3.16.0-77-generic #99~14.04.1-Ubuntu SMP This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-gnu-thread-multi Spreadsheet::ParseXLSX-0.20

Can you check that you have the latest version of Archive::Zip installed?

jk1510karti commented 8 years ago

hi,

thanks for your quick response. I have re-installed Perl version, Everyting is okay now.

Gandalf210 commented 2 years ago

I had the same issue. Closing excel while trying to parse the XLSX resolved the problem...