Hi

Ok, this is the message I get now for the second time. Any hints?
There is another post related to this one.

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()
  250               value += Unicode.TranslateToUTF8(CharSet,
decoded[0], "ignore")
  251           else:
  252             value += Unicode.TranslateToUTF8(CharSet,
decoded[0], "ignore")
  253         Subject = value
  254         if len(Subject) > int(PVars[("PendingList", "CropSubject")]):
value = '', global Unicode = <module 'Unicode' from
'/usr/local/src/t/tmda-cgi-0.09/Unicode.pyc'>, Unicode.TranslateToUTF8
= <function TranslateToUTF8>, CharSet = 'utf-8', decoded = ('Qu\xe9bec
Weekly - note regarding Computers in 2005', None)

 /usr/local/src/t/tmda-cgi-0.09/Unicode.py in
TranslateToUTF8(CharSet='utf-8', Str='Qu\xe9bec Weekly - note
regarding Computers in 2005', Errors='ignore')
  110     Uni = Decoder(Str, errors = Errors)[0]
  111   except TypeError:
  112     Uni = Decoder(Str)[0]
  113 
  114   # Encode for UTF-8
Uni undefined, Decoder = <built-in function utf_8_decode>, Str =
'Qu\xe9bec Weekly - note regarding Computers in 2005'

UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2-4:
invalid data
      args = ('utf8', 'Qu\xe9bec Weekly - note regarding Computers in
2005', 2, 5, 'invalid data')
      encoding = 'utf8'
      end = 5
      object = 'Qu\xe9bec Weekly - note regarding Computers in 2005'
      reason = 'invalid data'
      start = 2 

Thanks and best
Zeno
_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to