Last modified: 2014-10-07 08:58:16 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 T73400, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71400 - When an image is deleted on target wiki, At imagetransfer.py (code upload.py) asks many times: Do you want to ignore? ([y]es, [N]o)
When an image is deleted on target wiki, At imagetransfer.py (code upload.py)...
Status: RESOLVED DUPLICATE of bug 58907
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on: 58907
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-28 23:08 UTC by reza1615
Modified: 2014-10-07 08:58 UTC (History)
3 users (show)

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


Attachments

Description reza1615 2014-09-28 23:08:38 UTC
When an image deleted before on target wiki imagetransfer.py asks many times: Do you want to ignore? ([y]es, [N]o)

If you write y it will continue aking also it will upload new revetions on image page!
Comment 1 Fabian 2014-09-28 23:26:34 UTC
What do you mean with the last sentence? Is it always the same file and it looks like it's stuck in an endless loop but still upload it every time?
Comment 2 reza1615 2014-09-28 23:33:35 UTC
It will remean on endless asking loop if you type y it will continue the loop also upload if you type n it will break and stop the loop.

finally the image is uploaded as many as you typed yes :)
Comment 3 reza1615 2014-09-28 23:34:18 UTC
It will remain on endless asking loop if you type y it will continue the loop also upload if you type n it will break and stop the loop.

finally the image is uploaded as many as you typed yes :)
Comment 4 Fabian 2014-09-29 08:34:37 UTC
Okay this sounds interesting, I've to take a look later, but it sounds like the warning is always present even when you say “ignore warnings”.
Comment 5 reza1615 2014-09-29 09:01:03 UTC
May be line 318 at upload.py should cause this bug
Comment 6 Gerrit Notification Bot 2014-10-01 12:11:26 UTC
Change 164052 had a related patch set uploaded by XZise:
[FIX] Support Python 3 uploads and ignore warnings

https://gerrit.wikimedia.org/r/164052
Comment 7 John Mark Vandenberg 2014-10-07 07:19:33 UTC
This is probably a dup of bug 58907
Comment 8 Fabian 2014-10-07 08:58:16 UTC
I don't see a difference, both are happening because the warnings are emitted even though we tell the MediaWiki API it should ignore them (although this isn't necessarily a bug of the MediaWiki API as the upload succeeds).

*** This bug has been marked as a duplicate of bug 58907 ***

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


Navigation
Links