Last modified: 2014-10-07 19:44:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60907, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58907 - Site.upload(ignore_warnings=True) will still raise UploadWarnings
Site.upload(ignore_warnings=True) will still raise UploadWarnings
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
: 71400 71727 (view as bug list)
Depends on:
Blocks: 71400
  Show dependency treegraph
 
Reported: 2013-12-23 19:25 UTC by Kunal Mehta (Legoktm)
Modified: 2014-10-07 19:44 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-12-23 19:25:22 UTC
When uploading a file, I have ignore_warnings=True. This value is passed to the API, so the upload completes successfully. However, pywikibot sees the 'warnings' dict and then raises an UploadWarning exception, even though I've suppressed the warnings.
Comment 1 Gerrit Notification Bot 2014-10-07 07:27:34 UTC
Change 164052 had a related patch set uploaded by John Vandenberg:
[FIX] Ignore warnings on upload

https://gerrit.wikimedia.org/r/164052
Comment 2 Fabian 2014-10-07 08:58:16 UTC
*** Bug 71400 has been marked as a duplicate of this bug. ***
Comment 3 Fabian 2014-10-07 09:00:50 UTC
*** Bug 71727 has been marked as a duplicate of this bug. ***
Comment 4 Gerrit Notification Bot 2014-10-07 09:53:38 UTC
Change 164052 merged by jenkins-bot:
[FIX] Ignore warnings on upload

https://gerrit.wikimedia.org/r/164052

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links