[Bioperl-l] installing HTML::Parser

Xiaodong baixd_99 at yahoo.com
Wed Dec 8 20:45:51 EST 2004


Thanks Paulo. Your way actually worked. Now I have it installed. But, I
am still confused about why it happened in the first place. Any ideas?

Xiaodong

--- Paulo Almeida <paulo.david at netvisao.pt> wrote:

> Hi,
> 
> I'm not sure it's the same thing, but this might help you: 
> http://forums.devshed.com/t77648/s.html
> 
> The part that interests you is:
> 
> I made the change to /etc/sysconfig/i18n
> 
> The default file reads
> 
> LANG="en_US.UTF-8"
> SUPPORTED="en_US.UTF-8:en_US:en"
> SYSFONT="latarcyrheb-sun16"
> 
> I change my file to read
> 
> LANG="en_US"
> SUPPORTED="en_US"
> SYSFONT="latarcyrheb-sun16"
> 
> If that doesn't help, you can google for "Malformed UTF-8 character 
> (unexpected" and see what else comes up.
> 
> -Paulo Almeida
> 
> 
> X wrote:
> 
> >Hello there,
> >
> >I am new to BioPerl. As I was trying to install the module of
> >HTML::Parser from CPAN. I got the following error messages when
> testing
> >the package. It seemed that my system was not correctly configured
> or
> >something. Could anybody give an explanation of the error messages
> and
> >how to fix the problem? Really appreciate it.
> >
> >
> >...... (tests ok)
> >t/entities ...........Malformed UTF-8 character (unexpected
> >non-continuation byte 0x72, immediately after start byte oxe5) in
> >substitution iterator at
> >/root/.cpan/build/HTML-Parser-3.43/blib/lib/HTML/Entities.pm line
> 458.
> >t/entities ...........ok 2/11Confused test output: test 2 answered
> >after test 4
> >t/entities............ok 3/11Confused test output: test 3 answered
> >after test 5
> >t/entities............NOK 4Confused test output: test 4 answered
> after
> >test 6
> >t/entities............NOK 5Confused test output: test 5 answered
> after
> >test 7
> >t/entities............NOK 6Confused test output: test 6 answered
> after
> >test 8
> >t/entities............ok 7/11Confused test output: test 7 answered
> >after test 9
> >t/entities............ok 8/11Confused test output: test 8 answered
> >after test 10
> >t/entities............FAILED tests 1-3, 7-9
> >	Failed 6/11 tests, 45.45% okay
> >...... (tests ok)
> >t/headparser..........Parsing of undecoded UTF-8 will give garbage
> when
> >decoding entities at
> >/root/.cpan/build/HTML-Parser-3.43/blib/lib/HTML/Parser.pm line 104.
> ># Test 3 got: 'Å være eller å ikke være' (t/headparser.t at line
> 137)
> >#   Expected: 'Å være eller å ikke være'
> >#  t/headparser.t line 137 is: ok($p->header("Title"), "Å være eller
> å
> >ikke være");
> >t/headparser.........FAILED test 3
> >        Failed 1/6 tests, 83.33% okay
> >...... (tests ok)
> >t/uentities..........FAILED tests 2, 8
> >        Failed 2/14 tests, 85.71% okay
> >...... (tests ok)
> >
> >Failed 3/44 test scripts, 93.18% okay. 9/355 subtests failed, 97.46%
> >okay.
> >make: *** [test_dynamic] Error 29
> >  /usr/bin/make test -- NOT OK
> >
> >
> >Xiaodong
> >
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


More information about the Bioperl-l mailing list