XZise added a comment.
Okay this looks like a bug in the script. The `Error` class in `pywikibot.exceptions` requires at least 1 additional parameter (the other is defined automatically) since cde6b11565e2068bf052041dd2ad563658c4faf3 https://github.com/wikimedia/pywikibot-core/commit/cde6b11565e2068bf052041dd2ad563658c4faf3 and the interwiki.py script is calling `SaveError` without a parameter since e8c2790c5b8bd38d905ff32c6f5ca9efd7d3721b https://github.com/wikimedia/pywikibot-core/commit/e8c2790c5b8bd38d905ff32c6f5ca9efd7d3721b, which was uploaded about three years after the change to the `Error` class (in fact this was the second change to pywikibot.exceptions only when this happened). At that time `SaveError` already subclassed `Error` https://github.com/wikimedia/pywikibot-core/blob/e8c2790c5b8bd38d905ff32c6f5ca9efd7d3721b/scripts/interwiki.py#L362 so this bug is probably in it ever since.
I'll upload a patch shortly (shouldn't be to complex).
TASK DETAIL https://phabricator.wikimedia.org/T85676
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: Aklapper, JAnD, jayvdb, pywikipedia-bugs