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: |
sphadke [...] umich.edu
|
Cc: |
|
AdminCc: |
|
|
Severity: |
(no value)
|
Broken in: |
(no value)
|
Fixed in: |
(no value)
|
|
Thu Jul 22 18:12:31 2010
sphadke [...] umich.edu - Ticket created
system details:
OS: Ubuntu Lynx (10.04)
Linux 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010
x86_64 GNU/Linux
perl: This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
On Thu, 2010-07-22 at 18:10 -0400, Sujay Phadke wrote:
Show quoted text> Hello,
> I have been using Spreadsheet::WriteExcel::Chart (2.37) for some
> time now. I think there is a bug. If I create a new worksheet with a
> name starting with a number (say '1a') and then try to create a chart in
> it, the chart is blank. the worksheet itself is created and I can dump
> data into it. But the chart does not get created correctly. There is
> just a blank white box and the chart is empty. The bug happens for
> embedded as well as non-embedded charts.
>
> example code:
> #!/usr/bin/perl -w
>
> use strict;
> use Spreadsheet::WriteExcel;
>
> my $workbook = Spreadsheet::WriteExcel->new( 'temp.xls' );
> my $worksheet = $workbook->add_worksheet('1a');
>
> my $chart = $workbook->add_chart( type => 'line', embedded =>
> 1 );
>
> # Configure the chart.
> $chart->add_series(
> categories => '=_1a!$A$2:$A$7',
> values => '=_1a!$B$2:$B$7',
> );
>
> # Add the worksheet data the chart refers to.
> my $data = [
> [ 'Category', 2, 3, 4, 5, 6, 7 ],
> [ 'Value', 1, 4, 5, 2, 1, 5 ],
> ];
>
> $worksheet->write( 'A1', $data );
>
> $worksheet->insert_chart('A15', $chart, 0, 0, 1, 1);
>
>
> ---------
>
> Best,
> Sujay
>
Thu Sep 16 06:12:56 2010
jmcnamara [...] cpan.org - Correspondence added
Thu Sep 16 06:12:57 2010
The RT System itself - Status changed from 'new' to 'open'
Thu Sep 16 06:12:57 2010
jmcnamara [...] cpan.org - Status changed from 'open' to 'resolved'