<type 'exceptions.KeyError'> | Python 2.7.18: /usr/bin/python Fri May 9 04:05:16 2025 |
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...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, start_response = <function start_response> |
/var/www/www.feedvalidator.org/html/check.cgi in checker_app(environ={'HTTP_REFERER': 'http://www.feedvalidator.org/c...HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate'}, 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://engelabiran.xyz/%da%a9%d8%aa%d8%a7%d8%a8...%d8%aa%db%8c%d8%a7%d9%86-%d9%be%db%8c%d8%a7/feed/' |
/var/www/www.feedvalidator.org/html/check.cgi in escapeURL(url=u'https://engelabiran.xyz/%da%a9%d8%aa%d8%a7%d8%a8...%d8%aa%db%8c%d8%a7%d9%86-%d9%be%db%8c%d8%a7/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'engelabiran.xyz', u'/%da%a9%d8%aa%d8%a7%d8%a8-%d8%a7%d9%86%d9%82%d9%...%d8%aa%db%8c%d8%a7%d9%86-%d9%be%db%8c%d8%a7/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'/\xda\xa9\xd8\xaa\xd8\xa7\xd8\xa8-\xd8\xa7\xd9\x86\xd9\x82\xd9\x84\xd8\xa7\xd8\xa8-\xd8\xa7\xd8\xb3\xd9\x84\xd8\xa7\xd9\x85\xdb\x8c-\xd9\x85\xd8\xb5\xd8\xb7\xd9\x81\xdb\x8c-\xd9\x85\xd9\x84\xda\xa9\xd9\x88\xd8\xaa\xdb\x8c\xd8\xa7\xd9\x86-\xd9\xbe\xdb\x8c\xd8\xa7/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'/\xda\xa9\xd8\xaa\xd8\xa7\xd8\xa8-\xd8\xa7\xd9\x86\xd9\x82\xd9\x84\xd8\xa7\xd8\xa8-\xd8\xa7\xd8\xb3\xd9\x84\xd8\xa7\xd9\x85\xdb\x8c-\xd9\x85\xd8\xb5\xd8\xb7\xd9\x81\xdb\x8c-\xd9\x85\xd9\x84\xda\xa9\xd9\x88\xd8\xaa\xdb\x8c\xd8\xa7\xd9\x86-\xd9\xbe\xdb\x8c\xd8\xa7/feed/' |
<type 'exceptions.KeyError'>: u'\xda'
args =
(u'\xda',)
message =
u'\xda'