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: |
Nobody in particular
|
Requestors: |
smith_it2000 [...] yahoo.com
|
Cc: |
|
AdminCc: |
|
|
Severity: |
Normal |
Broken in: |
2.37 |
Fixed in: |
(no value)
|
|
Sat Oct 23 12:28:06 2010
martin [...] backup-systems.co.uk - Ticket created
Hi, CPAN install of 2.37 fails on Perl 5.10.0 on FC12 64bit
Operating System (fresh install today)
2.6.32.21-168.fc12.x86_64 #1 SMP Wed Sep 15 16:12:07 UTC 2010 x86_64
x86_64 x86_64 GNU/Linux
Installed Perl, did yum update perl.
perl -v
This is perl, v5.10.0 built for x86_64-linux-thread-multi
then I did:
perl -MCPAN -e 'install Spreadsheet::WriteExcel'
thx.
Test Summary Report
-------------------
t/42_set_properties.t (Wstat: 6912 Tests: 17 Failed: 0)
Non-zero exit status: 27
Files=38, Tests=1254, 7 wallclock secs ( 0.50 usr 0.12 sys + 5.92
cusr 0.61 csys = 7.15 CPU)
Result: FAIL
Failed 1/38 test programs. 0/1254 subtests failed.
make: *** [test_dynamic] Error 255
JMCNAMARA/Spreadsheet-WriteExcel-2.37.tar.gz
/usr/bin/make test -- NOT OK
from further up the log:
t/42_set_properties.t ......... 1/17 Maximum Spreadsheet::WriteExcel
filesize, 7087104 bytes, exceeded. To create files bigger than this
limit please install OLE::Storage_Lite
at t/42_set_properties.t line 600
# Looks like your test exited with 27 just after 17.
Sat Oct 23 13:17:57 2010
jmcnamara [...] cpan.org - Correspondence added
Hi,
That particular test is failing because the pre-requisite module OLE::Storage_Lite isn't
installed. It should be installed automatically by CPAN.pm.
Try install that first and then rerun the install for Spreadsheet::WriteExcel. If it fails again post
the entire log.
Spreadsheet::WriteExcel doesn't usually fail to install on Linux with perl 5.10.0:
http://www.cpantesters.org/distro/S/Spreadsheet-WriteExcel.html#Spreadsheet-WriteExcel-
2.37
John.
--
Sat Oct 23 13:17:58 2010
The RT System itself - Status changed from 'new' to 'open'
Sat Oct 23 20:26:54 2010
smith_it2000 [...] yahoo.com - Correspondence added
thanks, that worked !!!
Show quoted text----- Original Message ----
From: John McNamara via RT <bug-Spreadsheet-WriteExcel@rt.cpan.org>
To: smith_it2000@yahoo.com
Sent: Sat, 23 October, 2010 18:17:58
Subject: [rt.cpan.org #62398] Install fails: 2.37 on perl 5.10.0
<URL:
https://rt.cpan.org/Ticket/Display.html?id=62398 >
Hi,
That particular test is failing because the pre-requisite module
OLE::Storage_Lite isn't
installed. It should be installed automatically by CPAN.pm.
Try install that first and then rerun the install for Spreadsheet::WriteExcel.
If it fails again post
the entire log.
Spreadsheet::WriteExcel doesn't usually fail to install on Linux with perl
5.10.0:
http://www.cpantesters.org/distro/S/Spreadsheet-WriteExcel.html#Spreadsheet-WriteExcel-
2.37
John.
--
Fri Oct 29 12:27:14 2010
jmcnamara [...] cpan.org - Status changed from 'open' to 'resolved'