<type 'exceptions.UnicodeEncodeError'> | Python 2.7.16: /usr/bin/python Fri Nov 22 13:37: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 575770-575772: ordinal not in range(128)
args =
('ascii', u"<html><head><title>a858 auto-analysis</title><sc...?start=7780'>Last »</a></div></body></html>", 575770, 575773, 'ordinal not in range(128)')
encoding =
'ascii'
end =
575773
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 =
575770