https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
Bug ID: 71400 Summary: When an image deleted before imagetransfer.py asks many times: Do you want to ignore? ([y]es, [N]o) Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: Other scripts Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: reza.energy@gmail.com Web browser: --- Mobile Platform: ---
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!
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
reza1615 reza.energy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|When an image deleted |When an image is deleted on |before imagetransfer.py |target wiki, |asks many times: Do you |imagetransfer.py asks many |want to ignore? ([y]es, |times: Do you want to |[N]o) |ignore? ([y]es, [N]o)
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CommodoreFabianus@gmx.de
--- Comment #1 from Fabian CommodoreFabianus@gmx.de --- 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?
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
--- Comment #2 from reza1615 reza.energy@gmail.com --- 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 :)
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
--- Comment #3 from reza1615 reza.energy@gmail.com --- 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 :)
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
--- Comment #4 from Fabian CommodoreFabianus@gmx.de --- 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”.
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
--- Comment #5 from reza1615 reza.energy@gmail.com --- May be line 318 at upload.py should cause this bug
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
reza1615 reza.energy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|When an image is deleted on |When an image is deleted on |target wiki, |target wiki, At |imagetransfer.py asks many |imagetransfer.py (code |times: Do you want to |upload.py) asks many |ignore? ([y]es, [N]o) |times: Do you want to | |ignore? ([y]es, [N]o)
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
--- Comment #6 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 164052 had a related patch set uploaded by XZise: [FIX] Support Python 3 uploads and ignore warnings
https://gerrit.wikimedia.org/r/164052
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |NEW CC| |jayvdb@gmail.com Depends on| |58907
--- Comment #7 from John Mark Vandenberg jayvdb@gmail.com --- This is probably a dup of bug 58907
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #8 from Fabian CommodoreFabianus@gmx.de --- 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 ***
https://bugzilla.wikimedia.org/show_bug.cgi?id=71400 Bug 71400 depends on bug 58907, which changed state.
Bug 58907 Summary: Site.upload(ignore_warnings=True) will still raise UploadWarnings https://bugzilla.wikimedia.org/show_bug.cgi?id=58907
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org