[Bioperl-l] Cannot make test on bioperl-db

Hilmar Lapp hlapp at gnf.org
Thu Sep 23 14:20:22 EDT 2004


Looks like you forgot to copy t/DBHarness.conf.example to 
t/DBHarness.biosql.conf and edit to set your driver, and login 
credentials etc.

Let me know if you did do that and you get the error nonetheless. In 
that case, also provide the versions of OS, perl, DBI, DBD::Oracle, and 
Oracle.

	-hilmar

On Thursday, September 23, 2004, at 01:25  AM, 황미녕 wrote:

>
> I have installed the Oracle version of BioSQL and bioperl-db,
> and they compile and install fine
>
> However, make
> test on bioperl-db fails miserably with hundreds of messages similar to
> the following on virtually every module:
>
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/cluster.......driver not set at t/DBTestHarness.pm line 106
>         DBTestHarness::driver('DBTestHarness=HASH(0x871cccc)') called 
> at t/DBTestHarness.pm line 204
>         DBTestHarness::create_db('DBTestHarness=HASH(0x871cccc)') 
> called at t/DBTestHarness.pm line 94
>         DBTestHarness::new('DBTestHarness','biosql') called at 
> t/cluster.t line 19
> t/cluster.......dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> Scalar found where operator expected at (eval 154) line 1, near "'int' 
>  $__val"
>         (Missing operator before   $__val?)
> DIED. FAILED tests 1-160
>         Failed 160/160 tests, 0.00% okay
> t/comment.......driver not set at t/DBTestHarness.pm line 106
>         DBTestHarness::driver('DBTestHarness=HASH(0x863fccc)') called 
> at t/DBTestHarness.pm line 204
>         DBTestHarness::create_db('DBTestHarness=HASH(0x863fccc)') 
> called at t/DBTestHarness.pm line 94
>         DBTestHarness::new('DBTestHarness','biosql') called at 
> t/comment.t line 20
> t/comment.......dubious
>         Test returned status 255 (wstat 65280, 0xff00)
> ..............
>
>
> I am wary of wasting time trying to load real data if the test fails
> like this - is it a 'fatal' problem or can I ignore it and load real
> data anyway?
>
> Any idea what's going on here? I can't figure it out.
>
> cheers,
> mnhwang_______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
-- 
-------------------------------------------------------------
Hilmar Lapp                            email: lapp at gnf.org
GNF, San Diego, Ca. 92121              phone: +1-858-812-1757
-------------------------------------------------------------





More information about the Bioperl-l mailing list