gnupic: ������������������
--> -->
<type 'exceptions.UnicodeDecodeError'> | Python 2.7.18: /usr/bin/python2 Sat Oct 5 00:37:55 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.
/usr/lib64/python2.7/runpy.py in _run_module_as_main(mod_name='__main__', alter_argv=0) |
172 sys.argv[0] = fname
|
173 return _run_code(code, main_globals, None,
|
=> 174 "__main__", fname, loader, pkg_name)
|
175
|
176 def run_module(mod_name, init_globals=None,
|
fname = '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', loader = <zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, pkg_name = '' |
/usr/lib64/python2.7/runpy.py in _run_code(code=<code object <module> at 0x7d60156a42b0, file "/....org/ezmlm-browse/index.cgi/__main__.py", line 1>, run_globals={'__builtins__': <module '__builtin__' (built-in)>, '__doc__': None, '__file__': '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', '__loader__': <zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, '__name__': '__main__', '__package__': '', 'main': <module 'main' from '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py'>}, init_globals=None, mod_name='__main__', mod_fname='/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', mod_loader=<zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, pkg_name='') |
70 __loader__ = mod_loader,
|
71 __package__ = pkg_name)
|
=> 72 exec code in run_globals
|
73 return run_globals
|
74
|
code = <code object <module> at 0x7d60156a42b0, file "/....org/ezmlm-browse/index.cgi/__main__.py", line 1>, run_globals = {'__builtins__': <module '__builtin__' (built-in)>, '__doc__': None, '__file__': '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/__main__.py', '__loader__': <zipimporter object "/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi">, '__name__': '__main__', '__package__': '', 'main': <module 'main' from '/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py'>} |
/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/main.py in main_form() |
378 except ImportError:
|
379 die(ctxt, "Invalid command")
|
=> 380 module.do(ctxt)
|
381
|
382 def main():
|
module = <module 'commands.showmsg' from '/home/alex/webs....org/ezmlm-browse/index.cgi/commands/showmsg.py'>, module.do = <function do>, global ctxt = {'threadnum': 0, 'cmd': 'showmsg', 'threadidx': ...ate', 'UNIQUE_ID': 'ZwB8U7jBUXsM-os3zV-8ywAAAAc'} |
/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/commands/showmsg.py in do(ctxt={'threadnum': 0, 'cmd': 'showmsg', 'threadidx': ...ate', 'UNIQUE_ID': 'ZwB8U7jBUXsM-os3zV-8ywAAAAc'}) |
18 write(html('msg-pager') % ctxt)
|
19 write('<hr>')
|
=> 20 sub_showmsg(ctxt, ctxt[MSGNUM])
|
21 write('<hr>')
|
22 write(html('msg-pager') % ctxt)
|
global sub_showmsg = <function sub_showmsg>, ctxt = {'threadnum': 0, 'cmd': 'showmsg', 'threadidx': ...ate', 'UNIQUE_ID': 'ZwB8U7jBUXsM-os3zV-8ywAAAAc'}, global MSGNUM = 'msgnum' |
/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/globalfns.py in sub_showmsg(ctxt={'threadnum': 0, 'cmd': 'showmsg', 'threadidx': ...ate', 'UNIQUE_ID': 'ZwB8U7jBUXsM-os3zV-8ywAAAAc'}, msgnum=1468) |
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>, global html = <function html>, ctxt = {'threadnum': 0, 'cmd': 'showmsg', 'threadidx': ...ate', 'UNIQUE_ID': 'ZwB8U7jBUXsM-os3zV-8ywAAAAc'} |
/home/alex/websites/linuxhacker.org/ezmlm-browse/index.cgi/globalfns.py in write(s='<b>Subject:</b>\n<a href="mailto:gnupic@linuxhack...2002 17:47:05 -0000\n<br><b>Message-Id:</b> \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'>, sys.stdout.write = <built-in method write of file object>, s = '<b>Subject:</b>\n<a href="mailto:gnupic@linuxhack...2002 17:47:05 -0000\n<br><b>Message-Id:</b> \n<br>\n', s.encode = <built-in method encode of str object> |
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xba in position 67: ordinal not in range(128)
args =
('ascii', '<b>Subject:</b>\n<a href="mailto:gnupic@linuxhack...2002 17:47:05 -0000\n<br><b>Message-Id:</b> \n<br>\n', 67, 68, 'ordinal not in range(128)')
encoding =
'ascii'
end =
68
message =
''
object =
'<b>Subject:</b>\n<a href="mailto:gnupic@linuxhack...2002 17:47:05 -0000\n<br><b>Message-Id:</b> \n<br>\n'
reason =
'ordinal not in range(128)'
start =
67