Subject: | Failed test 'sources method' |
Date: | Mon, 07 Feb 2011 15:35:20 +0000 |
To: | bug-Bio-Das [...] rt.cpan.org |
From: | Frank Schwach <fs5 [...] sanger.ac.uk> |
Due to a possible problem with detecting proxy settings, the following
errors can occur during installation:
t/01das.t ..
1..36
ok 1 - use Bio::Das;
ok 2 - require Bio::Das;
ok 3 - open database
not ok 4 - sources method
not ok 5 - sources conent
# Failed test 'sources method'
# at t/01das.t line 19.
# Failed test 'sources conent'
# at t/01das.t line 21.
Can't call method "description" on an undefined value at t/01das.t line
22.
# Looks like you planned 36 tests but ran 5.
# Looks like you failed 2 tests of 5 run.
# Looks like your test exited with 110 just after 5.
Dubious, test returned 110 (wstat 28160, 0x6e00)
Failed 33/36 subtests
Test Summary Report
-------------------
t/01das.t (Wstat: 28160 Tests: 5 Failed: 2)
Failed tests: 4-5
Non-zero exit status: 110
Parse errors: Bad plan. You planned 36 tests but ran 5.
Files=1, Tests=5, 21 wallclock secs ( 0.03 usr 0.01 sys + 0.13 cusr
0.05 csys = 0.22 CPU)
Result: FAIL
A patch to Das.pm was posted on the gbrowe mailing list:
http://permalink.gmane.org/gmane.science.biology.gmod.gbrowse/5904
by Keiran Raine, here is a copy of his patch
71c71,79
< $self->proxy($proxy) if $proxy;
---
Show quoted text
> if($proxy) {
> $self->proxy($proxy);
> }
> elsif($ENV{HTTP_PROXY}) {
> $self->proxy($ENV{HTTP_PROXY});
> }
> elsif($ENV{http_proxy}) {
> $self->proxy($ENV{http_proxy});
> }
Would it be possible to integrate this patch into the next version?
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.