SuLab / scheduled-bots

GeneWiki Scheduled Bots
MIT License
9 stars 15 forks source link

A merge between Q55950049 and Q861224 blocks GeneDiseaseBot to update the WD item on DOID:626 #27

Closed andrawaag closed 5 years ago

andrawaag commented 5 years ago

the console output from the GeneDiseaseBot http://jenkins.sulab.org/job/GeneDiseaseBot/332/console indicates an issue with updating Disease Ontology ID 626. It seems that a merge caused this behaviour

Error while writing to Wikidata {'error': {'code': 'modification-failed', 'info': '[[Q55950049|Q55950049]] not found', 'messages': [{'name': 'wikibase-validator-no-such-entity', 'parameters': ['[[Q55950049|Q55950049]]'], 'html': {'': 'Q55950049 not found'}}], '': 'See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.'}, 'servedby': 'mw1348'} Error while writing to Wikidata {'error': {'code': 'modification-failed', 'info': '[[Q55950049|Q55950049]] not found', 'messages': [{'name': 'wikibase-validator-no-such-entity', 'parameters': ['[[Q55950049|Q55950049]]'], 'html': {'': 'Q55950049 not found'}}], '': 'See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.'}, 'servedby': 'mw1225'} Error while writing to Wikidata {'error': {'code': 'modification-failed', 'info': '[[Q55950049|Q55950049]] not found', 'messages': [{'name': 'wikibase-validator-no-such-entity', 'parameters': ['[[Q55950049|Q55950049]]'], 'html': {'': 'Q55950049 not found'}}], '': 'See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.'}, 'servedby': 'mw1346'} Begin creating Wikidata Disease items with new relationships P2293 not found in fastrun Error while writing to Wikidata {'error': {'code': 'modification-failed', 'info': '[[Q55790461|Q55790461]] not found', 'messages': [{'name': 'wikibase-validator-no-such-entity', 'parameters': ['[[Q55790461|Q55790461]]'], 'html': {'': 'Q55790461 not found'}}], '': 'See https://www.wikidata.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for notice of API deprecations and breaking changes.'}, 'servedby': 'mw1346'}

andrawaag commented 5 years ago

Q55790461 got merged into Q861224. Q55790461 seems to be hardcoded in the bot.

andrawaag commented 5 years ago

Since Jenkins run 337 the issue disappeared. I couldn't find any hardcode mention of Q55790461 in the code. Maybe this was a caching issue. I am closing this issue for now, but opened #30 to implement error reporting with pointers to responsible code