<type 'exceptions.AttributeError'> | Python 2.7.9: /usr/bin/python Fri Mar 29 04:41:57 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.
/home/deployer/projects/feedvalidator/public/cgi-bin/check.cgi in |
360 print '%s: %s\r\n' % (header, value), |
361 print |
=> 362 for output in checker_app(os.environ, start_response): |
363 print output.decode('utf-8') |
364 else: |
output undefined, checker_app = <function checker_app>, os = <module 'os' from '/usr/lib/python2.7/os.pyc'>, os.environ = {'REDIRECT_STATUS': '200', 'SERVER_PROTOCOL': 'H...AME': '/usr/bin/uwsgi', 'MAIL': '/var/mail/root'}, start_response = <function start_response> |
/home/deployer/projects/feedvalidator/public/cgi-bin/check.cgi in checker_app(environ={'REDIRECT_STATUS': '200', 'SERVER_PROTOCOL': 'H...AME': '/usr/bin/uwsgi', 'MAIL': '/var/mail/root'}, start_response=<function start_response>) |
259 yield applyTemplate('error.tmpl') |
260 else: |
=> 261 url = sanitizeURL(url) |
262 try: |
263 params = feedvalidator.validateURL(url, firstOccurrenceOnly=1, wantRawData=1) |
url = ['www.jkp.com/uk/affiliates/idevaffiliate.php?id=28', 'http://tube2.pro/tag-porn-video-in-son-1.html'], global sanitizeURL = <function sanitizeURL> |
/home/deployer/projects/feedvalidator/public/cgi-bin/check.cgi in sanitizeURL(url=['www.jkp.com/uk/affiliates/idevaffiliate.php?id=28', 'http://tube2.pro/tag-porn-video-in-son-1.html']) |
38 def sanitizeURL(url): |
39 # Allow feed: URIs, as described by draft-obasanjo-feed-URI-scheme-02 |
=> 40 if url.lower().startswith('feed:'): |
41 url = url[5:] |
42 if url.startswith('//'): |
url = ['www.jkp.com/uk/affiliates/idevaffiliate.php?id=28', 'http://tube2.pro/tag-porn-video-in-son-1.html'], url.lower undefined |
<type 'exceptions.AttributeError'>: 'list' object has no attribute 'lower'
args =
("'list' object has no attribute 'lower'",)
message =
"'list' object has no attribute 'lower'"