Last modified: 2014-01-08 18:17:24 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 T45320, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43320 - Upload from flickr randomly fails for some images sharing same title in a set or sequential uploads
Upload from flickr randomly fails for some images sharing same title in a set...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
All All
: High major (vote)
: ---
Assigned To: Tisza Gergő
http://test.wikipedia.org/wiki/Specia...
:
: 43322 43369 (view as bug list)
Depends on:
Blocks: 43450 43590
  Show dependency treegraph
 
Reported: 2012-12-21 15:16 UTC by Russavia
Modified: 2014-01-08 18:17 UTC (History)
10 users (show)

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


Attachments

Description Russavia 2012-12-21 15:16:16 UTC
I have attempted to upload http://www.flickr.com/photos/emmanueldyan/sets/72157626778462048/ using the Flickr option in Upload Wizard and I am getting error "You are already uploading the file "Thol Lake - Gujarat, India.jpg"." Once I managed to close the pop-up warning, the wizard decides it only wishes to upload a total of 2 images from the set, even though the rest are not on Commons. This error also occurs with other sets I have tried from other flickr photographers.
Comment 1 Andre Klapper 2012-12-21 16:00:20 UTC
*** Bug 43322 has been marked as a duplicate of this bug. ***
Comment 2 Ryan Kaldari 2012-12-21 19:31:39 UTC
Able to reproduce, but not sure what's going on here.
Comment 3 Nischay Nahata 2012-12-22 13:01:09 UTC
I tried to reproduce this bug on http://test.wikipedia.org/wiki/Special:UploadWizard I got the error "You are already uploading the file "Thol Lake - Gujarat, India.jpg"." a lot of times all overlapped (that should be a separate bug), but after closing all those dialogs there were just 2 remaining images. My conclusion is- since all the files in this set are named the same i.e. "Thol Lake - Gujarat, India.jpg" their uploading gets cancelled and only one or two of the images gets through. However, those two still had the same name for me which doesn't make sense.
Comment 4 Jean-Fred 2012-12-23 20:07:48 UTC
Nischay report matches my own experience (in [[bugzilla:43369]]): seems to be triggered by the fact that files from the set share the same name (which make kinda sense given the error message) ; but files that succeed in being selected may still share the same name.
Comment 5 Jean-Fred 2012-12-23 20:08:10 UTC
*** Bug 43369 has been marked as a duplicate of this bug. ***
Comment 6 Nemo 2013-01-02 15:23:32 UTC
The results seem quite random, I think it fails less images when the computer is slow enough not to retrieve all of the images in the same moment.
For two sets of similar size, in one I got only one "You are already uploading the file" error, in another a dozen.
Comment 7 Nemo 2013-01-02 15:45:39 UTC
Note that for some reason I'm also shown the warning about really wanting to abandon the page, even though I've not tried to close anything.
Comment 8 Nischay Nahata 2013-01-08 16:15:12 UTC
https://gerrit.wikimedia.org/r/#/c/42775/ renames images if found with similar names.. The user already has an option to enter a reasonable name afterwards and this doesn't block him from uploading any images as with the set given above.
Comment 9 Yuvi Panda 2013-04-11 22:24:11 UTC
Doing a bunch of fixes and testing Nischay's patch. I think making the images titles be '$Title - $ID.extension' is better than '$Authoer - $ID.extenson'. Will submit a fix.
Comment 10 Nischay Nahata 2013-04-12 17:16:49 UTC
Thanks Yuvi for being the catalyst here :)
Comment 11 Ryan Kaldari 2013-04-12 19:03:25 UTC
This fix has a bug. Please see inline comments at https://gerrit.wikimedia.org/r/#/c/42775/6

Thanks for your work on this! Sorry I missed doing the review earlier.
Comment 12 Gerrit Notification Bot 2013-04-12 19:59:14 UTC
Related URL: https://gerrit.wikimedia.org/r/58998 (Gerrit Change Id1b7f45f08f727a999d700863bb0830c73e389c5)
Comment 13 Yuvi Panda 2013-04-12 20:02:27 UTC
Submitted a followup
Comment 14 Gerrit Notification Bot 2013-04-12 20:14:30 UTC
Related URL: https://gerrit.wikimedia.org/r/59000 (Gerrit Change Icae2e54866aa63531b4eef1262a0798bcc51cf8f)
Comment 15 Ryan Kaldari 2013-04-12 20:15:57 UTC
Also, that fix only fixes it for photosets, not for sequential single uploads. I checked in a new fix here: https://gerrit.wikimedia.org/r/#/c/59000/
Comment 16 Ryan Kaldari 2013-04-12 20:17:59 UTC
Sorry I did a separate commit, didn't know you were working on a new one at the same time :)
Comment 17 Yuvi Panda 2013-04-12 20:18:44 UTC
Hehe, that's okay. I'm testing yours now, will merge in a bit.
Comment 18 Strainu 2013-10-01 07:30:52 UTC
Reopening since I'm still seeing the issue for sequential single uploads. I see that the change fixing this has been merged and I'm pretty sure it has also been deployed.

I'm trying to upload http://www.flickr.com/photos/antonescurazvan/152113025/ and sequential images from the photostream
Comment 19 Gerrit Notification Bot 2013-12-23 18:20:01 UTC
Change 103388 had a related patch set uploaded by Gergő Tisza:
Handle multiple Flickr uploads with identical title

https://gerrit.wikimedia.org/r/103388
Comment 20 Gerrit Notification Bot 2014-01-06 15:53:51 UTC
Change 103388 merged by jenkins-bot:
Handle multiple Flickr uploads with identical title

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

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


Navigation
Links