I noticed that ErfgoedBot has not categorized anything for the last 7 days.
Auditing the logs, the following typically happens:
2016-08-14_13:24:11 Categorize images...
Retrieving 3 pages from commons:commons.
Retrieving 13 pages from commons:commons.
Retrieving 17 pages from commons:commons.
Retrieving 50 pages from commons:commons.
WARNING: /data/project/heritage/pywikibot/pywikibot/family.py:930: FamilyMaintenanceWarning: Family name wikimediachapter does not match family module name wikimedia
Retrieving 50 pages from commons:commons.
Traceback (most recent call last):
File "/data/project/heritage/pywikibot/pwb.py", line 270, in <module>
if not main():
File "/data/project/heritage/pywikibot/pwb.py", line 264, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "/data/project/heritage/pywikibot/pwb.py", line 109, in run_python_file
main_mod.__dict__)
File "/data/project/heritage/erfgoedbot/categorize_images.py", line 660, in <module>
main()
File "/data/project/heritage/erfgoedbot/categorize_images.py", line 653, in main
countrycode, lang, countryconfig, commonsCatTemplates, conn, cursor)
File "/data/project/heritage/erfgoedbot/categorize_images.py", line 543, in processCountry
countrycode, lang, commonsTemplate, commonsCategoryBase, commonsCatTemplates, page, conn, cursor)
File "/data/project/heritage/erfgoedbot/categorize_images.py", line 194, in categorizeImage
currentcats = list(page.categories())
File "/data/project/heritage/pywikibot/pywikibot/data/api.py", line 2279, in __iter__
self.data = self.request.submit()
File "/data/project/heritage/pywikibot/pywikibot/data/api.py", line 1747, in submit
raise APIError(**result['error'])
pywikibot.data.api.APIError: maxlag: Waiting for 10.64.48.150: 5.7911479473114 seconds lagged
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
<class 'pywikibot.data.api.APIError'>