jayvdb added a comment.
Here is an example of the problem (after the rough patch on
https://phabricator.wikimedia.org/T85356 is applied)
$ python pwb.py scripts/harvest_template.py -family:wikipedia -lang:test -template:test
test P404 -simulate
WARNING: cacheSources: Could not load sources: Page [[wikidata:test:Wikidata:List of
wikis/python]] doesn't exist.
Finding redirects...
Retrieving 9 pages from wikipedia:test.
WARNING: API warning (wbgetentities): Unrecognized value for parameter 'sites':
testwiki
ERROR: param-missing: A parameter that is required was missing (Either provide the item
"ids" or pairs of "sites" and "titles" for corresponding
pages)
Traceback (most recent call last):
File "./pywikibot/bot.py", line 1190, in run
item = pywikibot.ItemPage.fromPage(page)
File "./pywikibot/page.py", line 3251, in fromPage
if not lazy_load and not i.exists():
File "./pywikibot/page.py", line 2867, in exists
self.get()
File "./pywikibot/page.py", line 3263, in get
super(ItemPage, self).get(force=force, *args, **kwargs)
File "./pywikibot/page.py", line 2901, in get
data = self.repo.loadcontent(identification, *args)
File "./pywikibot/site.py", line 5173, in loadcontent
data = req.submit()
File "./pywikibot/data/api.py", line 1093, in submit
raise APIError(code, info, **result["error"])
APIError: param-missing: A parameter that is required was missing (Either provide the
item "ids" or pairs of "sites" and "titles" for
corresponding pages)
TASK DETAIL
https://phabricator.wikimedia.org/T85358
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb
Cc: Aklapper, jayvdb, Qgil, pywikipedia-bugs