From the log file
2018-10-06_14:36:30 Make a list of images without id...
Traceback (most recent call last):
File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 419, in <module>
main()
File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 411, in main
countryconfig, add_template, conn, cursor, conn2, cursor2))
File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 65, in processCountry
withTemplate = getMonumentsWithTemplate(countryconfig, conn2, cursor2)
File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 262, in getMonumentsWithTemplate
cursor.execute(query, (commonsTrackerCategory,))
File "/mnt/nfs/labstore-secondary-tools-project/heritage/.venv/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/mnt/nfs/labstore-secondary-tools-project/heritage/.venv/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (2006, 'MySQL server has gone away')
CRITICAL: Closing network session.
<class '_mysql_exceptions.OperationalError'>
2018-10-06_14:58:55 Dump database...