RE: Upgrade to 3.2.0 failed => Malformed UTF-8 character @Bayes.pm line 362

2007-05-16 Thread Hamel Gilles - Brandt Appliances
Yes, you are right, we use SARE rules.
But, I am not sure that my problem is the same as
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5440 or
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5437

Why these errors are triggered in Bayes.pm, SARE rules aren't dependant with 
Bayes ?

 
-Message d'origine-
De : Martin.Hepworth [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 16 mai 2007 11:38
À : Hamel Gilles - Brandt Appliances; users@spamassassin.apache.org
Objet : RE: Upgrade to 3.2.0 failed => Malformed UTF-8 character
@Bayes.pm line 362



Hi

Common problem with perl < 5.8.8 and the SARE rules.

In Messages.pm in the spamassassin perl library add a line like the
following after "use warnings;"...

"use bytes;"


--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-
> From: Hamel Gilles - Brandt Appliances
> [mailto:[EMAIL PROTECTED]
> Sent: 16 May 2007 10:25
> To: users@spamassassin.apache.org
> Subject: Upgrade to 3.2.0 failed => Malformed UTF-8 character
@Bayes.pm
> line 362
>
> Hello,
>
> We have upgraded from 3.1.7 to 3.2.0. Now we get a lot of errors like
this
> :
>
> May 16 10:45:01  mimedefang-multiplexor[22448]: Slave 2 stderr:
art
> byte) in substitution iterator at /u
> sr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362.
> Malformed UTF-8 character (unexpected continuati
> on byte 0xa9, with no preceding start byte) in substitution iterator
at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAs
> sassin/Bayes.pm line 362. Malformed UTF-8 character (unexpected
> continuation byte 0xa8, with no preceding start by
> te) in substitution iterator at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362.
> Malformed UTF-
> 8 character (un
> May 16 10:45:01  mimedefang-multiplexor[22448]: Slave 2 stderr:
> expected continuation byte 0xa9, with no
>  preceding start byte) in substitution iterator at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line
> 362. Malformed UTF-8 character (unexpected continuation byte 0xb4,
with no
> preceding start byte) in substitution i
> terator at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm
line
> 362. Malformed UTF-8 character (unexpect
> ed continuation byte 0xa0, with no preceding start byte) in
substitution
> iterator at /usr/lib/perl5/site_perl/5.8.
> 0/Mail/SpamAssa
> May 16 10:45:01 xxx mimedefang-multiplexor[22448]: Slave 2 stderr:
> ssin/Bayes.pm line 362. Malformed UTF-8
> character (unexpected continuation byte 0xa8, with no preceding start
> byte) in substitution iterator at /usr/lib/p
> erl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362. Malformed
UTF-8
> character (unexpected continuation byte
> 0xa9, with no preceding start byte) in substitution iterator at
> /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/B
> ayes.pm line 362. Malformed UTF-8 character (unexpected continuation
byte
> 0xa8, with no preceding start byte) in s
> ubstitution ite
>
> We are rollbacking to 3.1.7.
>
> The system use perl 5.8.0 with LANG=en_US and has never used utf8.
>
> all test passed successfully and none failed during make test.
> spamassassin --lint is OK.
>
> What does it mean ?
>
> Thank you for your help





**
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.

Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.

Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 

Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**



Upgrade to 3.2.0 failed => Malformed UTF-8 character @Bayes.pm line 362

2007-05-16 Thread Hamel Gilles - Brandt Appliances
Hello,

We have upgraded from 3.1.7 to 3.2.0. Now we get a lot of errors like this :

May 16 10:45:01  mimedefang-multiplexor[22448]: Slave 2 stderr: art byte) 
in substitution iterator at /u
sr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362. Malformed 
UTF-8 character (unexpected continuati
on byte 0xa9, with no preceding start byte) in substitution iterator at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAs
sassin/Bayes.pm line 362. Malformed UTF-8 character (unexpected continuation 
byte 0xa8, with no preceding start by
te) in substitution iterator at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362. Malformed 
UTF-
8 character (un
May 16 10:45:01  mimedefang-multiplexor[22448]: Slave 2 stderr: expected 
continuation byte 0xa9, with no
 preceding start byte) in substitution iterator at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 
362. Malformed UTF-8 character (unexpected continuation byte 0xb4, with no 
preceding start byte) in substitution i
terator at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362. 
Malformed UTF-8 character (unexpect
ed continuation byte 0xa0, with no preceding start byte) in substitution 
iterator at /usr/lib/perl5/site_perl/5.8.
0/Mail/SpamAssa
May 16 10:45:01 xxx mimedefang-multiplexor[22448]: Slave 2 stderr: 
ssin/Bayes.pm line 362. Malformed UTF-8 
character (unexpected continuation byte 0xa8, with no preceding start byte) in 
substitution iterator at /usr/lib/p
erl5/site_perl/5.8.0/Mail/SpamAssassin/Bayes.pm line 362. Malformed UTF-8 
character (unexpected continuation byte 
0xa9, with no preceding start byte) in substitution iterator at 
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/B
ayes.pm line 362. Malformed UTF-8 character (unexpected continuation byte 0xa8, 
with no preceding start byte) in s
ubstitution ite

We are rollbacking to 3.1.7.

The system use perl 5.8.0 with LANG=en_US and has never used utf8.

all test passed successfully and none failed during make test.
spamassassin --lint is OK.

What does it mean ? 

Thank you for your help