https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
Bug ID: 69401 Summary: creating new item on Wikidata fails - A string was expected, but n ot found in the json Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
pwb.py newitem -newpages:5000 -lang:cs
... Processing [[cs:Boris Peškovič]] [[cs:Boris Peškovič]] already has an item: [[wikidata:Q443336]]. Processing [[cs:Boříkovy lapálie (rozcestník)]] Bot: New item with sitelink from [[wikipedia:cs:Boříkovy lapálie (rozcestník)]] Logging in to wikidata:wikidata as JAnDbot Traceback (most recent call last): File "I:\py\rewrite\pwb.py", line 171, in <module> run_python_file(fn, argv, argvu) File "I:\py\rewrite\pwb.py", line 69, in run_python_file exec(compile(source, filename, "exec"), main_mod.__dict__) File "I:\py\rewrite\scripts\newitem.py", line 142, in <module> main() File "I:\py\rewrite\scripts\newitem.py", line 139, in main bot.run() File "I:\py\rewrite\scripts\newitem.py", line 111, in run item.editEntity(data, summary=summary) File "I:\py\rewrite\pywikibot\page.py", line 2786, in editEntity baserevid=baserevid, **kwargs) File "I:\py\rewrite\pywikibot\site.py", line 854, in callee return fn(self, *args, **kwargs) File "I:\py\rewrite\pywikibot\site.py", line 4122, in editEntity data = req.submit() File "I:\py\rewrite\pywikibot\data\api.py", line 458, in submit raise APIError(code, info, **result["error"]) pywikibot.data.api.APIError: not-recognized-string: A string was expected, but n ot found in the json for the langCode cs and argument 'value' <class 'pywikibot.data.api.APIError'> CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
JAn Dudík jan.dudik@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 154111 had a related patch set uploaded by John Vandenberg: Fix ItemPage normalizeData, and test cases
https://gerrit.wikimedia.org/r/154111
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com Summary|creating new item on |creating new item on |Wikidata fails - A string |Wikidata fails - A string |was expected, but n ot |was expected, but not found |found in the json |in the json
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|High |Highest Severity|normal |critical
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 154111 merged by jenkins-bot: Fix ItemPage editEntity, and test cases
https://gerrit.wikimedia.org/r/154111
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
Amir Ladsgroup ladsgroup@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED CC| |ladsgroup@gmail.com Resolution|--- |FIXED
--- Comment #3 from Amir Ladsgroup ladsgroup@gmail.com --- Checked and worked okay
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 166370 had a related patch set uploaded by John Vandenberg: Remove comment about fixed bug 69401
https://gerrit.wikimedia.org/r/166370
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |PATCH_TO_REVIEW Resolution|FIXED |---
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
--- Comment #5 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 166370 merged by jenkins-bot: Remove comment about fixed bug 69401
https://gerrit.wikimedia.org/r/166370
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org