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
    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/", 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

Reply via email to