[Dbix-class] DBIx::Class::DigestColumns failes to test

Christopher H. Laco claco at chrislaco.com
Mon Oct 30 15:31:02 GMT 2006


Goetz Bock wrote:
> Dear list,
> =

> as mst requested on irc, here my trouble with DBIx::Class::DigestColumns


What version of DBIC and SQL::Translator do you have installed?
We have the same type of failures with UUIDColumns and Validation dists.

ash figured out that it's a problem with some version of SQL::T and DBIC
where deply() is ignoring statements that start with -- comments...of
which that version of SQL::T is producing...

in the end...no table is being created...hence:  no such table: test

Not sure on the versions in question...



> =

> bg at pldev:~/.cpan/build/DBIx-Class-DigestColumns-0.02000$ ./Build test
> t/02pod..........skipped
>         all skipped: Test::Pod 1.14 required
> t/04basic........ok                                                      =
    =

> t/05digest.......DBD::SQLite::db prepare_cached failed: no such table: te=
st(1) at dbdimp.c line 271 at /home/bg/site/perl/lib/perl5/DBIx/Class/Stora=
ge/DBI.pm line 879.
> DBIx::Class::ResultSet::create(): no sth generated via sql (no such table=
: test(1) at dbdimp.c line 271): INSERT INTO test (password) VALUES (?) at =
t/05digest.t line 18
> # Looks like your test died before it could output anything.
> t/05digest.......dubious                                                 =
    =

>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-5
>         Failed 5/5 tests, 0.00% okay
> t/05md5..........DBD::SQLite::db prepare_cached failed: no such table: te=
st(1) at dbdimp.c line 271 at /home/bg/site/perl/lib/perl5/DBIx/Class/Stora=
ge/DBI.pm line 879.
> DBIx::Class::ResultSet::create(): no sth generated via sql (no such table=
: test(1) at dbdimp.c line 271): INSERT INTO test (password) VALUES (?) at =
t/05md5.t line 26
> # Looks like your test died before it could output anything.
> t/05md5..........dubious                                                 =
    =

>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-2
>         Failed 2/2 tests, 0.00% okay
> t/06md4..........skipped
>         all skipped: needs Digest::MD4 for testing
> t/07md2..........skipped
>         all skipped: needs Digest::MD2 for testing
> t/08sha..........DBD::SQLite::db prepare_cached failed: no such table: te=
st(1) at dbdimp.c line 271 at /home/bg/site/perl/lib/perl5/DBIx/Class/Stora=
ge/DBI.pm line 879.
> DBIx::Class::ResultSet::create(): no sth generated via sql (no such table=
: test(1) at dbdimp.c line 271): INSERT INTO test (password) VALUES (?) at =
t/08sha.t line 29
> # Looks like your test died before it could output anything.
> t/08sha..........dubious                                                 =
    =

>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-12
>         Failed 12/12 tests, 0.00% okay
> t/09hmacmd5......Use of uninitialized value in length at /home/bg/site/pe=
rl/share/perl/5.8.4/Digest/HMAC.pm line 12.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 15.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 16.
> Use of uninitialized value in length at /home/bg/site/perl/share/perl/5.8=
.4/Digest/HMAC.pm line 12.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 15.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 16.
> DBD::SQLite::db prepare_cached failed: no such table: test(1) at dbdimp.c=
 line 271 at /home/bg/site/perl/lib/perl5/DBIx/Class/Storage/DBI.pm line 87=
9.
> DBIx::Class::ResultSet::create(): no sth generated via sql (no such table=
: test(1) at dbdimp.c line 271): INSERT INTO test (password) VALUES (?) at =
t/09hmacmd5.t line 26
> # Looks like your test died before it could output anything.
> t/09hmacmd5......dubious                                                 =
    =

>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-2
>         Failed 2/2 tests, 0.00% okay
> t/10hmacsha1.....Use of uninitialized value in length at /home/bg/site/pe=
rl/share/perl/5.8.4/Digest/HMAC.pm line 12.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 15.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 16.
> Use of uninitialized value in length at /home/bg/site/perl/share/perl/5.8=
.4/Digest/HMAC.pm line 12.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 15.
> Use of uninitialized value in bitwise xor (^) at /home/bg/site/perl/share=
/perl/5.8.4/Digest/HMAC.pm line 16.
> DBD::SQLite::db prepare_cached failed: no such table: test(1) at dbdimp.c=
 line 271 at /home/bg/site/perl/lib/perl5/DBIx/Class/Storage/DBI.pm line 87=
9.
> DBIx::Class::ResultSet::create(): no sth generated via sql (no such table=
: test(1) at dbdimp.c line 271): INSERT INTO test (password) VALUES (?) at =
t/10hmacsha1.t line 26
> # Looks like your test died before it could output anything.
> t/10hmacsha1.....dubious                                                 =
    =

>         Test returned status 255 (wstat 65280, 0xff00)
> DIED. FAILED tests 1-2
>         Failed 2/2 tests, 0.00% okay
> t/11crc..........skipped
>         all skipped: needs Digest::CRC for testing
> t/12whirlpool....skipped
>         all skipped: needs Digest::Whirlpool for testing
> t/13alder32......skipped
>         all skipped: needs Digest::Adler32 for testing
> Failed Test    Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------=
------
> t/05digest.t    255 65280     5   10 200.00%  1-5
> t/05md5.t       255 65280     2    4 200.00%  1-2
> t/08sha.t       255 65280    12   24 200.00%  1-12
> t/09hmacmd5.t   255 65280     2    4 200.00%  1-2
> t/10hmacsha1.t  255 65280     2    4 200.00%  1-2
> 6 tests skipped.
> Failed 5/12 test scripts, 58.33% okay. 23/24 subtests failed, 4.17% okay.
> =

> --  =

> /"\ Goetz Bock at blacknet dot de  --  secure mobile Linux everNETting
> \ /       (c) 2006 Creative Commons, Attribution-ShareAlike 2.0 de
>  X   [ 1. Use descriptive subjects - 2. Edit a reply for brevity -  ]
> / \  [ 3. Reply to the list - 4. Read the archive *before* you post ]
> =

> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive: http://www.mail-archive.com/dbix-class@lists.rawmode.=
org/
> =

> =



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://jules.scsys.co.uk/pipermail/dbix-class/attachments/20061030/a5=
300fe4/signature.pgp


More information about the DBIx-Class mailing list