Closed dpriskorn closed 2 years ago
I wonder what part is "corrupted" in this 🤔
I wonder what part is "corrupted" in this 🤔
Me too. I have not taken a closer look. I could try to edit the code to 0 references and see if that helps. I'll try to nail down which part triggers the MW error.
I tried reproducing the issue, but have not succeeded yet. Here is the latest item made with the code. https://www.wikidata.org/wiki/Q110951928 https://www.wikidata.org/wiki/Q110951998 here is another. It seems to work fine. I think we should close this and reopen if anyone can reproduce it.
I would expect this to be the corrupt data value causing the error:
'P1476': [
{
'mainsnak': {
'snaktype': 'value',
'property': 'P1476',
'datatype': 'monolingualtext',
'datavalue': {}
},
code is here https://github.com/dpriskorn/OpenAlexBot/tree/72edd412417e3b4c9c7f91ceaada039e77e8dbd4
DEBUG:openalexbot:Printing the item json