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: 39416
Status: resolved
Priority: 0/
Queue: Spreadsheet-WriteExcel

People
Owner: Nobody in particular
Requestors: Thomas.Hoenl [...] arbeitsagentur.de
Cc:
AdminCc:

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



Subject: Issue with repeat_rows and SpreadSheet-WriteExcel 2.25
Date: Fri, 19 Sep 2008 13:51:58 +0200
To: <bug-Spreadsheet-WriteExcel [...] rt.cpan.org>
From: Hönl Thomas <Thomas.Hoenl [...] arbeitsagentur.de>
Hi Viewer: Excel:2002 (10.6841.6893) SP3 Platform: XP, SP3 Creator: SpreadSheet-WriteExcel 2.25 OS: SunOS S0191021 5.9 Generic_122300-12 sun4us sparc FJSV,GPUZC-M Perl: 5.8.4 Error: Upon opening the Excel-File, you get an error message: Nameconflict. Name must not be the same as internal Name. Old Name: Drucktitel Entering a Dummy Name like 'eee' in the InputBox (w/o Quotes) opens the SpreadSheet. You can see it in Excel->File->Properties->Content (hopefully the English Version has the same Menu-layout) Removing the one and only repeat_rows command from the skript, cures the Problem. This does also happen with 2.21 but did not happen with 2.17! Upon request I can send Excel-Files and Screenshots. Regards Thomas -- Wenn Du Gott lachen hören willst, erzähl ihm von Deinen Plänen. Thomas Hönl Systementwicklung IT-Spezialist Tel.:+49 911 179 2546 Fax.:+49 911 179 1001 E-Mail:IT-Systemhaus.SEP41@arbeitsagentur.de E-Mail:Thomas.Hoenl@arbeitsagentur.de Bundesagentur für Arbeit IT-Systemhaus Regensburger Str. 104 90478 Nürnberg
Hi Thomas, There seems to be a similar issue with autofilters in the German version of Excel. See here: http://rt.cpan.org/Ticket/Display.html?id=38099 Are you also using autofilters in your program? Could you send me a sample program that demonstrates the problem and also a "fixed" Excel spreadsheet (after you have added the eee or other dummy name). Send the Excel file to the email address in the docs. John. --
Hi Thomas, Could you try the following test release: http://homepage.eircom.net/~jmcnamara/perl/prerel/Spreadsheet-WriteExcel-2.25.02.tar.gz And somewhere in your program set the country code for Germany using the new set_country() workbook method: $workbook->set_country(49); John. --
Subject: AW: [rt.cpan.org #39416] Issue with repeat_rows and SpreadSheet-WriteExcel 2.25
Date: Mon, 22 Sep 2008 08:40:17 +0200
To: <bug-Spreadsheet-WriteExcel [...] rt.cpan.org>
From: Hönl Thomas <Thomas.Hoenl [...] arbeitsagentur.de>
Hi Thanks for the quick response. This release seems to work again. I've set the copunty code right after opening th e workbook. Do you need anything else from me? Bye Thomas Hönl Show quoted text
> -----Ursprüngliche Nachricht----- > Von: John McNamara via RT > [mailto:bug-Spreadsheet-WriteExcel@rt.cpan.org] > Gesendet: Freitag, 19. September 2008 16:14 > An: Hönl Thomas > Betreff: [rt.cpan.org #39416] Issue with repeat_rows and > SpreadSheet-WriteExcel 2.25 > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=39416 > > > Hi Thomas, > > Could you try the following test release: > > http://homepage.eircom.net/~jmcnamara/perl/prerel/Spreadsheet-
WriteExcel-2.25.02.tar.gz And somewhere in your program set the country code for Germany using the new set_country() workbook method: $workbook->set_country(49); John. --
Download Test.2.25.02.xls.zip
application/x-zip-compressed 8.5k

Message body not shown because it is not plain text.

On Fri Sep 19 07:52:33 2008, Thomas.Hoenl@arbeitsagentur.de wrote: Show quoted text
> Hi > > Viewer: > Excel:2002 (10.6841.6893) SP3 > Platform: XP, SP3 > > Creator: SpreadSheet-WriteExcel 2.25 > OS: SunOS S0191021 5.9 Generic_122300-12 sun4us sparc FJSV,GPUZC-M > Perl: 5.8.4 > > Error: > Upon opening the Excel-File, you get an error message: > Nameconflict. Name must not be the same as internal Name. Old Name: > Drucktitel > Entering a Dummy Name like 'eee' in the InputBox (w/o Quotes) opens > the SpreadSheet. > You can see it in Excel->File->Properties->Content > (hopefully the English Version has the same Menu-layout) > > Removing the one and only repeat_rows command from the skript, cures > the Problem. > This does also happen with 2.21 but did not happen with 2.17!
Hi, This issue should be fixed in Spreadsheet::WriteExcel 2.36. Note, the fix doesn't require the set_country() workaround and for compatibility with other versions of Excel you probably should use it. If you get a chance to test it you can let me know how it works out. Thanks for your input. John. --