axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Axiom-developer] RE: Google Code repository


From: Vanuxem Gregory
Subject: RE: [Axiom-developer] RE: Google Code repository
Date: Fri, 22 Sep 2006 01:05:18 +0200

> -----Message d'origine-----
> De : Page, Bill [mailto:address@hidden
> Envoye : jeudi 21 septembre 2006 22:09
> A : Vanuxem Gregory
> Cc : address@hidden; address@hidden;
> address@hidden
> Objet : RE: [Axiom-developer] RE: Google Code repository

[...]

> This CPAN stuff is pretty scary! :-) I must have just downloaded
> and installed several hundred new Perl packages in the list 5
> minutes!

Yes, if there is a lot of prerequities my method is tedious.

[...]

> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00setup....ok
> t/01type.....Malformed UTF-8 character (unexpected non-continuation byte
> 0x0c, immediately after start byte 0xeb) in pattern match (m//) at
> lib/File/Type.pm line 102.
> Malformed UTF-8 character (unexpected non-continuation byte 0x0c,
> immediately after start byte 0xeb) in pattern match (m//) at
> lib/File/Type.pm line 108.
> ...
> Malformed UTF-8 character (unexpected continuation byte 0x80, with no
> preceding start byte) in pattern match (m//) at lib/File/Type.pm line
> 1344.
> #     Failed test (t/01type.t at line 57)
> #          got: 'application/octet-stream'
> #     expected: 'audio/x-wav'
> Malformed UTF-8 character (unexpected end of string) at lib/File/Type.pm
> line 67.
> ...
> Malformed UTF-8 character (byte 0xff) in pattern match (m//) at
> lib/File/Type.pm line 1483.
> #     Failed test (t/01type.t at line 57)
> #          got: 'application/octet-stream'
> #     expected: 'image/jpeg'
> Malformed UTF-8 character (unexpected non-continuation byte 0xd0, 1 byte
> after start byte 0xf3, expected 4 bytes) in pattern match (m//) at
> lib/File/Type.pm line 120.
> Malformed UTF-8 character (unexpected non-continuation byte 0xe5,
> immediately after start byte 0xc4) in pattern match (m//) at
> lib/File/Type.pm line 315.
> ...
> Malformed UTF-8 character (unexpected continuation byte 0x8b, with no
> preceding start byte) in pattern match (m//) at lib/File/Type.pm line
> 1479.
> #     Failed test (t/02mime.t at line 61)
> #          got: 'application/octet-stream'
> #     expected: 'application/x-gzip'
> # Looks like you failed 3 tests of 18.
> dubious

You are not alone with this problem, and it is not a bug, I believe, in this
module.
Search with Google "Malformed UTF-8 character (unexpected non-continuation
byte".
Some persons change the read/write mode of the filehandle to the binary one
(with binmode), some others prepend a LANG=C to the command line.
Or maybe modifying the open call with a "<:byte" or a "<:utf8" could help
(see perldoc PerlIO). But this requires to modify this module,
it's not a good solution. Is there some Perl gurus here?

Greg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]