Subject: | Module stopped working because URL moved? |
Hello,
I am a happy Lingua::Translate user. However, I have experienced
failures recently and believe the URL may have moved?
If I enter http://babelfish.altavista.com/tr? into my browser I am
redirected to http://babelfish.yahoo.com/?fr=avbbf-xxen, with the
message: "Welcome to Yahoo! Babel Fish! Please note you have been
redirected from babelfish.altavista.com."
To reproduce this error, simply install the module:
perl Makefile.PL
make
make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01-babelfish....ok 1/4Request timed out more than 2 times (Request
1:301 Moved Permanently; Request 2:301 Moved Permanently; Request 3:301
Moved Permanently; ) at
/root/.cpan/build/Lingua-Translate-0.08-1qyYrR/blib/lib/Lingua/Translate/Babelfish.pm
line 206.
# Looks like you planned 4 tests but only ran 2.
# Looks like your test died just after 2.
t/01-babelfish....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/02-translate....ok 1/6Translation back-end failed; Request timed out
more than 2 times (Request 1:301 Moved Permanently; Request 2:301 Moved
Permanently; Request 3:301 Moved Permanently; ) at
/root/.cpan/build/Lingua-Translate-0.08-1qyYrR/blib/lib/Lingua/Translate/Babelfish.pm
line 206.
# Looks like you planned 6 tests but only ran 2.
# Looks like your test died just after 2.
t/02-translate....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-6
Failed 4/6 tests, 33.33% okay
t/03-systran......ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/01-babelfish.t 255 65280 4 4 3-4
t/02-translate.t 255 65280 6 8 3-6
Failed 2/3 test scripts. 6/13 subtests failed.
Files=3, Tests=13, 1 wallclock secs ( 0.66 cusr + 0.11 csys = 0.77 CPU)
Failed 2/3 test programs. 6/13 subtests failed.
make: *** [test_dynamic] Error 255
I will have someone look at it further but wondered if you can confirm
and/or there is a trivial fix?
best regards,
-Graham