Cannot complete uploads following description: Unable to check file's status (mw.UploadWizardDetails.js:1362)
OpenPublic

Description

Author: theskuj

Description:
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...


Version: master
Severity: normal
OS: Windows 8
Platform: PC
URL: https://commons.wikimedia.org/wiki/Special:UploadWizard

Attached:

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz60247.
bzimport created this task.Via LegacyJan 20 2014, 2:56 AM
bzimport added a comment.Via ConduitJan 20 2014, 3:06 AM

theskuj wrote:

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.

bzimport added a comment.Via ConduitJan 20 2014, 3:07 AM

theskuj wrote:

More uploads are completed than are shown by the upload page

Attached:

Aklapper added a comment.Via ConduitJan 20 2014, 12:58 PM

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?

bzimport added a comment.Via ConduitApr 23 2014, 11:57 PM

srittau wrote:

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

Tgr added a comment.Via ConduitApr 24 2014, 1:13 AM

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.

bzimport added a comment.Via ConduitApr 24 2014, 2:00 AM

srittau wrote:

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.

bzimport added a comment.Via ConduitMay 6 2014, 9:37 PM

srittau wrote:

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.

Raymond added a comment.Via ConduitMay 13 2014, 12:51 PM
  • Bug 65030 has been marked as a duplicate of this bug. ***
Raymond added a comment.Via ConduitMay 13 2014, 12:53 PM

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

Nemo_bis added a comment.Via ConduitJun 27 2014, 11:07 AM
  • Bug 64439 has been marked as a duplicate of this bug. ***
Nemo_bis added a comment.Via ConduitJun 27 2014, 11:12 AM

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.

Aklapper added a comment.Via ConduitAug 5 2014, 10:32 PM

(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?

Aklapper added a comment.Via ConduitOct 16 2014, 1:00 PM

(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?

Tgr added a comment.Via ConduitOct 16 2014, 1:58 PM

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.

Tgr added a comment.Via ConduitOct 16 2014, 2:11 PM

For error statistics and a rough first take on prioritization, see
https://lists.wikimedia.org/pipermail/multimedia/2014-September/000847.html

Gilles added a project: Multimedia.Via WebNov 24 2014, 3:20 PM
Aklapper added a project: Commons.Via WebTue, Mar 10, 4:45 PM
Steinsplitter moved this task to Backlog (Third-party software) on the Commons workboard.Via WebWed, Mar 11, 12:51 PM

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.