https://bugzilla.wikimedia.org/show_bug.cgi?id=58906
Web browser: --- Bug ID: 58906 Summary: 'page-exists' key error when uploading a file that has a local description page Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: pywikipedia-b...@lists.wikimedia.org Reporter: legoktm.wikipe...@gmail.com Classification: Unclassified Mobile Platform: --- When trying to upload an image for which a local description page exists but no local file exists, an upload warning of 'page-exists' will be raised. However that message isn't defined so it raises a KeyError while trying to raise the UploadWarning. File "/Users/km/projects/pwb-core/pywikibot/site.py", line 3268, in upload raise pywikibot.UploadWarning(upload_warnings[warning] KeyError: u'page-exists' -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l