Last modified: 2013-12-23 19:22:50 UTC
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'