EdwardBetts / depicts

Wiki Art Depiction Explorer
https://art.wikidata.link/
GNU General Public License v3.0
4 stars 3 forks source link

AssertionError https://art.wikidata.link/save/Q18890940 #5

Open fuzheado opened 4 years ago

fuzheado commented 4 years ago

Hmm... not sure what happened as I was adding depicts statements to a painting with existing P180

URL: https://art.wikidata.link/save/Q18890940

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app response = self.full_dispatch_request() File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise raise value File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request return self.view_functionsrule.endpoint File "/srv/depicts/app.py", line 125, in save assert no_existing_edit(item_id, depicts_id) AssertionError

EdwardBetts commented 4 years ago

It is trying to add the same depicts to the painting. I know how to fix this.