Skip Menu |

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

Maintainer(s)' notes

If you are reporting a bug in Spreadsheet::WriteExcel 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(
                      Spreadsheet::WriteExcel
                      Parse::RecDescent
                      File::Temp
                      OLE::Storage_Lite
                      IO::Stringy
                      Spreadsheet::ParseExcel
                      Scalar::Util
                      Unicode::Map
                    );

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

    __END__

3) Upgrade to the latest version of Spreadsheet::WriteExcel (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 but complete example program that demonstrates your problem. The program should be as small as possible. At the same time it should be a complete program that generates an Excel file. If the Spreadsheet::WriteExcel section is part of a much larger program then simplify it down to the essentials. Simulate any DB reads with an array.

5) Say if you tested with Excel, OpenOffice, Gnumeric or something else. Say which version of that application you used.

6) If you are submitting a patch you should check with the author 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::WriteExcel Google Group.

Report information
The Basics
Id: 21731
Status: resolved
Priority: 0/
Queue: Spreadsheet-WriteExcel

People
Owner: jmcnamara [...] cpan.org
Requestors: christian.jaeger [...] ethlife.ethz.ch
Cc:
AdminCc:

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



Subject: random column doubling
Date: Tue, 26 Sep 2006 18:23:31 +0200
To: bug-Spreadsheet-WriteExcel [...] rt.cpan.org
From: Christian Jaeger <christian.jaeger [...] ethlife.ethz.ch>
Hello (For some reason the web login (through bitcard) is broken (I've reported to the support address there), so I'm writing by mail.) I'm using Spreadsheet-WriteExcel-2.17 (on an Intel Xeon machine running Linux (some mix of Suse and software compiled from source (not by me)) with perl 5.8.7) to generate excel files which are delivered through a web application. Opening those files with Microsoft Excel 98 on MacOS 9.1 works fine. But sometimes when opening them from Excel 2003 SP2 (on Windows XP), some columns (usually the leftmost (1 to several) ones) are somehow doubled. So instead of the original A B C D E .. column contents I'm seeing the A A B B C C D E ... contents. Closing and reopening the same file again doesn't change the result, but downloading the file again will help (but it might have been generated from slightly differing contents then, I'd have to check more carefully for finding out about this). I've tried both Spreadsheet::WriteExcel::Big and Spreadsheet::WriteExcel with the same results. Any idea why this happens? Anyone else seeing this? I could provide the "faulty" files if you want. Thanks, Christian.
Hi Christian, Try the following pre-release of the next version, that has a fix for a column issue: http://homepage.eircom.net/~jmcnamara/perl/prerel/Spreadsheet-WriteExcel-2.17.2.tar.gz If that doens't have an effect then send me one of the buggy excel files to the address in the docs. John. --
On Tue Sep 26 12:23:53 2006, christian.jaeger@ethlife.ethz.ch wrote: Show quoted text
> I'm using Spreadsheet-WriteExcel-2.17 (on an Intel Xeon machine > running Linux (some mix of Suse and software compiled from source > (not by me)) with perl 5.8.7) to generate excel files which are > delivered through a web application.
Try version 2.18 and see if the problem is fixed. Let me know if it is or if it isn't.
This isn't reproducible and I haven't received any similar bug reports so I'm closing this issue. John. --