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

People
Owner: jmcnamara [...] cpan.org
Requestors: erik [...] tigr.org
Cc:
AdminCc:

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



Subject: Garbage characters at the end of external hyperlink URLs
Module: Spreadsheet-WriteExcel-2.11 Perl Version: This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level OS: Darwin erikfOSX 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power Macintosh powerpc I'm getting garbage characters at the end of my external hyperlink URLs when looking at the created file in Excel 2004 (Mac OSX 10.3). This doesn't happen on every link. Here is the way the hyperlink is created: $worksheet->write($row-1,10,"external:$LINK_FOLDER_NAME/$mutation_file",$class); The hyperlink should look like: links_folder/40225_mutation_summary.txt This is what the hyperlink looks like in excel: links_folder/40225_mutation_summary.txt%22%DD%9A%E2%AF%9B%DD%9A%E1%BA%A0 Also, the same file when viewed in excel on windows or crossover office on linux is fine. This problem occurs when building the excel binary file on linux or os x.
I don't have an OSX platform to test this on. So perhaps you can help me debug this as follows. 1. Create a small Spreadsheet::WriteExcel program that write the above URL to cell A1. 2. Open the file and remove the garbage data. Save it to a new name. 3. Send me the program, the Excel file with the garbage data and the Excel file with the garbage data removed. John. --
[guest - Wed Dec 22 12:17:56 2004]: Show quoted text
> I'm getting garbage characters at the end of my external hyperlink > URLs when looking at the created file in Excel 2004 (Mac OSX 10.3). > This doesn't happen on every link.
Hi, I have a Mac platform to test this now. Can you submit a small program that reproduces the error. John. --
I'm closing this because I cannot reproduce it, I have had no other error reports of this nature and a test case wasn't generated. I am willing to reopen and fix the problem if a test case or example is submitted.