Last modified: 2014-10-16 14:11:44 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 T62247, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60247 - Cannot complete uploads following description: Unable to check file's status (mw.UploadWizardDetails.js:1362)
Cannot complete uploads following description: Unable to check file's status ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
PC Windows 8
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://commons.wikimedia.org/wiki/Sp...
:
: 64439 65030 (view as bug list)
Depends on:
Blocks: commons
  Show dependency treegraph
 
Reported: 2014-01-20 02:56 UTC by Andrew Skujins
Modified: 2014-10-16 14:11 UTC (History)
13 users (show)

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


Attachments
Screenshot after about 20 minutes - no changes for ~19 minutes (157.08 KB, image/png)
2014-01-20 02:56 UTC, Andrew Skujins
Details
More uploads are completed than are shown by the upload page (427.54 KB, image/png)
2014-01-20 03:07 UTC, Andrew Skujins
Details

Description Andrew Skujins 2014-01-20 02:56:47 UTC
Created attachment 14346 [details]
Screenshot after about 20 minutes - no changes for ~19 minutes

I uploaded and described several photographs. During the next/publishing stage, one or two complete, but the others just spin forever (30 minutes plus). I cannot resume whatsoever - only restart entirely. I've wasted hours redoing this! Still doesn't work...
Comment 1 Andrew Skujins 2014-01-20 03:06:31 UTC
Checking my uploads manually on a separate tab, I can see that 5 were completed, but only 2 shown as completed on the upload page. The error seems to be the communication of a successful posting, and so others don't begin.
Comment 2 Andrew Skujins 2014-01-20 03:07:41 UTC
Created attachment 14347 [details]
More uploads are completed than are shown by the upload page
Comment 3 Andre Klapper 2014-01-20 12:58:20 UTC
Hi Andrew.

In case this is a reproducible problem: Does anything appear in your browser's JavaScript console when loading the page? Can you please run the upload wizard with the debug option enabled? Just add "?debug=true" at the end of the web address (after "Special:UploadWizard") and then reload the page.
Do you by any chance have the "Chunked uploads for files over 1MB in Upload Wizard" preference enabled on Commons in the Upload Wizard preferences?
Comment 4 Sebastian Rittau 2014-04-23 23:57:11 UTC
I have the same problem on commons. This is very frustrating, since it means I have to reupload about 40 images.

The Javascript console mentions this three times (which corresponds to the number of stuck uploads):

Unable to check file's status load.php?debug=false&lang=de&modules=ext.uploadWizard&skin=vector&version=20140423T031516Z&*:151
Comment 5 Tisza Gergő 2014-04-24 01:13:35 UTC
Hi Sebastian,

can you try with debug=true, as Andre suggested, and copy here the console errors? Line numbers are rather useless when you are not in debug mode.
Comment 6 Sebastian Rittau 2014-04-24 02:00:06 UTC
I tried to upload multiple times now. The upload fails very frequently, I would say with about an 50% success change per upload. In the last try the first three uploads hung.

The error message with debug=true is:

Unable to check file's status mw.UploadWizardDetails.js:1362

This is with Chrome. I am now trying to upload with IE.
Comment 7 Sebastian Rittau 2014-05-06 21:37:24 UTC
Just as an update. Currently uploading works fairly well, although not 100% perfect. Could this be related to load on the servers? I have the impression (but this is just that, an impression) that status responses get lost or time out and the upload wizards does not recover from that gracefully.
Comment 8 Raimond Spekking 2014-05-13 12:51:08 UTC
*** Bug 65030 has been marked as a duplicate of this bug. ***
Comment 9 Raimond Spekking 2014-05-13 12:53:17 UTC
I have the same problems since a few days again. Using Firefox 29 on Win 8.1.

Using &debug=true for uploadin https://commons.wikimedia.org/wiki/File:A_round_building_in_Dunkerque-7600.jpg gave the following output on the console:

getUserData() und setUserData() sollten nicht mehr verwendet werden. Verwenden Sie stattdessen WeakMap oder element.dataset. requestNotifier.js:64
getPreventDefault() sollte nicht mehr verwendet werden. Verwenden Sie stattdessen defaultPrevented. load.php:3255
"tofu detection took 0.001 seconds" load.php:11936
getAttributeNode() sollte nicht mehr verwendet werden. Verwenden Sie stattdessen getAttribute(). load.php:2456
Das specified-Attribut von Attributen sollte nicht mehr verwendet werden. Es liefert immer true. load.php:2458
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getEditToken() mediawiki.api.edit.js:39
mw.ApiUploadFormDataHandler.prototype.configureEditToken() mw.ApiUploadFormDataHandler.js:48
mw.ApiUploadFormDataHandler.prototype.start() mw.ApiUploadFormDataHandler.js:67
mw.UploadWizardUpload.prototype.start() mw.UploadWizardUpload.js:102
mw.UploadWizard.prototype.setUploadFilled/<() mw.UploadWizard.js:621
mw.UploadWizard.prototype.makeTransitioner/<() mw.UploadWizard.js:742
.each() load.php:611
mw.UploadWizard.prototype.makeTransitioner() mw.UploadWizard.js:733
mw.UploadWizard.prototype.setUploadFilled() mw.UploadWizard.js:623
mw.UploadWizardUploadInterface.prototype.updateFilename() mw.UploadWizardUploadInterface.js:662
mw.UploadWizardUploadInterface.prototype.fileChangedOk() mw.UploadWizardUploadInterface.js:327
mw.UploadWizardUploadInterface.prototype.initFileInputCtrl/</<() mw.UploadWizardUploadInterface.js:275
finishCallback() mw.UploadWizardUpload.js:351
mw.UploadWizardUpload.prototype.checkFile/binReader.onload() mw.UploadWizardUpload.js:494

mozSlice am Blob-Objekt sollte nicht mehr verwendet werden. Verwenden Sie slice stattdessen. mw.FormDataTransport.js:110
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:190
mw.Api.prototype.post() mediawiki.api.js:119
mw.FormDataTransport.prototype.checkStatus() mw.FormDataTransport.js:256
mw.FormDataTransport.prototype.uploadChunk/</</<() mw.FormDataTransport.js:130

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:196
mw.Api.prototype.post() mediawiki.api.js:119
mw.FormDataTransport.prototype.checkStatus() mw.FormDataTransport.js:256
mw.FormDataTransport.prototype.uploadChunk/</</<() mw.FormDataTransport.js:130

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:190
mw.Api.prototype.post() mediawiki.api.js:119
mw.FormDataTransport.prototype.checkStatus() mw.FormDataTransport.js:256
mw.FormDataTransport.prototype.checkStatus/<.ok/<() mw.FormDataTransport.js:248

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:196
mw.Api.prototype.post() mediawiki.api.js:119
mw.FormDataTransport.prototype.checkStatus() mw.FormDataTransport.js:256
mw.FormDataTransport.prototype.checkStatus/<.ok/<() mw.FormDataTransport.js:248

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:190
mw.Api.prototype.get() mediawiki.api.js:104
mw.UploadWizardUpload.prototype.getStashImageInfo() mw.UploadWizardUpload.js:740
mw.UploadWizardUpload.prototype.getAndPublishApiThumbnail() mw.UploadWizardUpload.js:896
mw.UploadWizardUpload.prototype.setThumbnail/<() mw.UploadWizardUpload.js:1115
$.publish/<() jquery.pubsub.js:31
.each() load.php:611
$.publish() jquery.pubsub.js:30
$.publishReady() jquery.pubsub.js:49
mw.UploadWizardUpload.prototype.setSuccess() mw.UploadWizardUpload.js:319
mw.UploadWizardUpload.prototype.setTransported() mw.UploadWizardUpload.js:249
mw.ApiUploadFormDataHandler/this.transport<() mw.ApiUploadFormDataHandler.js:28
mw.FormDataTransport.prototype.checkStatus/<.ok() mw.FormDataTransport.js:253
jQuery.Callbacks/fire() load.php:974
jQuery.Callbacks/self.fireWith() load.php:1084
jQuery.Callbacks/self.fire() load.php:1091
mw.Api.prototype.ajax/xhr<() mediawiki.api.js:222
jQuery.Callbacks/fire() load.php:974
jQuery.Callbacks/self.fireWith() load.php:1084
done() load.php:7803
.send/callback() load.php:8518

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:196
mw.Api.prototype.get() mediawiki.api.js:104
mw.UploadWizardUpload.prototype.getStashImageInfo() mw.UploadWizardUpload.js:740
mw.UploadWizardUpload.prototype.getAndPublishApiThumbnail() mw.UploadWizardUpload.js:896
mw.UploadWizardUpload.prototype.setThumbnail/<() mw.UploadWizardUpload.js:1115
$.publish/<() jquery.pubsub.js:31
.each() load.php:611
$.publish() jquery.pubsub.js:30
$.publishReady() jquery.pubsub.js:49
mw.UploadWizardUpload.prototype.setSuccess() mw.UploadWizardUpload.js:319
mw.UploadWizardUpload.prototype.setTransported() mw.UploadWizardUpload.js:249
mw.ApiUploadFormDataHandler/this.transport<() mw.ApiUploadFormDataHandler.js:28
mw.FormDataTransport.prototype.checkStatus/<.ok() mw.FormDataTransport.js:253
jQuery.Callbacks/fire() load.php:974
jQuery.Callbacks/self.fireWith() load.php:1084
jQuery.Callbacks/self.fire() load.php:1091
mw.Api.prototype.ajax/xhr<() mediawiki.api.js:222
jQuery.Callbacks/fire() load.php:974
jQuery.Callbacks/self.fireWith() load.php:1084
done() load.php:7803
.send/callback() load.php:8518

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:190
mw.Api.prototype.get() mediawiki.api.js:104
mw.DestinationChecker.prototype.checkUnique() mw.DestinationChecker.js:297
mw.DestinationChecker.prototype.checkTitle() mw.DestinationChecker.js:125
$.fn.destinationChecked/this.checkTitle() mw.DestinationChecker.js:310
mw.UploadWizard.prototype.createInterface/</<() mw.UploadWizard.js:234
.each() load.php:611
mw.UploadWizard.prototype.createInterface/<() mw.UploadWizard.js:221
jQuery.event.dispatch() load.php:3058
jQuery.event.add/eventHandle() load.php:2676

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
mw.Api.prototype.ajax() mediawiki.api.js:196
mw.Api.prototype.get() mediawiki.api.js:104
mw.DestinationChecker.prototype.checkUnique() mw.DestinationChecker.js:297
mw.DestinationChecker.prototype.checkTitle() mw.DestinationChecker.js:125
$.fn.destinationChecked/this.checkTitle() mw.DestinationChecker.js:310
mw.UploadWizard.prototype.createInterface/</<() mw.UploadWizard.js:234
.each() load.php:611
mw.UploadWizard.prototype.createInterface/<() mw.UploadWizard.js:221
jQuery.event.dispatch() load.php:3058
jQuery.event.add/eventHandle() load.php:2676

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"mw.Api error: " "http" {xhr: Object, textStatus: "abort", exception: "abort"} load.php:11936
"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.getCategoriesByPrefix() mediawiki.api.category.js:68
_fetchSuggestions() jquery.mwCoolCats.js:187
maybeFetch() jquery.suggestions.js:104

"Use of mediawiki.api callback params is deprecated. Use the Promise instead." load.php:10015
console.trace(): load.php:10017
mw</<.log</log.warn() load.php:10017
.postWithEditToken() mediawiki.api.edit.js:22
mw.UploadWizardDetails.prototype.submit/<() mw.UploadWizardDetails.js:1446
mw.UploadWizardDetails.prototype.getWikiText/<() mw.UploadWizardDetails.js:1317
mw.UploadWizardDetails.prototype.valid() mw.UploadWizardDetails.js:743
mw.UploadWizardDetails.prototype.getWikiText() mw.UploadWizardDetails.js:1235
mw.UploadWizardDetails.prototype.submit() mw.UploadWizardDetails.js:1444
mw.UploadWizard.prototype.detailsSubmit/<() mw.UploadWizard.js:1157
mw.UploadWizard.prototype.makeTransitioner/<() mw.UploadWizard.js:742
.each() load.php:611
mw.UploadWizard.prototype.makeTransitioner() mw.UploadWizard.js:733
mw.UploadWizard.prototype.detailsSubmit() mw.UploadWizard.js:1159
startDetails/<() mw.UploadWizard.js:265
mw.UploadWizard.prototype.detailsValid() mw.UploadWizard.js:1106
startDetails() mw.UploadWizard.js:269
jQuery.event.dispatch() load.php:3058
jQuery.event.add/eventHandle() load.php:2676

"Unable to check file's status" mw.UploadWizardDetails.js:1362
Comment 10 Nemo 2014-06-27 11:07:50 UTC
*** Bug 64439 has been marked as a duplicate of this bug. ***
Comment 11 Nemo 2014-06-27 11:12:16 UTC
Per http://lists.wikimedia.org/pipermail/multimedia/2014-June/000602.html , I daresay this is the single most important bug with UploadWizard, probably responsible of some 9 % failure for uploaders who completed the "details" step.

I linked https://commons.wikimedia.org/w/index.php?title=Commons:Upload_Wizard_feedback&oldid=127585276#uploading_files_with_sizes_.3E12MB to this bug and bug 60821 which, *unlike* this, is about chunked uploading.
Comment 12 Andre Klapper 2014-08-05 22:32:11 UTC
(In reply to Nemo from comment #11)
> Per http://lists.wikimedia.org/pipermail/multimedia/2014-June/000602.html ,
> I daresay this is the single most important bug with UploadWizard, probably
> responsible of some 9 % failure for uploaders who completed the "details"
> step.

Multimedia team: Assuming that above numbers are still valid, are their plans to investigate this rather sooner than later? What's the plan?
Comment 13 Andre Klapper 2014-10-16 13:00:15 UTC
(In reply to Nemo from comment #11)
> Per http://lists.wikimedia.org/pipermail/multimedia/2014-June/000602.html ,
> I daresay this is the single most important bug with UploadWizard, probably
> responsible of some 9 % failure for uploaders who completed the "details"
> step.

Multimedia team: Assuming that above numbers are still valid, are their plans to investigate this rather sooner than later? What's the plan?
Comment 14 Tisza Gergő 2014-10-16 13:58:41 UTC
You can see current numbers at http://multimedia-metrics.wmflabs.org/dashboards/uw ; drop on the details step is 4-5% these days. About 80% of that drop seems to be attributable to various API errors; as far as I can see from the code, there is no error reported when "Unable to check file's status" is logged to the console, so there are higher-priority errors to start with, I think. (Which we did, finally, this week! Apologies for the long silence on the UploadWizard front.)

UploadWizard has changed quite a bit in the half year since this was reported, so if someone experiences this bug again, a new stack trace (with debug=1) would be helpful.
Comment 15 Tisza Gergő 2014-10-16 14:11:44 UTC
For error statistics and a rough first take on prioritization, see
https://lists.wikimedia.org/pipermail/multimedia/2014-September/000847.html

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


Navigation
Links