The following error message appears when the attached email is in pending.
I have already applied the past patches to tmda-cgi for 0.13 but now get the following with this email message.


---------------------------ERROR MESSAGE----------------------
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.


/usr/local/tmda/tmda-cgi-0.13/tmda-cgi.py
188 elif Cmd == "pending":
189 import PendList
190 Call(PendList)
191 elif Cmd == "restore":
192 pass
Call = <function Call>, PendList = <module 'PendList' from 'PendList.py'>

/usr/local/tmda/tmda-cgi-0.13/tmda-cgi.py in Call(Library=<module 'PendList' from 'PendList.py'>, Str=None)
86 Library.Show(Str)
87 else:
88 Library.Show()
89
90 # Capture WebUID
Library = <module 'PendList' from 'PendList.py'>, Library.Show = <function Show>


/usr/local/tmda/tmda-cgi-0.13/PendList.py in Show()
475 value += Unicode.TranslateToUTF8(CharSet, decoded[0], "ignore")
476 else:
477 value += Unicode.TranslateToUTF8(CharSet, decoded[0], "ignore")
478 Subject = value
479 if len(Subject) > int(PVars[("PendingList", "CropSubject")]):
value = '', global Unicode = <module 'Unicode' from 'Unicode.py'>, Unicode.TranslateToUTF8 = <function TranslateToUTF8>, CharSet = 'utf-8', decoded = ("!! what guy doesn\x92t like great head from barely legal hot babes? hef e'lro ep", None)


/usr/local/tmda/tmda-cgi-0.13/Unicode.py in TranslateToUTF8(CharSet='utf-8', Str="!! what guy doesn\x92t like great head from barely legal hot babes? hef e'lro ep", Errors='ignore')
113 Uni = Decoder(Str, errors = Errors)[0]
114 except:
115 Uni = Decoder(Str)[0]
116
117 # Encode for UTF-8
Uni undefined, Decoder = <built-in function utf_8_decode>, Str = "!! what guy doesn\x92t like great head from barely legal hot babes? hef e'lro ep"


UnicodeError: UTF-8 decoding error: unexpected code byte
__doc__ = 'Unicode related error.'
__getitem__ = <bound method UnicodeError.__getitem__ of <exceptions.UnicodeError instance>>
__init__ = <bound method UnicodeError.__init__ of <exceptions.UnicodeError instance>>
__module__ = 'exceptions'
__str__ = <bound method UnicodeError.__str__ of <exceptions.UnicodeError instance>>
args = ('UTF-8 decoding error: unexpected code byte',)




-------------------------- EMAIL MESSAGE ----------------------
1085989566.18421.msg
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 18415 invoked from network); 31 May 2004 03:46:05 -0400
Received: from unknown (HELO mta-mx1.DOMAIN.COM) (65.110.96.121)
by mail.DOMAIN.COM with SMTP; 31 May 2004 03:46:05 -0400
Received: (qmail 30094 invoked by uid 1006); 31 May 2004 07:46:05 -0000
Received: from [EMAIL PROTECTED] by mta-mx1.DOMAIN.COM by uid 1002 with MTA-MX1-SCANNER-1.21
X-Spam-Status: Yes, hits=12.2 required=5.0
X-Spam-Level: ++++++++++++
Received: from unknown (HELO ACB66EE6.ipt.aol.com) (172.182.110.230)
by mta-mx3.DOMAIN.COM with SMTP; 31 May 2004 07:46:01 -0000
Received-SPF: none (mta-mx3.DOMAIN.COM: domain at mccinet.ru does not designate permitted sender hosts)
Received: from unknown (HELO BFCBCFF) (192.168.231.67)
by ACB66EE6.ipt.aol.com with SMTP; Mon, 31 May 2004 03:45:41 +0000
Message-ID: <[EMAIL PROTECTED]>
From: "delphinia wandie" <[EMAIL PROTECTED]>
To: "ella ellen" <[EMAIL PROTECTED]>
Subject: !! what guy doesn’t like great head from barely legal hot babes? hef e'lro ep
Date: Mon, 31 May 2004 03:45:32 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_006A_01C446C3.1A1E2773"
X-Priority: 3
X-TMDA-Action: CONFIRM action_incoming
X-TMDA-Recipient: [EMAIL PROTECTED]


This is a multi-part message in MIME format.

------=_NextPart_000_006A_01C446C3.1A1E2773
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable

text part
------=_NextPart_000_006A_01C446C3.1A1E2773
Content-Type: text/html;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV style=3D"COLOR: white">Chaucer's Canterbury Tales</DIV>
<DIV style=3D"COLOR: white">file names: the concordancer is case =
sensitive.</DIV>
<DIV style=3D"COLOR: white">important for writers. Do you end se=
ntences with new</DIV>
<P align=3D"center">
<A href=3D"http://gr.semipopular.com/n/dol/fem/main.html";>
<IMG border=3D"0" src=3D"http://rr.semipopular.com/n/images/femf=
acials_001.gif"></A> <BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<FONT color=3D"#FFFF00"><BR>
</SPAN></FONT> </P>
<P align=3D"left"><FONT face=3D"Verdana, Arial, Helvetica, sans-=
serif" size=3D1><B>
<SPAN style=3D"background-color: #FF9966">If y<!--854004-->ou =
d<!--509031-->on't wan<!--30019-->t
to be a p<!--962637-->art of o<!--247110-->ur pro<!--651494-->=
gram: <FONT color=3D"#000000"> <A target=3D"_blank" href=3D"http:=
//valail.semipopular.com/n/hello.html">
<FONT color=3D"#000000">CL<!--22697-->ICK </FONT> </A> </FONT=
> </SPAN> </SPAN> <FONT
color=3D#000000> <A target=3D"_blank" href=3D"http://imre.semipo=
pular.com/n/hello.html">
<FONT color=3D"#000000">
<SPAN style=3D"background-color: #FF9966">HE<!--624561-->RE</SP=
an></SPAN></FONT></A></FONT></B></FONT></P>
<BR><BR><BR>
<DIV style=3D"COLOR: white">important for writers. Do you end se=
ntences with new</DIV>
<DIV style=3D"COLOR: white">refer to people generally, as in You =
will often find that others</DIV>
<DIV style=3D"COLOR: white">of poems originally published in 191=
6 by</DIV>
RcptName: [EMAIL PROTECTED]
</BODY></HTML>
------=_NextPart_000_006A_01C446C3.1A1E2773--

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to