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'
Version: core-(2.0)
Severity: normal