Geertivp added a comment.
I get this problem only for items with pictures when running the Pywikibot script using Wikidata item.get() from a PAWS Jupyter notebook. When running the same script on a standalone Pywikibot client, the error never shows up. In both cases I am using exactly the same user-config.py file and the same Pywikibot script. This is very embarrassing... since more and more Wikidata items get a picture P18 <https://phabricator.wikimedia.org/P18> assigned. Note that I do not reference ['claims']['P18 <https://phabricator.wikimedia.org/P18>'] from my script... This means that I can only run the script on a standalone platform to avoid those errors... Please correct this suspected bug on the PAWS Jupyter platform. All users of PAWS Jupyter notebook using Wikidata item.get() are suffering from this problem. The problem seems to exist already for more than 3 years? TASK DETAIL https://phabricator.wikimedia.org/T168222 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Geertivp Cc: Geertivp, Aklapper, BernhardHumm, Tdbot, Dvorapa, pywikibot-bugs-list, zhuyifei1999, Chicocvenancio, Knuthuehne, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Ricordisamoa, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
