LeMyst / WikibaseIntegrator

A Python module to manipulate data on a Wikibase instance (like Wikidata) through the MediaWiki Wikibase API and the Wikibase SPARQL endpoint.
MIT License
67 stars 17 forks source link

Bug: WBI silently fails to write to Wikidata #753

Closed dpriskorn closed 3 months ago

dpriskorn commented 3 months ago

This seems like a regression error (this code worked a year ago on WBI 0.12.3). I tried with 0.12.5 and got the same behavior.

image Code here: https://github.com/dpriskorn/HikingTrailMatcher/blob/60f66bee91a71f03d0161c3450b81b0941f8a402/src/models/trail_item.py#L322

If you clone, setup the config, run "python app.py" and try to match "Naturstigen Södra Berget" you should get the same error.

I would have liked WBI to throw an error or inform me that the write was unsuccessful.

dpriskorn commented 3 months ago

This was caused by a bug in my script, so closing

dpriskorn commented 3 months ago

reopen

dpriskorn commented 3 months ago

close as invalid