DBIx::Chart and Params
am 17.08.2005 05:12:44 von kend3000
I'm having a problem using DBIx::Chart and input
parameter
markers.
I'm using Activestate 5.6.1 with DBI v1.48,
DBIx::Chart
v.01, DBD::Chart v.80, DBD-DB2 v.78
When I run the script, I get the following on execute:
[IBM][CLI Driver] CLI0100E Wrong number of
parameters. SQLSTATE=07001
Script works great if I code a literal.
Here is the script:
============================================================ ===
use DBIx::Chart;
$tbl = "PS_JOB";
$dbh = DBIx::Chart->connect("dbi:DB2:mydb","", "",
{ PrintError => 0, RaiseError
=> 0, AutoCommit => 0 })
or die "Cannot connect\n";
$qry = $dbh->prepare(qq(
select
char(date(capture_dt),ISO) as capturedt,
tblsz as TotalMB
from
mystats
where
tabname = ?
order by
capture_dt
RETURNING linegraph(*)
WHERE
WIDTH=600 AND HEIGHT=400 AND format='PNG' and
KEEPORIGIN=1 and SHOWGRID=1 and linewidth=2 and
gridcolor='lgray' and x_orient='VERTICAL' and
x_axis = ' ' and y_axis = 'MB' and
SIGNATURE='abc (Ver 1.0)' and
TITLE = 'Table Growth ($tbl)'
))
|| die("Prep chart:\n$DBI::errstr\n");
$qry->bind_param(1, $tbl);
$qry->execute() || die("Exec chart:\n$DBI::errstr\n");
$img = $qry->fetchrow_arrayref;
open(OUTF, ">$oimg.$ifmt");
binmode OUTF;
print OUTF $$img[0];
close OUTF;
$qry->finish;
$dbh->commit;
$dbh->disconnect;
============================================================ ===
__________________________________________________________
Find your next car at http://autos.yahoo.ca
[ANNOUNCE] DBIx::Chart 0.04 (was Re: DBIx::Chart and Params)
am 17.08.2005 20:59:10 von darnold
A new version of DBIx::Chart is now
available at http://www.presicient.com/dbixchart/DBIx-Chart-0.04.tar.gz,
and should be available soon on CPAN.
Changes in release 0.04:
- Fixed placeholder mapping for source statements
- Fixed bad sth subclassing
- added test for same
- changed test suite to use temp tables
- removed unneeded dbh methods
Regards,
Dean Arnold
Presicient Corp.
Re: [ANNOUNCE] DBIx::Chart 0.04 (was Re: DBIx::Chart and Params)
am 18.08.2005 04:35:38 von kend3000
OK, I installed the new versions of DBIx::Chart and
DBD::Chart. Now a PH within the select works OK.
But, if I try to use a PH within the RETURNING
LINEGRAPH paragraph (for example, y-axis = ?, I get
the following message:
"DBD::Chart::st execute failed: Invalid dataset. at
C:/Opt/Perl/site/lib/DBIx/Chart.pm line 425."
Any ideas ?? Or is he use of PHs within the RETURNING
portion of the chart syntax not supported ??
Thanks,
--- Dean Arnold wrote:
> A new version of DBIx::Chart is now
> available at
>
http://www.presicient.com/dbixchart/DBIx-Chart-0.04.tar.gz,
> and should be available soon on CPAN.
>
> Changes in release 0.04:
>
> - Fixed placeholder mapping for source statements
> - Fixed bad sth subclassing
> - added test for same
> - changed test suite to use temp tables
> - removed unneeded dbh methods
>
> Regards,
> Dean Arnold
> Presicient Corp.
>
__________________________________________________________
Find your next car at http://autos.yahoo.ca
Re: [ANNOUNCE] DBIx::Chart 0.04 (was Re: DBIx::Chart and Params)
am 18.08.2005 16:01:26 von ron
On Wed, 17 Aug 2005 22:35:38 -0400 (EDT), Kenneth Dick wrote:
Hi Dean
Here' what I get under MS Windows & Perl 5.8.6:
C:\Perl-modules\DBIx-Chart-0.04>perl Makefile.PL
Configuring DBIx::Chart ...
>>> Remember to actually *READ* the README file!
And re-read it if you have any problems.
Checking for GD::Text, 0.80 or later ... ok
Checking for GD, 1.19 or later ... ok
Checking for DBD::Chart, 0.81 or later ... ok
Checking for DBI, 1.28 or later ... ok
Checking if your kit is complete...
Looks good
Writing Makefile for DBIx::Chart
C:\Perl-modules\DBIx-Chart-0.04>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp Chart.pm blib\lib\DBIx\Chart.pm
C:\Perl-modules\DBIx-Chart-0.04>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Skip blib\lib\DBIx\Chart.pm (unchanged)
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,=
'blib\lib', 'blib\arch'
)" t\plottest.t
t\plottest....ok 3/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm l
ine 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 4/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm l
ine 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 5/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm l
ine 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 6/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm l
ine 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 7/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm l
ine 2211.
DBD::Chart::st execute failed: BOXCHART chart requires at least 1 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: CANDLESTICK chart requires at least 3=
columns. at
C:\Perl-modules\DBI
x-Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
t\plottest....ok 8/46Use of uninitialized value in print at t\plottest.t=
line
2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 9/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm l
ine 2211.
DBD::Chart::st execute failed: PIECHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: PIECHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
t\plottest....ok 10/46Use of uninitialized value in print at t\plottest.t=
line
2568.
t\plottest....ok 11/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 12/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 13/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 16/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 17/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: POINTGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx
-Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
DBI handle 0x1d2868c cleared whilst still active at t\plottest.t line 1506.
dbih_clearcom (sth 0x1d2868c, com 0x2444b5c, imp DBD::CSV::st):
FLAGS 0x182115: COMSET Active Warn PrintError PrintWarn
ShowErrorStatement
PARENT DBIx::Chart::db=3DHASH(0x23d27f4)
KIDS 0 (0 Active)
IMP_DATA undef
NUM_OF_FIELDS 2
t\plottest....ok 18/46 NUM_OF_PARAMS 0
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: POINTGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx
-Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 19/46DBI handle 0x1d28d1c cleared whilst still active at
t\plottest.t line 1576.
dbih_clearcom (sth 0x1d28d1c, com 0x2444b5c, imp DBD::CSV::st):
FLAGS 0x182115: COMSET Active Warn PrintError PrintWarn
ShowErrorStatement
PARENT DBIx::Chart::db=3DHASH(0x23d27f4)
KIDS 0 (0 Active)
IMP_DATA undef
NUM_OF_FIELDS 2
NUM_OF_PARAMS 0
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: POINTGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx
-Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 20/46DBI handle 0x241fcac cleared whilst still active at
t\plottest.t line 1591.
dbih_clearcom (sth 0x241fcac, com 0x24a6f44, imp DBD::CSV::st):
FLAGS 0x182115: COMSET Active Warn PrintError PrintWarn
ShowErrorStatement
PARENT DBIx::Chart::db=3DHASH(0x23d27f4)
KIDS 0 (0 Active)
IMP_DATA undef
NUM_OF_FIELDS 2
NUM_OF_PARAMS 0
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 21/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 22/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 23/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
t\plottest....ok 24/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: AREAGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
t\plottest....ok 25/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: GANTT chart requires at least 3 columns. at
C:\Perl-modules\DBIx-Char
t-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 26/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 27/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 28/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: AREAGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
t\plottest....ok 30/46DBD::Chart::st execute failed: CANDLESTICK chart=
requires
at least 3 columns.
at C:\Perl-modules\DBIx-Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 31/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 32/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: QUADTREE chart requires at least 3 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 34/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 35/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 36/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 37/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 38/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: BARCHART chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-C
hart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 39/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: LINEGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
Use of uninitialized value in numeric lt (<) at=
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
t\plottest....ok 41/46DBD::Chart::st execute failed: BARCHART chart requires=
at
least 2 columns. at
C:\Perl-modules\DBIx-Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 42/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: HISTOGRAM chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 43/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: AREAGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 44/46Use of uninitialized value in numeric lt (<) at
C:/Perl/site/lib/DBD/Chart.pm
line 2211.
DBD::Chart::st execute failed: AREAGRAPH chart requires at least 2 columns.=
at
C:\Perl-modules\DBIx-
Chart-0.04\blib\lib/DBIx/Chart.pm line 425.
Use of uninitialized value in print at t\plottest.t line 2565.
Use of uninitialized value in print at t\plottest.t line 2568.
t\plottest....ok 45/46Use of uninitialized value in concatenation (.) or=
string
at t\plottest.t line
2474.
Can't create temp table: at t\plottest.t line 2474.
t\plottest....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 46
Failed 1/46 tests, 97.83% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ ----------------=
---
t\plottest.t 2 512 46 2 4.35% 46
Failed 1/1 test scripts, 0.00% okay. 1/46 subtests failed, 97.83% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.
--
Cheers
Ron Savage, ron@savage.net.au on 19/08/2005
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company
Re: [ANNOUNCE] DBIx::Chart 0.04 (was Re: DBIx::Chart and Params)
am 18.08.2005 17:35:54 von darnold
Ron Savage wrote:
> On Wed, 17 Aug 2005 22:35:38 -0400 (EDT), Kenneth Dick wrote:
>
> Hi Dean
>
> Here' what I get under MS Windows & Perl 5.8.6:
>
> C:\Perl-modules\DBIx-Chart-0.04>perl Makefile.PL
>
> Configuring DBIx::Chart ...
>
Do you have DBD::CSV installed ? The tests require that.
BTW: I built/tested on AS 5.8.3, never got any of those errors
- Dean
Re: [ANNOUNCE] DBIx::Chart 0.04 (was Re: DBIx::Chart and Params)
am 18.08.2005 17:39:19 von darnold
Kenneth Dick wrote:
> OK, I installed the new versions of DBIx::Chart and
> DBD::Chart. Now a PH within the select works OK.
> But, if I try to use a PH within the RETURNING
> LINEGRAPH paragraph (for example, y-axis = ?, I get
> the following message:
> "DBD::Chart::st execute failed: Invalid dataset. at
> C:/Opt/Perl/site/lib/DBIx/Chart.pm line 425."
>
> Any ideas ?? Or is he use of PHs within the RETURNING
> portion of the chart syntax not supported ??
>
> Thanks,
>
>
Er, it should work, but I don't think I've tested that
very thoroughly yet either, and won't have time to pursue
it for a while. Sorry, you'll have to patch in literals
for the time being.
Regards,
Dean Arnold
Presicient Corp.
Re: [ANNOUNCE] DBIx::Chart 0.04 (was Re: DBIx::Chart and Params)
am 19.08.2005 00:46:13 von ron
On Thu, 18 Aug 2005 08:35:54 -0700, Dean Arnold wrote:
Hi Dean
> Do you have DBD::CSV installed ? The tests require that. BTW: I
> built/tested on AS 5.8.3, never got any of those errors
Yes.
--
Cheers
Ron Savage, ron@savage.net.au on 19/08/2005
http://savage.net.au/index.html
Let the record show: Microsoft is not an Australian company