<type 'exceptions.KeyError'> | Python 2.7.18: /usr/bin/python Sat Apr 20 04:20:05 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.
/var/www/www.feedvalidator.org/html/check.cgi in <module>() |
344 print '%s: %s\r\n' % (header, value), |
345 print |
=> 346 for output in checker_app(os.environ, start_response): |
347 print output.decode('utf-8') |
348 else: |
output undefined, checker_app = <function checker_app>, os = <module 'os' from '/usr/lib64/python2.7/os.pyc'>, os.environ = {'HTTP_REFERER': 'http://www.feedvalidator.org/c...-18-223-196-211.us-east-2.compute.amazonaws.com'}, start_response = <function start_response> |
/var/www/www.feedvalidator.org/html/check.cgi in checker_app(environ={'HTTP_REFERER': 'http://www.feedvalidator.org/c...-18-223-196-211.us-east-2.compute.amazonaws.com'}, start_response=<function start_response>) |
270 rawdata = validationData['rawdata'] |
271 |
=> 272 htmlUrl = escapeURL(urllib.quote(url)) |
273 try: |
274 htmlUrl = htmlUrl.encode('idna') |
htmlUrl undefined, global escapeURL = <function escapeURL>, global urllib = <module 'urllib' from '/usr/lib64/python2.7/urllib.pyc'>, urllib.quote = <function quote>, url = u'http://www.\ufefflureandmore.com/feed' |
/usr/lib64/python2.7/urllib.py in quote(s=u'http://www.\ufefflureandmore.com/feed', safe='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_.-/') |
1304 if not s.rstrip(safe): |
1305 return s |
=> 1306 return ''.join(map(quoter, s)) |
1307 |
1308 def quote_plus(s, safe=''): |
builtin map = <built-in function map>, quoter = <built-in method __getitem__ of dict object>, s = u'http://www.\ufefflureandmore.com/feed' |
<type 'exceptions.KeyError'>: u'\ufeff'
args =
(u'\ufeff',)
message =
u'\ufeff'