Last modified: 2012-12-07 12:10: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 T30938, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28938 - mwEmbed fails to save subtitles on some videos
mwEmbed fails to save subtitles on some videos
Status: RESOLVED FIXED
Product: mwEmbed
Classification: Unclassified
Timed text (Other open bugs)
unspecified
PC Windows 7
: High major (vote)
: ---
Assigned To: Michael Dale
http://commons.wikimedia.org/wiki/Fil...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-11 18:43 UTC by Derrick Coetzee
Modified: 2012-12-07 12:10 UTC (History)
3 users (show)

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


Attachments

Description Derrick Coetzee 2011-05-11 18:43:30 UTC
Using Firefox 4.0.1. Steps:

1. Enable mwEmbed in Wikimedia Commons user preferences.
2. Go to: http://commons.wikimedia.org/wiki/File:Citing_sources_tutorial,_part_1.ogv
3. Hover over video, click CC, click "Universal subtitles editor".
4. Click "Done" button three times.
5. Click "Save subtitles".

The following Javascript error appears at the top of the page, and the "Saving subtitles" dialog box hangs indefinitely without completing the save operation:

Error: uncaught exception: [Exception... "Index or size is negative or greater than the allowed amount" code: "1" nsresult: "0x80530001 (NS_ERROR_DOM_INDEX_SIZE_ERR)" location: "r192&uselang=en">http://prototype.wikimedia.org/mwe-gadget/mwEmbed/ResourceLoader.php?class=mirosubs,mw.style.mirosubswidget,mw.MiroSubsConfig,mw.ui.languageSelectBox,$j.ui.autocomplete,$j.ui.combobox&urid=r192&uselang=en Line: 68"]

Error: Script error.

This occurs even if subtitles were supplied in Universal Subtitles. I lost my subtitles work on this video, which was frustrating - if it was a longer video I would have been quite upset.
Comment 1 Michael Dale 2011-05-13 03:59:29 UTC
Confirmed this bug. This sounds bad. Assigned to self.
Comment 2 Derk-Jan Hartman 2011-05-22 12:40:44 UTC
I have troubles here as well:

mwEmbed:remote: r192
ResourceLoader.php:68 INVALID_STATE_ERR: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable.

openhand.cur: Failed to load resource: the server responded with a status of 404 (Not Found)

openhand.cur: Failed to load resource: the server responded with a status of 404 (Not Found)

ResourceLoader.php:87 TypeError: 'undefined' is not an object (evaluating 'data.edit.result')


and the following XHR requests:

Request URL:http://commons.wikimedia.org/w/api.php
prop:info
intoken:edit
titles:TimedText:Citing_sources_tutorial%2C_part_1.ogv.undefined.srt
action:query
format:json

{"query":{"pages":{"-1":{"title":"TimedText:Citing_sources_tutorial%2C_part_1.ogv.undefined.srt","invalid":""}}}}



Request URL:http://commons.wikimedia.org/w/api.php
action:edit
title:TimedText:Citing_sources_tutorial%2C_part_1.ogv.undefined.srt
text:
summary:Edited subtitles dj using [[Commons:Universal_Subtitles|UniversalSubs]]
token:false
format:json

{"servedby":"srv218","error":{"code":"badtoken","info":"Invalid token"}}
Comment 3 Derk-Jan Hartman 2011-05-22 13:29:17 UTC
caused by double uri encoding of the Titles: param in the post.
Comment 4 Michael Dale 2011-05-24 22:01:06 UTC
This fix will be part of a larger re-factor of the mwEmbed gadget to work with either a timed media handler add on or the mwEmbed gadget. Apologies for the delays.
Comment 5 Mark A. Hershberger 2011-07-28 21:17:04 UTC
Don't know why this is set to highest.
Comment 6 Jan Gerber 2012-12-07 12:10:16 UTC
Universal subtitles editor is no longer used, closing this bug.

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


Navigation
Links