Helllo all, I am have been running 1.03 without any
problems until today when I get this strange error
when I login and look at my pending messages.

All the other tabs work, except when I look at pending
I get the follow error (i am using tmda-cgi)


G





UnicodeDecodeError      Python 2.3.4: /usr/bin/python2.3
Thu Oct 28 16:22:13 2004

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/tmda-cgi/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 '/usr/local/src/tmda-cgi/PendList.pyc'>

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

 /usr/local/src/tmda-cgi/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
'/usr/local/src/tmda-cgi/Unicode.pyc'>,
Unicode.TranslateToUTF8 = <function TranslateToUTF8>,
CharSet = 'utf-8', decoded =
('\xc8\xec\xef\xee\xf0\xf2-\xdd\xea\xf1\xef\xee\xf0\xf2',
None)

 /usr/local/src/tmda-cgi/Unicode.py in
TranslateToUTF8(CharSet='utf-8',
Str='\xc8\xec\xef\xee\xf0\xf2-\xdd\xea\xf1\xef\xee\xf0\xf2',
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 =
'\xc8\xec\xef\xee\xf0\xf2-\xdd\xea\xf1\xef\xee\xf0\xf2'

UnicodeDecodeError: 'utf8' codec can't decode bytes in
position 0-1: invalid data
      args = ('utf8',
'\xc8\xec\xef\xee\xf0\xf2-\xdd\xea\xf1\xef\xee\xf0\xf2',
0, 2, 'invalid data')
      encoding = 'utf8'
      end = 2
      object =
'\xc8\xec\xef\xee\xf0\xf2-\xdd\xea\xf1\xef\xee\xf0\xf2'
      reason = 'invalid data'
      start = 0



                
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to