Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app
ctx.push()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request
except Exception as e:
File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception
if handler is None:
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request
if rv is None:
File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
otherwise dispatch to the handler for that endpoint
File "/srv/depicts/app.py", line 635, in next_page
image = image_with_cache(qid, image_filename, width)
File "/srv/depicts/app.py", line 363, in image_with_cache
image_filename = imagefilename.replace('', ' ')
AttributeError: 'NoneType' object has no attribute 'replace'
URL: https://art.wikidata.link/next/Q3041737
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/flask/app.py", line 2446, in wsgi_app ctx.push() File "/usr/lib/python3/dist-packages/flask/app.py", line 1951, in full_dispatch_request except Exception as e: File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in handle_user_exception if handler is None: File "/usr/lib/python3/dist-packages/flask/_compat.py", line 39, in reraise raise value File "/usr/lib/python3/dist-packages/flask/app.py", line 1949, in full_dispatch_request if rv is None: File "/usr/lib/python3/dist-packages/flask/app.py", line 1935, in dispatch_request
otherwise dispatch to the handler for that endpoint
File "/srv/depicts/app.py", line 635, in next_page image = image_with_cache(qid, image_filename, width) File "/srv/depicts/app.py", line 363, in image_with_cache image_filename = imagefilename.replace('', ' ') AttributeError: 'NoneType' object has no attribute 'replace'