Xqt created this task. Xqt claimed this task. Xqt added a subscriber: Xqt. Xqt added a project: pywikibot-compat. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION Processing a File: page which doesn't have an image content leads to an KeyError:
``` + {{Dateiüberprüfung}}
Bot: Markiere mit {{[[Wikipedia:Dateiüberprüfung/Anleitung|DÜP]]}}, da keine Lizenzvorlage gefunden - bitte nicht entfernen, Informationen bald auf der Benutzerdiskussion des Uploaders. Updating page [[Datei:HeaderMR.png]] via API No image in imagepage Execution time: 32140 seconds
Traceback (most recent call last): File "C:\pwb\compat\checkimages.py", line 1993, in <module> main() File "C:\pwb\compat\checkimages.py", line 1979, in main if Bot.checkStep(): File "C:\pwb\compat\checkimages.py", line 1787, in checkStep smwl) File "C:\pwb\compat\checkimages.py", line 669, in report resPutMex = self.tag_image(unver) File "C:\pwb\compat\checkimages.py", line 737, in tag_image nick = reportPageObject.getLatestUploader()[0] File "C:\pwb\compat\wikipedia.py", line 5426, in getLatestUploader return [self._latestInfo['user'], self._latestInfo['timestamp']] KeyError: 'user' ```
TASK DETAIL https://phabricator.wikimedia.org/T87172
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: Xqt Cc: pywikipedia-bugs, Xqt, Aklapper, Anshoe