|
From: Florian H. <fh...@fa...> - 2002-04-14 01:39:00
|
Hi!
I've been just installing SPOPS-0.58 and got some weird Errors while 'make=
=20
test' =3D> test 't/30_dbi':
-------- BEGIN OF EXCERPT --------
t/30_dbi...............NOK 5# Failed test (t/30_dbi.t at line 83)
Error saving object: Can't get DBI::db=3DHASH(0x83a8d40)->{Name}:=20
unrecognised attribute at blib/lib/SPOPS/SQLInterface.pm line 427.
$VAR1 =3D {
'line' =3D> undef,
'method' =3D> undef,
'filename' =3D> undef,
'type' =3D> undef,
'system_msg' =3D> undef,
'package' =3D> undef,
'extra' =3D> undef,
'user_msg' =3D> undef
};
SPOPS::DBI::id_clause (164) >> Likely was not passed sufficient information=
=20
to get infromation requested. Making a 'best guess'
-------- END OF EXCERPT --------
With 't/30_dbi' test 1-4 and 6 were then fine, 7-20 failed - probably due=20
to NOK in test 5.
So I looked at 'SPOPS/SQLInterface.pm' and changed at line 427=20
'$db->{Name}' into '$db->{name}':
427 my $type_idx =3D join( '-', lc $db->{Name}, lc $table );
into
427 my $type_idx =3D join( '-', lc $db->{name}, lc $table );
With these minor change the 'make test' got OK:
't/30_dbi...............ok'
I'm using MySQL 3.22.32 on a debian machine. Is this a general fault or is=
=20
it just my specific system configuration?
Best regards,
Florian
-[ fast networx / Morseweg 3 / 23556 L=FCbeck ]-
-[ Tel. 0451.499 400-6 / Fax 0451.499 400-7 ]-
-[ fh...@fa... / www.fastnetworx.de ]-
|