discuss: Thread: �{��:���^�y�оǡB�Ш|�B����ֺӤh�ҵ{�M�ׯZ�Υ��h(EMBA)�b¾�i�סC
<type 'exceptions.UnicodeDecodeError'> | Python 2.5.2: /usr/bin/python Fri Jul 5 15:08:10 2024 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/opt/ezmlm-browse-0.20/main.py in main() |
424
|
425 if path is not None:
|
426 main_path(path)
|
427 else:
|
428 main_form()
|
global main_form = <function main_form at 0x94cec6c> |
/opt/ezmlm-browse-0.20/main.py in main_form() |
378 except ImportError:
|
379 die(ctxt, "Invalid command")
|
380 module.do(ctxt)
|
381
|
382 def main():
|
module = <module 'commands.showthread' from '/opt/ezmlm-browse-0.20/commands/showthread.pyc'>, module.do = <function do at 0x94d68ec>, global ctxt = {'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'} |
/opt/ezmlm-browse-0.20/commands/showthread.py in do(ctxt={'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}) |
9 ctxt.update(ezmlm.thread(ctxt[THREADID]))
|
10 header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
|
11 do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
|
12 lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
|
13 footer(ctxt)
|
global sub_showmsg = <function sub_showmsg at 0x94ce1ec>, ctxt = {'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum' |
/opt/ezmlm-browse-0.20/globalfns.py in do_list(ctxt={'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, name='msgs', perpage=10, values=[{'author': u'"\ufffdM\ufffd\ufffd\ufffdi\ufffd\ufffdK\ufffd\ufffd\ufffd\ufffd\ufffd\u05b3t\ufffd\ufffd\ufffd\ufffd\ufffdh\ufffd\u01e6\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd-\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd!!Tue, 15 Apr 2008 01:18:01 +0500"', 'authorid': 'lfllbbioojiphfgnmjpo', 'date': '10 Apr 2008 04:30:22 +0100', 'month': 200804, 'msgnum': 10505, 'subject': u'\ufffd{\ufffd\ufffd:\ufffd\ufffd\ufffd^\ufffdy\ufffd\u043e\u01e1B\ufffd\u0428|\ufffdB\ufffd\ufffd\ufffd\ufffd\u05ba\u04e4h\ufffd\u04b5{\ufffdM\ufffd\u05efZ\ufffd\u03a5\ufffd\ufffdh(EMBA)\ufffdb\xbe\ufffdi\ufffd\u05e1C', 'threadid': 'fhpnfpjdfgdihgkefbck', 'timestamp': 1207798222.0}], peritem=<function <lambda> at 0x952af44>) |
128 write(template % ctxt)
|
129 if peritem:
|
130 peritem()
|
131 ctxt[ROW] += 1
|
132
|
peritem = <function <lambda> at 0x952af44> |
/opt/ezmlm-browse-0.20/commands/showthread.py in () |
9 ctxt.update(ezmlm.thread(ctxt[THREADID]))
|
10 header(ctxt, 'Thread: ' + ctxt[SUBJECT], 'showthread')
|
11 do_list(ctxt, 'msgs', ctxt[MSGSPERPAGE], ctxt[MESSAGES],
|
12 lambda:sub_showmsg(ctxt, ctxt[MSGNUM]))
|
13 footer(ctxt)
|
global sub_showmsg = <function sub_showmsg at 0x94ce1ec>, ctxt = {'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, global MSGNUM = 'msgnum' |
/opt/ezmlm-browse-0.20/globalfns.py in sub_showmsg(ctxt={'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, msgnum=10505) |
228 ctxt[MESSAGE] = msg
|
229 format_timestamp(ctxt, ctxt)
|
230 write(html('msg-header') % ctxt)
|
231 rec_showpart(ctxt, msg, 0)
|
232 write(html('msg-footer') % ctxt)
|
global write = <function write at 0x94c6e64>, global html = <function html at 0x94c6ed4>, ctxt = {'row': 0, 'cmd': 'showthread', 'HTTP_X_FORWARDE...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'} |
/opt/ezmlm-browse-0.20/globalfns.py in write(s='<b>Subject:</b>\n<a href="mailto:discuss@lists.tl...;VUERTQUUKJZSTBCKHTBIFRNK@msa.hinet.net>\n<br>\n') |
10
|
11 def write(s):
|
12 sys.stdout.write(s.encode('utf-8'))
|
13
|
14 ###############################################################################
|
global sys = <module 'sys' (built-in)>, sys.stdout = <open file '<stdout>', mode 'w' at 0xf7d93068>, sys.stdout.write = <built-in method write of file object at 0xf7d93068>, s = '<b>Subject:</b>\n<a href="mailto:discuss@lists.tl...;VUERTQUUKJZSTBCKHTBIFRNK@msa.hinet.net>\n<br>\n', s.encode = <built-in method encode of str object at 0x9573f80> |
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xb2 in position 67: ordinal not in range(128)
args =
('ascii', '<b>Subject:</b>\n<a href="mailto:discuss@lists.tl...;VUERTQUUKJZSTBCKHTBIFRNK@msa.hinet.net>\n<br>\n', 67, 68, 'ordinal not in range(128)')
encoding =
'ascii'
end =
68
message =
''
object =
'<b>Subject:</b>\n<a href="mailto:discuss@lists.tl...;VUERTQUUKJZSTBCKHTBIFRNK@msa.hinet.net>\n<br>\n'
reason =
'ordinal not in range(128)'
start =
67