Page MenuHomePhabricator

Localization (or syntax) error on etherpad.wikimedia.org
Closed, ResolvedPublic

Description

Trying to visit any etherpad on etherpad.wikimedia.org:

In Chromium:

An error occured while loading the pad
Uncaught SyntaxError: Unexpected token } in http://etherpad.wikimedia.org/p/rar (line 45)

JS console shows:
Uncaught SyntaxError: Unexpected end of input pad.js:43
Uncaught SyntaxError: Unexpected token } require-kernel.js:1
Uncaught SyntaxError: Unexpected token } require-kernel.js:1

In Firefox:
An error occured while loading the pad

Script error. in http://etherpad.wikimedia.org/static/js/require-kernel.js (line 0)

JS console shows:
[23:37:42.132] SyntaxError: missing ) after formal parameters @ http://etherpad.wikimedia.org/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define:43
[23:37:42.393] SyntaxError: missing ) after formal parameters @ http://etherpad.wikimedia.org/static/js/require-kernel.js:43
[23:37:42.573] SyntaxError: missing ) after formal parameters @ http://etherpad.wikimedia.org/static/js/require-kernel.js:43

OSX 10.9


Version: wmf-deployment
Severity: normal

Details

Reference
bz57476

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:39 AM
bzimport set Reference to bz57476.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Trying to visit any etherpad on etherpad.wikimedia.org:

Any? I tried one from my bookmarks and it worked. Is it over already?

I only have a different error in console.log:

Error: Couldn't find translations for de-DE
window.html10n</Loader.prototype.parse()html10n.js (Zeile 1)
window.html10n</Loader.prototype.fetch/e.onreadystatechange()html10n.js (Zeile 1)

...Number(arguments[1]),d!=d?d=0:d!=0&&d!=Infinity&&d!=-Infinity&&(d=(d>0||-1)*Math...

html10n.js (Zeile 1)

Screenshot: http://i.imgur.com/QmaYfF1.png

What do you mean "it's over" when there are syntax errors? How did it get fixed?

(In reply to comment #4)

What do you mean "it's over" when there are syntax errors? How did it get
fixed?

I dunno, but it works again in both Firefox and WebKit based. I also see the localization errors now, but that's another (non-critical) problem.

reopened. I suppost, the localization files have not yet been downloaded and deployed. Pls....

where are those files that need to be deployed?

(In reply to comment #7)

where are those files that need to be deployed?

I need to look in https://github.com/ether/etherpad-lite (haven't worked for that since a while) what missing files are causing this: http://i.imgur.com/QmaYfF1.png .

Cannot reproduce issue in comment 0 with Firefox 25 on http://etherpad.wikimedia.org/p/rar being logged in.

(In reply to comment #3)

I only have a different error in console.log:
Error: Couldn't find translations for de-DE

Cannot reproduce this either with above settings and browser.
(After setting prefered language in my browser to "de", I see that tooltips are correctly shown in German.)

akosiaris claimed this task.
akosiaris added subscribers: Aklapper, akosiaris.

Per @Aklapper's last comment, I consider this fixed. Not that we have updated the etherpad-lite software multiple times since then so this might well have been fixed by any of this upgrades. Marking as resolved