<type 'exceptions.UnicodeEncodeError'> | Python 2.7.16: /usr/bin/python Mon Nov 25 20:01:17 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.
/home/fraggles/fraggle/a858/web/index.py in <module>() |
259 print "Content-Type: text/html" |
260 print |
261 |
=> 262 print gen_html() |
263 |
gen_html = <function gen_html> |
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 175958-175967: ordinal not in range(128)
args =
('ascii', u"<html><head><title>a858 auto-analysis</title><sc...?start=7780'>Last »</a></div></body></html>", 175958, 175968, 'ordinal not in range(128)')
encoding =
'ascii'
end =
175968
message =
''
object =
u"<html><head><title>a858 auto-analysis</title><sc...?start=7780'>Last »</a></div></body></html>"
reason =
'ordinal not in range(128)'
start =
175958