Hi

Here comes an error again by a malformed UTF-8 or so. How do I find
out in witch messege the error is in? I have about 50 messages in my
pending list. The I would forward the message. Thanks for any help.

Zeno

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/src/t/tmda-cgi-0.09/tmda-cgi.py
  158   elif Cmd == "pending":
  159     import PendList
  160     Call(PendList)
  161   elif Cmd == "restore":
  162     pass
Call = <function Call>, PendList = <module 'PendList' from
'/usr/local/src/t/tmda-cgi-0.09/PendList.py'>

 /usr/local/src/t/tmda-cgi-0.09/tmda-cgi.py in Call(Library=<module
'PendList' from '/usr/local/src/t/tmda-cgi-0.09/PendList.py'>,
Str=None)
   55     Library.Show(Str)
   56   else:
   57     Library.Show()
   58 
   59 # Capture WebUID
Library = <module 'PendList' from
'/usr/local/src/t/tmda-cgi-0.09/PendList.py'>, Library.Show =
<function Show>

 /usr/local/src/t/tmda-cgi-0.09/PendList.py in Show()
  243         # Decode internationalazed headers
  244         value = ""
  245         for decoded in email.Header.decode_header(
MsgObj.msgobj["subject"] ):
  246           if decoded[1]:
  247             try:
decoded = ('"Lorena Masters" <[EMAIL PROTECTED]>', None),
global email = <module 'email' from
'/usr/local/src/t/tmda-0.78/TMDA/pythonlib/email/__init__.pyc'>,
email.Header = <module 'email.Header' from
'/usr/local/src/t/tmda-0.78/TMDA/pythonlib/email/Header.py'>,
email.Header.decode_header = <function decode_header>, MsgObj =
<TMDA.Pending.Message instance>, MsgObj.msgobj =
<email.Message.Message instance>

 /usr/local/src/t/tmda-0.78/TMDA/pythonlib/email/Header.py in
decode_header(header='=?UTF-8?b?WW91ciBtb3J0Zy4gcXVvdGUgaXMgaW4gKDIuOSUpO6?=
')
  111                         # now we throw the lower level exception away but
  112                         # when/if we get exception chaining,
we'll preserve it.
  113                         raise HeaderParseError
  114                 if dec is None:
  115                     dec = encoded
global HeaderParseError = <class email.Errors.HeaderParseError>

HeaderParseError:
      args = ()
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to