Re: [Maypole-dev] maypole 2.0 make test failed, maybe harmless

From: Roland Moriz (roland at moriz.de)
Date: Mon Oct 25 2004 - 10:12:03 BST


Hi,

Sebastian Riedel schrieb:
> Don't know whats wrong with your DBD::SQLite...

nothing. Maypole's beedb.db Database is "too old" ;-).

Maypole ships a sqlite2 database but the latest DBD::SQLite available on
CPAN (1.07) is sqlite3 powered and can't handle old databases.

I think it would be great to provide a v2 and v3 database with the next
release of maypole so that everyone can test it peacefully :-)

regards,
Roland

 From DBD::SQLite:

**** WARNING **** WARNING **** WARNING **** WARNING **** WARNING ****

Your version of DBD::SQLite currently installed (0.28) uses
the old sqlite database format. This version of DBD::SQLite will *NOT*
open these files, and installing this module may cause problems on your
system. If this is a live environment you should upgrade with caution.

To upgrade a database, download and install both sqlite 2.x and 3.x from
http://www.sqlite.org/ and issue:

   sqlite OLD.DB .dump | sqlite3 NEW.DB

DBD::SQLite will NOT automatically upgrade a database for you, and using
this version against an old SQLite database WILL lead to database
corruption.

> podcoverage is fixed in 2.01.
>
> sebastian
>
> forehead at 4red.org:
>
>>here is make test output:
>>
>>local5# make test
>>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>>t/01basics.........Debugging enabled at /usr/home/forehead/pm/Maypole-2.0/blib/lib/Maypole/Application.pm line 19.
>>DBD::SQLite::db prepare failed: file is encrypted or is not a database(26) at dbdimp.c line 263 at /usr/local/lib/perl5/site_perl/5.8.5/Class/DBI/Loader/SQLite.pm line 17.
>>skipped
>> all skipped: SQLite not working or BeerDB module could not be loaded: Can't call method "execute" on an undefined value at /usr/local/lib/perl5/site_perl/5.8.5/Class/DBI/Loader/SQLite.pm line 18.
>>t/02pod............ok
>>t/03podcoverage....ok 2/12Too late to run CHECK block at /usr/home/forehead/pm/Maypole-2.0/blib/lib/Maypole/CLI.pm line 17.
>>t/03podcoverage....ok 3/12# Failed test (/usr/local/lib/perl5/site_perl/5.8.5/Test/Pod/Coverage.pm at line 112)
>>t/03podcoverage....ok 4/12# Coverage for Apache::MVC is 0.0%, with 5 naked subroutines:
>>t/03podcoverage....ok 5/12# get_request
>>t/03podcoverage....NOK 6# get_template_root
>># parse_args
>># parse_location
>># send_output
>>t/03podcoverage....ok 12/12# Looks like you failed 1 tests of 12.
>>t/03podcoverage....dubious
>> Test returned status 1 (wstat 256, 0x100)
>>DIED. FAILED test 6
>> Failed 1/12 tests, 91.67% okay
>>Failed Test Stat Wstat Total Fail Failed List of Failed
>>-------------------------------------------------------------------------------
>>t/03podcoverage.t 1 256 12 1 8.33% 6
>>1 test skipped.
>>Failed 1/3 test scripts, 66.67% okay. 1/34 subtests failed, 97.06% okay.
>>*** Error code 2
>>
>>Stop in /usr/home/forehead/pm/Maypole-2.0.
>
>
>
> _______________________________________________
> maypole-dev mailing list
> maypole-dev at lists.netthink.co.uk
> http://lists.netthink.co.uk/listinfo/maypole-dev

_______________________________________________
maypole-dev mailing list
maypole-dev at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole-dev



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT