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: [email protected]
          Reporter: [email protected]
    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 the assignee for the bug.

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to