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

People
Owner: jmcnamara [...] cpan.org
Requestors: asad_ali1 [...] yahoo.com
Cc:
AdminCc:

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



Subject: Creating Excel file containing 48043 rows and 76columns
I am trying to create an excel file on LINUX $ uname -a Linux 2.4.19-64GB-SMP #1 SMP Thu Jan 15 11:23:05 UTC 2004 i686 unknown The file has got 76 columns. I am finding if I have 48042 rows, the excel file would open. However if I have 48043 rows the files does not open and gives error that "file cannot be accessed. The file may be readonly and u r trying to access a readonly location or the server the document is stored on may not be responding". File that is created is about 55 MB Thanks Asad
From: Asad
John has asked to try to created excel report using the patched version of OLE::StorageLite. I am going to try that and would post finding. thanks John [guest - Fri Apr 16 09:13:09 2004]: Show quoted text
> I am trying to create an excel file on LINUX > $ uname -a > Linux 2.4.19-64GB-SMP #1 SMP Thu Jan 15 11:23:05 UTC 2004 i686 unknown > > The file has got 76 columns. I am finding if I have 48042 rows, the > excel file would open. However if I have 48043 rows the files does > not open and gives error that "file cannot be accessed. The file > may be readonly and u r trying to access a readonly location or the > server the document is stored on may not be responding". > File that is created is about 55 MB > Thanks > Asad
First off, my apologies. I posted a response as a "comment" instead of a "reply" so you probably didn't see it. Here is the original message for the record. This is probably related to a bug in OLE::Storage_Lite. Try the patched version that is attached in the following bug report and let me know if it fixes your problem. http://rt.cpan.org/NoAuth/Bug.html?id=5750 John. --
OLE::Storage_Lite version 0.12 has been uploaded to CPAN. http://search.cpan.org/~jmcnamara/OLE-Storage_Lite/ This should resolve the reported problem, and other problems, when using Spreadsheet::WriteExcel::Big. John. --
[guest - Fri Apr 16 09:13:09 2004]: Show quoted text
> I am trying to create an excel file on LINUX > $ uname -a > Linux 2.4.19-64GB-SMP #1 SMP Thu Jan 15 11:23:05 UTC 2004 i686 unknown
Is this bug still outstanding. I would like to close it if not. John. --
I am closing this bug because it isn't reproducible and there have been no other similar reports. Yes, I'm sweeping this under the carpet but that is the place for it. :-) John. --