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>) |
258 yield applyTemplate('error.tmpl')
|
259 except:
|
=> 260 yield applyTemplate('header.tmpl', {'title':'Feed Validator Results: %s' % escapeURL(url)})
|
261 yield applyTemplate('index.tmpl', {'value':escapeURL(url)})
|
262 yield applyTemplate('error.tmpl')
|
global applyTemplate = <function applyTemplate>, global escapeURL = <function escapeURL>, url = 'http://mexicanpharm24.shop]mexico' |
/var/www/www.feedvalidator.org/html/check.cgi in escapeURL(url='http://mexicanpharm24.shop]mexico') |
53
|
54 def escapeURL(url):
|
=> 55 parts = list(urlparse.urlparse(url))
|
56 safe = ['/', '/:@', '/', '/', '/?&=;', '/']
|
57 for i in range(0,len(parts)):
|
parts undefined, builtin list = <type 'list'>, global urlparse = <module 'urlparse' from '/usr/lib64/python2.7/urlparse.pyc'>, urlparse.urlparse = <function urlparse>, url = 'http://mexicanpharm24.shop]mexico' |
/usr/lib64/python2.7/urlparse.py in urlparse(url='http://mexicanpharm24.shop]mexico', scheme='', allow_fragments=True) |
145 Note that we don't break the components up in smaller bits
|
146 (e.g. netloc is a single string) and we don't expand % escapes."""
|
=> 147 tuple = urlsplit(url, scheme, allow_fragments)
|
148 scheme, netloc, url, query, fragment = tuple
|
149 if scheme in uses_params and ';' in url:
|
builtin tuple = <type 'tuple'>, global urlsplit = <function urlsplit>, url = 'http://mexicanpharm24.shop]mexico', scheme = '', allow_fragments = True |