Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Spreadsheet-ParseExcel CPAN distribution.

Maintainer(s)' notes

If you are reporting a bug in Spreadsheet::ParseExcel here are some pointers

1) State the issues as clearly and as concisely as possible. A simple program or Excel test file (see below) will often explain the issue better than a lot of text.

2) Provide information on your system, version of perl and module versions. The following program will generate everything that is required. Put this information in your bug report.

    #!/usr/bin/perl -w

    print "\n    Perl version   : $]";
    print "\n    OS name        : $^O";
    print "\n    Module versions: (not all are required)\n";

    my @modules = qw(

    for my $module (@modules) {
        my $version;
        eval "require $module";

        if (not $@) {
            $version = $module->VERSION;
            $version = '(unknown)' if not defined $version;
        else {
            $version = '(not installed)';

        printf "%21s%-24s\t%s\n", "", $module, $version;


3) Upgrade to the latest version of Spreadsheet::ParseExcel (or at least test on a system with an upgraded version). The issue you are reporting may already have been fixed.

4) Create a small example program that demonstrates your problem. The program should be as small as possible. A few lines of codes are worth tens of lines of text when trying to describe a bug.

5) Supply an Excel file that demonstrates the problem. This is very important. If the file is big, or contains confidential information, try to reduce it down to the smallest Excel file that represents the issue. If you don't wish to post a file here then send it to me directly:

6) Say if the test file was created by Excel, OpenOffice, Gnumeric or something else. Say which version of that application you used.

7) If you are submitting a patch you should check with the maintainer whether the issue has already been patched or if a fix is in the works. Patches should be accompanied by test cases.

Asking a question

If you would like to ask a more general question there is the Spreadsheet::ParseExcel Google Group.

Report information
The Basics
Id: 32139
Status: resolved
Priority: 0/
Queue: Spreadsheet-ParseExcel

Owner: Nobody in particular
Requestors: james.hatt [...]

Bug Information
Severity: Important
Broken in: 0.32
Fixed in: (no value)

Subject: Cannot pass test
Download (untitled) / with headers
text/plain 3.2k
I cannot get past test: [root@developer Spreadsheet-ParseExcel-0.32]# pwd /var/tmp/Spreadsheet-ParseExcel-0.32 [root@developer Spreadsheet-ParseExcel-0.32]# ls blib/ Makefile.PL pm_to_blib sample/ Build.PL lib/ MANIFEST README t/ Changes Makefile META.yml README_Japan.htm [root@developer Spreadsheet-ParseExcel-0.32]# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/examples/*t t/basic....NOK 1 # Failed test 'use Spreadsheet::ParseExcel;' # in t/basic.t at line 8. # Tried to use 'Spreadsheet::ParseExcel'. # Error: Weak references are not implemented in the version of perl at /var /tmp/Spreadsheet-ParseExcel-0.32/blib/lib/Spreadsheet/ line 67 # BEGIN failed--compilation aborted at t/basic.t line 8. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. t/basic....ok 2/8# Looks like you failed 1 test of 8. t/basic....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/8 tests, 87.50% okay (less 4 skipped tests: 3 okay, 37.50%) t/parse.... # Failed test 'use Spreadsheet::ParseExcel;' # in t/parse.t at line 10. # Tried to use 'Spreadsheet::ParseExcel'. # Error: Weak references are not implemented in the version of perl at /var /tmp/Spreadsheet-ParseExcel-0.32/blib/lib/Spreadsheet/ line 67 # BEGIN failed--compilation aborted at t/parse.t line 10. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. Can't locate object method "new" via package "Spreadsheet::ParseExcel" at /var/t mp/Spreadsheet-ParseExcel-0.32/blib/lib/Spreadsheet/ line 33. # Looks like you planned 37 tests but only ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test died just after 1. t/parse....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-37 Failed 37/37 tests, 0.00% okay t/pod......skipped all skipped: Test::Pod 1.00 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- t/basic.t 1 256 8 1 12.50% 1 t/parse.t 255 65280 37 73 197.30% 1-37 1 test and 4 subtests skipped. Failed 2/3 test scripts, 33.33% okay. 38/45 subtests failed, 15.56% okay. make: *** [test_dynamic] Error 255 [root@developer Spreadsheet-ParseExcel-0.32]# uname -a Linux developer.windber.argon.local 2.6.18-53.1.4.el5 #1 SMP Wed Nov 14 10:37:27 EST 2007 x86_64 x86_64 x86_64 GNU/Linux [root@developer Spreadsheet-ParseExcel-0.32]# [root@developer Spreadsheet-ParseExcel-0.32]# perl -v This is perl, v5.8.8 built for x86_64-linux-thread-multi Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at, the Perl Home Page. [root@developer Spreadsheet-ParseExcel-0.32]#
Download (untitled) / with headers
text/plain 185b
You should reinstall Scalar::Util and you need C compiler for this. In general this problem is solved by adding Task::Weaken to prerequisites. -- Alexandr Ciornii,

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to