[Dbix-class] DBIx::Class 0.08918 install fails? Was: Undefined
subroutine &DBIx::Class::Exception::catch
Dave Howorth
dhoworth at mrc-lmb.cam.ac.uk
Wed Aug 15 14:23:23 GMT 2012
Dave Howorth wrote:
> Has anybody seen this eror message before?
>
> Undefined subroutine &DBIx::Class::Exception::catch
>
> All my programs that use DBIx::Class on a particular machine have just
> broken and now die with that error message.
So after spending a fruitless few hours looking for the presumed
incompatibility (backward regression?), I decided it wasn't worth
spending any more time on and that I'd try to resolve the problem by
upgrading. But DBIx::Class fails to install (see below).
I see some people are having trouble using 0.08198. But is anybody
seeing failures on install?
Again, any suggestions on how to get this system working again would be
be greatly appreciated.
Cheers, Dave
[snip of successful tests]
t/storage/on_connect_do.t ........................ ok
t/storage/ping_count.t ........................... ok
t/storage/quote_names.t .......................... ok
t/storage/reconnect.t ............................ 1/?
# Failed test 'The operation succeeded'
# at t/storage/reconnect.t line 69.
# died: DBIx::Class::Exception (DBIx::Class::ResultSet::search(): DBI
Exception: DBD::SQLite::db prepare_cached failed: disk I/O error [for
Statement "SELECT me.artistid, me.name, me.rank, me.charfield FROM
artist me ORDER BY name DESC"] at t/storage/reconnect.t line 68
# )
# Failed test 'Three artists returned'
# at t/storage/reconnect.t line 70.
# got: 0
# expected: 3
# Looks like you failed 2 tests of 36.
t/storage/reconnect.t ............................ Dubious, test
returned 2 (wstat 512, 0x200)
Failed 2/36 subtests
t/storage/replicated.t ........................... skipped: Test needs
MooseX::Types >= 0.21
t/storage/source_bind_compat.t ................... ok
t/storage/stats.t ................................ ok
t/storage/txn.t .................................. ok
t/storage/txn_scope_guard.t ...................... ok
t/update/all.t ................................... ok
t/update/ident_cond.t ............................ ok
t/update/type_aware.t ............................ ok
t/zzzzzzz_perl_perf_bug.t ........................ ok
t/zzzzzzz_sqlite_deadlock.t ...................... skipped: Skipping
test on plain module install
Test Summary Report
-------------------
t/52leaks.t (Wstat: 0 Tests: 197
Failed: 0)
TODO passed: 149
t/multi_create/existing_in_chain.t (Wstat: 0 Tests: 10
Failed: 0)
TODO passed: 1-2, 5-6, 10
t/multi_create/reentrance_count.t (Wstat: 0 Tests: 18
Failed: 0)
TODO passed: 1-4, 6-10, 12, 15-16, 18
t/prefetch/via_search_related.t (Wstat: 0 Tests: 24
Failed: 0)
TODO passed: 21-22
t/row/inflate_result.t (Wstat: 0 Tests: 12
Failed: 0)
TODO passed: 3
t/storage/reconnect.t (Wstat: 512 Tests: 36
Failed: 2)
Failed tests: 5-6
Non-zero exit status: 2
Files=279, Tests=20205, 325 wallclock secs ( 8.88 usr 2.04 sys + 269.56
cusr 18.32 csys = 298.80 CPU)
Result: FAIL
Failed 1/279 test programs. 2/20205 subtests failed.
make: *** [test_dynamic] Error 255
FREW/DBIx-Class-0.08198.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports FREW/DBIx-Class-0.08198.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
FREW/DBIx-Class-0.08198.tar.gz : make_test NO
cpan[2]>
More information about the DBIx-Class
mailing list