Hi I still have had no luck with these Unicode errors. I upgrade my mail system and am still getting the errors. Here is my system and the error.
Any help would be greatly appreciated. Centos 5.0 qmail 1.03 + patches (Bruce Gunters Package) vmailmgr 0.97.1 Python 2.3.7 and 2.4 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() 503 value += Unicode.TranslateToUTF8(CharSet, decoded[0], "ignore") 504 else: 505 value += Unicode.TranslateToUTF8(CharSet, decoded[0], "ignore") 506 except email.errors.HeaderParseError: 507 # just return the undecoded string if we can't decode it value = '', global Unicode = <module 'Unicode' from '/usr/local/src/tmda-cgi/Unicode.pyc'>, Unicode.TranslateToUTF8 = <function TranslateToUTF8>, CharSet = 'base64', decoded = ('vyagra alternative', None) /usr/local/src/tmda-cgi/Unicode.py in TranslateToUTF8(CharSet=u'base64', Str='vyagra alternative', 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 = <function base64_decode>, Str = 'vyagra alternative' /usr/lib/python2.4/encodings/base64_codec.py in base64_decode(input='vyagra alternative', errors='strict') 40 """ 41 assert errors == 'strict' 42 output = base64.decodestring(input) 43 return (output, len(input)) 44 output undefined, global base64 = <module 'base64' from '/usr/lib/python2.4/base64.pyc'>, base64.decodestring = <function decodestring>, input = 'vyagra alternative' /usr/lib/python2.4/base64.py in decodestring(s='vyagra alternative') 317 def decodestring(s): 318 """Decode a string.""" 319 return binascii.a2b_base64(s) 320 321 global binascii = <module 'binascii' from '/usr/lib/python2.4/lib-dynload/binascii.so'>, binascii.a2b_base64 = <built-in function a2b_base64>, s = 'vyagra alternative' Error: Incorrect padding args = ('Incorrect padding',)
_____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users