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.
Owner: |
jmcnamara [...] cpan.org
|
Requestors: |
misha [...] thunderworx.com
|
Cc: |
|
AdminCc: |
|
|
Severity: |
Important |
Broken in: |
|
Fixed in: |
(no value)
|
|
Tue Aug 03 08:32:13 2004
Guest - Ticket created
Module: Spreadsheet-WriteExcel-2.03
Perl: v5.8.0 built for i386-linux-thread-multi
OS: Linux Red Hat 9 (2.4.20-18.9)
I created Excel file and tryed to open it in the MS Excel: "The memory could not be read!". OpenOffice opens that file without any errors or warnings.
If you are interested of I can send you created Excel file to see it structure.
Thanks in advanced,
Michael
Wed Aug 04 17:58:50 2004
jmcnamara [...] cpan.org - Taken
Wed Aug 04 18:04:34 2004
jmcnamara [...] cpan.org - Correspondence added
[guest - Tue Aug 3 08:32:13 2004]:
Show quoted text> I created Excel file and tryed to open it in the MS Excel: "The memory
> could not be read!". OpenOffice opens that file without any errors or
> warnings.
Hi,
See if you can reduce the problem down to a small test program. See the
beg_report.pl program in the distro for an example:
http://search.cpan.org/src/JMCNAMARA/Spreadsheet-WriteExcel-2.03/examples/bug_report.pl
Also check the following:
1. That you aren't writing UTF data from an XML file to the spreadsheet.
2. That the file didn't get corrupted in an ascii mode ftp to a Windows
system.
3. That you aren't using the format for a merge_range() in a non-merge
range.
4. That you aren't generating more than 1000 formats.
Post the results here or send them to me directly.
John.
--
Mon Aug 09 09:29:42 2004
jmcnamara [...] cpan.org - Correspondence added
[guest - Tue Aug 3 08:32:13 2004]:
Show quoted text> I created Excel file and tryed to open it in the MS Excel: "The memory
> could not be read!". OpenOffice opens that file without any errors
> or warnings.
Any update on this.
John.
--
Thu Aug 12 12:16:10 2004
Guest - Correspondence added
[JMCNAMARA - Wed Aug 4 18:04:34 2004]:
Show quoted text> [guest - Tue Aug 3 08:32:13 2004]:
>
> > I created Excel file and tryed to open it in the MS Excel: "The
> memory
> > could not be read!". OpenOffice opens that file without any errors
> or
> > warnings.
>
> Hi,
>
> See if you can reduce the problem down to a small test program. See
> the
> beg_report.pl program in the distro for an example:
>
>
http://search.cpan.org/src/JMCNAMARA/Spreadsheet-WriteExcel-
> 2.03/examples/bug_report.pl
>
> Also check the following:
>
> 1. That you aren't writing UTF data from an XML file to the
> spreadsheet.
>
> 2. That the file didn't get corrupted in an ascii mode ftp to a
> Windows
> system.
>
> 3. That you aren't using the format for a merge_range() in a non-merge
> range.
I think my problem was in merging a non-merge range. When I removed that
operation error disappeared!
This ticket can be resolved!
Show quoted text>
> 4. That you aren't generating more than 1000 formats.
>
> Post the results here or send them to me directly.
>
> John.
Thu Aug 12 18:57:49 2004
jmcnamara [...] cpan.org - Correspondence added
The docs for version 2.04 will try to clarify this problem and a version
in the near future should resolve it.
John.
--