[Koha] DBD driver has not implemented the AutoCommit attribute

Marc Nürnberger marc.nuernberger at gmx.de
Thu Jun 18 01:31:29 NZST 2009


Dear all,

I am struggling hard with this DBD driver problem, ever since I did 
one reboot on an lenny & perl 5.10 & Koha 3.00.02-final. Make test 
always fails with the below message.

On a test system the same combination is running just fine. So I 
thought it's just a matter of the right Perl modules, DBI and 
DBD::mysql. But no matter if I use the latest packages, or the working 
combination of DBI 1.605 and DBD:mysql 4.007 from the test system, I 
cannot get past this one...

Any suggestions, what could be a next step in troubleshooting?
Thanks a lot.

Best regards,
Marc

*****************************************

t/Circulation_barcodedecode.t .. 1/16
#   Failed test 'use C4::Circulation;'
#   at t/Circulation_barcodedecode.t line 10.
#     Tried to use 'C4::Circulation'.
#     Error:  DBD driver has not implemented the AutoCommit attribute 
at /usr/local/lib/perl/5.10.0/DBI.pm line 690.
# Compilation failed in require at 
/root/kohaclone/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25.
# BEGIN failed--compilation aborted at 
/root/kohaclone/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Undefined subroutine &C4::Circulation::barcodedecode called at 
t/Circulation_barcodedecode.t line 31.
# Looks like you planned 16 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Circulation_barcodedecode.t .. Dubious, test returned 255 (wstat 
65280, 0xff00)
Failed 16/16 subtests


******************************************
Test Summary Report
-------------------
t/Circulation_barcodedecode.t (Wstat: 65280 Tests: 1 Failed: 1)
   Failed test:  1
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 16 tests but ran 1.
t/Dates.t                    (Wstat: 65280 Tests: 135 Failed: 9)
   Failed tests:  127-135
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 126 tests but ran 135.
Files=21, Tests=183,  3 wallclock secs ( 0.08 usr  0.02 sys +  2.48 
cusr  0.18 csys =  2.76 CPU)
Result: FAIL
Failed 2/21 test programs. 10/183 subtests failed.
make: *** [test_dynamic] Fehler 255






More information about the Koha mailing list