SuLab / scheduled-bots

GeneWiki Scheduled Bots
MIT License
9 stars 15 forks source link

Wikipathways bot passes pathways but many pathways are not updated #67

Closed andrawaag closed 3 years ago

andrawaag commented 4 years ago

On the bot cycle #54, 588 pathways were skipped.

andrawaag commented 4 years ago

First inspection of the output messages suggests an incorrect QID being added.

06:06:07 File "bot.py", line 287, in run_one 06:06:07 prep["P50"].append(wdi_core.WDItemID(author_qid, prop_nr='P50', references=[copy.deepcopy(pathway_reference)])) 06:06:07 File "/var/lib/jenkins/workspace/Wikipathways/venv/local/lib/python3.6/site-packages/wikidataintegrator/wdi_core.py", line 2163, in __init__ 06:06:07 self.set_value(value=value) 06:06:07 File "/var/lib/jenkins/workspace/Wikipathways/venv/local/lib/python3.6/site-packages/wikidataintegrator/wdi_core.py", line 2181, in set_value 06:06:07 raise ValueError('Invalid WD item ID, format must be "Q[0-9]*"') 06:06:07 ValueError: Invalid WD item ID, format must be "Q[0-9]*"

andrawaag commented 4 years ago

The issue seems to be caused by the SPARQL endpoint of Wikipathways not responding.

andrawaag commented 3 years ago

Fixed with the last update