DBD driver has not implemented the AutoCommit attribute
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
Weird. I think this came up before, without resolution. Maybe try with perl 5.8.8? -- Joe Atzberger LibLime - Open Source Library Solutions 2009/6/17 Marc Nürnberger <marc.nuernberger@gmx.de>
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
Dear Joe, Thanks for your advice! Unfortunately a Centos (Perl 5.8.8, koha 3.00.03) install, leads finally to the same error on the intranet page: DBD driver has not implemented the Autocommit attribute at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 705 Any idea? Best, Marc Joe Atzberger schrieb:
Weird. I think this came up before, without resolution. Maybe try with perl 5.8.8?
-- Joe Atzberger LibLime - Open Source Library Solutions
2009/6/17 Marc Nürnberger <marc.nuernberger@gmx.de <mailto:marc.nuernberger@gmx.de>>
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
participants (2)
-
Joe Atzberger -
Marc Nürnberger