What am I supposed to do now?


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-cgi-0.12/tmda-cgi.py <file:///usr/local/tmda-cgi-0.12/tmda-cgi.py>
175 elif Cmd == "pending":
176 import PendList
177 Call(PendList)
178 elif Cmd == "restore":
179 pass
*Call* = <function Call>, *PendList* = <module 'PendList' from '/usr/local/tmda-cgi-0.12/PendList.pyc'>


/usr/local/tmda-cgi-0.12/tmda-cgi.py <file:///usr/local/tmda-cgi-0.12/tmda-cgi.py> in *Call*(Library=<module 'PendList' from '/usr/local/tmda-cgi-0.12/PendList.pyc'>, Str=None)
73 Library.Show(Str)
74 else:
75 Library.Show()
76 77 # Capture WebUID
*Library* = <module 'PendList' from '/usr/local/tmda-cgi-0.12/PendList.pyc'>, Library.*Show* = <function Show>


/usr/local/tmda-cgi-0.12/PendList.py <file:///usr/local/tmda-cgi-0.12/PendList.py> in *Show*()
410 value += Unicode.TranslateToUTF8(CharSet, decoded[0], "ignore")
411 else:
412 value += Unicode.TranslateToUTF8(CharSet, decoded[0], "ignore")
413 Subject = value
414 if len(Subject) > int(PVars[("PendingList", "CropSubject")]):
*value* = '', /global/ *Unicode* = <module 'Unicode' from '/usr/local/tmda-cgi-0.12/Unicode.pyc'>, Unicode.*TranslateToUTF8* = <function TranslateToUTF8>, *CharSet* = 'utf-8', *decoded* = ('\xa6\xa9\xb7\xc7\xae\xc9\xbe\xf7\xaa\xba\xb8`\xab\xb5', None)


/usr/local/tmda-cgi-0.12/Unicode.py <file:///usr/local/tmda-cgi-0.12/Unicode.py> in *TranslateToUTF8*(CharSet='utf-8', Str='\xa6\xa9\xb7\xc7\xae\xc9\xbe\xf7\xaa\xba\xb8`\xab\xb5', Errors='ignore')
113 Uni = Decoder(Str, errors = Errors)[0]
114 except TypeError:
115 Uni = Decoder(Str)[0]
116 117 # Encode for UTF-8
Uni /undefined/, *Decoder* = <built-in function utf_8_decode>, *Str* = '\xa6\xa9\xb7\xc7\xae\xc9\xbe\xf7\xaa\xba\xb8`\xab\xb5'


*UnicodeDecodeError*: 'utf8' codec can't decode byte 0xa6 in position 0: unexpected code byte
args = ('utf8', '\xa6\xa9\xb7\xc7\xae\xc9\xbe\xf7\xaa\xba\xb8`\xab\xb5', 0, 1, 'unexpected code byte')
encoding = 'utf8'
end = 1
object = '\xa6\xa9\xb7\xc7\xae\xc9\xbe\xf7\xaa\xba\xb8`\xab\xb5'
reason = 'unexpected code byte'
start = 0



-- Ronald Wiplinger (CEO of ELMIT) http://www.elmit.com +886 (0) 915 653-452 - I'm a SpamCon Foundation Member, #694, Verify it at http://www.spamcon.org


PS: Spam prevention!
Our system is protected with a spam prevention program. If you send us an e-mail, our system will send you a confirmation message back. Just reply to this confirmation message please. After receiving this confirmation message, our system will send the hold message (one) and all future messages (after the received confirmation message) to me without asking you again.



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

Reply via email to