XZise added a comment.
Do you delete the apicache and restart the script or do you delete it while the script runs? You could also (unlike other want to tell you) disable the apicache by setting `API_config_expiry = 0` in your `user-config.py`. Okay in https://phabricator.wikimedia.org/rPWBC75e5834d1a7a19940e19708e00a4f3e5e615d... the change wasn't anywhere near 1220. So I guess the line number was a guess? What is interesting that it only fails the second time. Also does https://phabricator.wikimedia.org/rPWBC75e5834d1a7a19940e19708e00a4f3e5e615d... probably not apply to this case but I was certain at some point the cache was backwards … hugh.
TASK DETAIL https://phabricator.wikimedia.org/T94293
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: XZise Cc: XZise, Aklapper, PhantomTech, Gryllida, jayvdb, scfc, pywikipedia-bugs