Bugreporter created this task.
Bugreporter added projects: Pywikibot, Pywikibot-Wikidata.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  e.g. pwb.py interwikidata -page:"Atol Majuro" -lang:id -create
  
    ERROR: OtherPageSaveError: Edit to page [[wikidata:-1]] failed:
    failed-save: The save has failed. [help: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> for 
notice of API deprecations and breaking changes.]
    Traceback (most recent call last):
      File "/srv/paws/pwb/pywikibot/page.py", line 107, in handle
        func(self, *args, **kwargs)
      File "/srv/paws/pwb/pywikibot/page.py", line 4217, in editEntity
        baserevid=baserevid, **kwargs)
      File "/srv/paws/pwb/pywikibot/site.py", line 1320, in callee
        return fn(self, *args, **kwargs)
      File "/srv/paws/pwb/pywikibot/site.py", line 7839, in editEntity
        data = req.submit()
      File "/srv/paws/pwb/pywikibot/data/api.py", line 2079, in submit
        raise APIError(**result['error'])
    pywikibot.data.api.APIError: failed-save: The save has failed. [help: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> for 
notice of API deprecations and breaking changes.]
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/srv/paws/pwb/pwb.py", line 250, in <module>
        if not main():
      File "/srv/paws/pwb/pwb.py", line 243, in main
        run_python_file(filename, [filename] + args, argvu, file_package)
      File "/srv/paws/pwb/pwb.py", line 95, in run_python_file
        main_mod.__dict__)
      File "./scripts/interwikidata.py", line 246, in <module>
        main()
      File "./scripts/interwikidata.py", line 239, in main
        bot.run()
      File "/srv/paws/pwb/pywikibot/bot.py", line 1505, in run
        self.treat(page)
      File "/srv/paws/pwb/pywikibot/bot.py", line 1732, in treat
        self.treat_page()
      File "./scripts/interwikidata.py", line 93, in treat_page
        item = self.create_item()
      File "./scripts/interwikidata.py", line 126, in create_item
        item.editEntity(data, new='item', summary=summary)
      File "/srv/paws/pwb/pywikibot/page.py", line 128, in wrapper
        handle(func, self, *args, **kwargs)
      File "/srv/paws/pwb/pywikibot/page.py", line 120, in handle
        raise pywikibot.OtherPageSaveError(self, err)
    pywikibot.exceptions.OtherPageSaveError: Edit to page [[wikidata:-1]] 
failed:
    failed-save: The save has failed. [help:See 
https://www.wikidata.org/w/api.php for API usage. Subscribe to the 
mediawiki-api-announce mailing list at 
&lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for 
notice of API deprecations and breaking changes.]
    CRITICAL: Exiting due to uncaught exception <class 
'pywikibot.exceptions.OtherPageSaveError'>

TASK DETAIL
  https://phabricator.wikimedia.org/T227550

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Bugreporter
Cc: Aklapper, pywikibot-bugs-list, Bugreporter, Viztor, DannyS712, Wenyi, 
Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, 
jayvdb, Ricordisamoa, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to