<type 'exceptions.KeyError'> | Python 2.7.18: /usr/bin/python Fri Jul 4 10:19:26 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>) |
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'https://infoflotforum.ru/rss/forums/1-infoflotforumru-\u0440\u0435\u0447\u043d\u043e\u0435-\u0441\u0443\u0434\u043e\u0445\u043e\u0434\u0441\u0442\u0432\u043e-\u0438-\u0440\u0435\u0447\u043d\u044b\u0435-\u043a\u0440\u0443\u0438\u0437\u044b/' |
/usr/lib64/python2.7/urllib.py in quote(s=u'https://infoflotforum.ru/rss/forums/1-infoflotforumru-\u0440\u0435\u0447\u043d\u043e\u0435-\u0441\u0443\u0434\u043e\u0445\u043e\u0434\u0441\u0442\u0432\u043e-\u0438-\u0440\u0435\u0447\u043d\u044b\u0435-\u043a\u0440\u0443\u0438\u0437\u044b/', 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'https://infoflotforum.ru/rss/forums/1-infoflotforumru-\u0440\u0435\u0447\u043d\u043e\u0435-\u0441\u0443\u0434\u043e\u0445\u043e\u0434\u0441\u0442\u0432\u043e-\u0438-\u0440\u0435\u0447\u043d\u044b\u0435-\u043a\u0440\u0443\u0438\u0437\u044b/' |
<type 'exceptions.KeyError'>: u'\u0440'
args =
(u'\u0440',)
message =
u'\u0440'