<type 'exceptions.KeyError'> | Python 2.7.18: /usr/bin/python Fri Dec 8 11:25:14 2023 |
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 = {'CONTEXT_DOCUMENT_ROOT': '/var/www/www.feedvali...mazonaws.com', 'HTTP_ACCEPT_ENCODING': 'br,gzip'}, start_response = <function start_response> |
/var/www/www.feedvalidator.org/html/check.cgi in checker_app(environ={'CONTEXT_DOCUMENT_ROOT': '/var/www/www.feedvali...mazonaws.com', 'HTTP_ACCEPT_ENCODING': 'br,gzip'}, start_response=<function start_response>) |
282 if feedType == TYPE_OPENSEARCH: docType = 'description document' |
283 |
=> 284 yield applyTemplate('header.tmpl', {'title':'Feed Validator Results: %s' % escapeURL(url)}) |
285 if manual: |
286 yield applyTemplate('manual.tmpl', {'rawdata':cgi.escape(rawdata)}) |
global applyTemplate = <function applyTemplate>, global escapeURL = <function escapeURL>, url = u'https://znakomstva.net/%d0%b0%d0%ba%d1%82%d0%b8%d0%b2%d0%bd%d0%be%d1%81%d1%82%d1%8c/feed/' |
/var/www/www.feedvalidator.org/html/check.cgi in escapeURL(url=u'https://znakomstva.net/%d0%b0%d0%ba%d1%82%d0%b8%d0%b2%d0%bd%d0%be%d1%81%d1%82%d1%8c/feed/') |
56 safe = ['/', '/:@', '/', '/', '/?&=;', '/'] |
57 for i in range(0,len(parts)): |
=> 58 parts[i] = urllib.quote(urllib.unquote(parts[i]),safe[i]) |
59 url = cgi.escape(urlparse.urlunparse(parts)) |
60 try: |
parts = [u'https', u'znakomstva.net', u'/%d0%b0%d0%ba%d1%82%d0%b8%d0%b2%d0%bd%d0%be%d1%81%d1%82%d1%8c/feed/', '', '', ''], i = 2, global urllib = <module 'urllib' from '/usr/lib64/python2.7/urllib.pyc'>, urllib.quote = <function quote>, urllib.unquote = <function unquote>, safe = ['/', '/:@', '/', '/', '/?&=;', '/'] |
/usr/lib64/python2.7/urllib.py in quote(s=u'/\xd0\xb0\xd0\xba\xd1\x82\xd0\xb8\xd0\xb2\xd0\xbd\xd0\xbe\xd1\x81\xd1\x82\xd1\x8c/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'/\xd0\xb0\xd0\xba\xd1\x82\xd0\xb8\xd0\xb2\xd0\xbd\xd0\xbe\xd1\x81\xd1\x82\xd1\x8c/feed/' |
<type 'exceptions.KeyError'>: u'\xd0'
args =
(u'\xd0',)
message =
u'\xd0'