I'm running:
Version
tmda-cgi:
tmda-cgi/0.16.3 "Sulphur" (Python/2.3.4 on
Linux-2.4.21-40.ELsmp-i686-with-redhat-3.8-Final)
TMDA:
TMDA/1.1.11 "Ladyburn" (Python/2.3.4 on
Linux-2.4.21-40.ELsmp-i686-with-redhat-3.8-Final)
Theme:
TMDA-X/0.1 by Jim Ramsay <[EMAIL PROTECTED]>
When the attached message is in the pending queue I get an error.. It
has a lot to do with this line:
Content-Type: text/html; charset="Base64"
I'm getting this error:
Error
Python 2.3.4: /usr/bin/python2.3
Tue Apr 24 16:42:34 2007
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/share/tmda-cgi-0.16.3/tmda-cgi.py
<file:///\\usr\share\tmda-cgi-0.16.3\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/share/tmda-cgi-0.16.3/PendList.pyc'>
/usr/share/tmda-cgi-0.16.3/tmda-cgi.py
<file:///\\usr\share\tmda-cgi-0.16.3\tmda-cgi.py> in
Call(Library=<module 'PendList' from
'/usr/share/tmda-cgi-0.16.3/PendList.pyc'>, Str=None)
86 Library.Show(Str)
87 else:
88 Library.Show()
89
90 # Capture WebUID
Library = <module 'PendList' from
'/usr/share/tmda-cgi-0.16.3/PendList.pyc'>, Library.Show = <function
Show>
/usr/share/tmda-cgi/PendList.py
<file:///\\usr\share\tmda-cgi\PendList.py> in Show()
506 except email.errors.HeaderParseError:
507 # just return the undecoded string if we can't decode it
508 value = MsgObj.msgobj["subject"]
509 Subject = value
510 if len(Subject) > int(PVars[("PendingList",
"CropSubject")]):
value = '', MsgObj = <TMDA.Pending.Message instance>, MsgObj.msgobj =
<email.message.Message instance>
/usr/share/tmda-cgi/Unicode.py
<file:///\\usr\share\tmda-cgi\Unicode.py> in
TranslateToUTF8(CharSet=u'base64', Str='Stay at the Bellagio - On Us',
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 = 'Stay at the
Bellagio - On Us'
/usr/lib/python2.3/encodings/base64_codec.py
<file:///\\usr\lib\python2.3\encodings\base64_codec.py> in
base64_decode(input='Stay at the Bellagio - On Us', 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.3/base64.pyc'>, base64.decodestring = <function
decodestring>, input = 'Stay at the Bellagio - On Us'
/usr/lib/python2.3/base64.py <file:///\\usr\lib\python2.3\base64.py>
in decodestring(s='Stay at the Bellagio - On Us')
42 def decodestring(s):
43 """Decode a string."""
44 return binascii.a2b_base64(s)
45
46 def test():
global binascii = <module 'binascii' from
'/usr/lib/python2.3/lib-dynload/binascii.so'>, binascii.a2b_base64 =
<built-in function a2b_base64>, s = 'Stay at the Bellagio - On Us'
Error: Incorrect padding
args = ('Incorrect padding',)
1177271684.32477.msg
Description: 1177271684.32477.msg
_____________________________________________ tmda-users mailing list ([email protected]) http://tmda.net/lists/listinfo/tmda-users
