Xqt added a comment.
Just an idea to find out which module was changed, could you please change
these lines in bot.py arround line 504 and below:
# imported modules
log('MODULES:')
_old = sys.modules.copy()
try:
for module in sys.modules.values():
filename = version.get_module_filename(module)
if not filename:
continue
param = {'sep': ' '}
if PYTHON_VERSION >= (3, 6, 0):
param['timespec'] = 'seconds'
mtime = version.get_module_mtime(module).isoformat(**param)
log(' {} {}'.format(mtime, filename))
except RuntimeError:
print(_old.keys() ^ sys.modules.keys()) # should print the difference
when the RuntimeError occurres.
TASK DETAIL
https://phabricator.wikimedia.org/T302774
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, Aklapper, matej_suchanek, pywikibot-bugs-list, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont,
JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]