Page MenuHomePhabricator

Cannot open VE after saving an edit on a page, getting error "Error loading data from server: HTTP 500"
Closed, DuplicatePublic

Description

I am getting this error "Error loading data from server: HTTP 500. Would you like to retry?" dialog box while trying to open VE, after saving my edit on that page.

Event Timeline

Ryasmeen created this task.Dec 13 2016, 5:56 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 13 2016, 5:56 PM
Pchelolo added a subscriber: Pchelolo.

According to the logs it's a Parsoid problem:

Cannot read property 'forEach' of undefined
TypeError: Cannot read property 'forEach' of undefined
    at logBogusImageOptions (/srv/deployment/parsoid/deploy-cache/revs/7316a908afe2bc9974ef26898a5344913b544782/src/lib/wt2html/pp/handlers/linter.js:248:13)
    at Object.logWikitextFixups [as run] (/srv/deployment/parsoid/deploy-cache/revs/7316a908afe2bc9974ef26898a5344913b544782/src/lib/wt2html/pp/handlers/linter.js:292:2)
ssastry assigned this task to Legoktm.Dec 13 2016, 6:26 PM
ssastry triaged this task as Medium priority.
ssastry added a subscriber: Arlolra.

Reproducible as:

$ parse.js --lint --apiURL https://en.wikipedia.beta.wmflabs.org/w/api.php --page 'User:RYasmeen_(WMF)' < /dev/null
...
[fatal][customwiki/User:RYasmeen_(WMF)] Cannot read property 'forEach' of undefined
TypeError: Cannot read property 'forEach' of undefined
    at logBogusImageOptions (/home/subbu/work/wmf/parsoid/lib/wt2html/pp/handlers/linter.js:248:13)
    at Object.logWikitextFixups [as run] (/home/subbu/work/wmf/parsoid/lib/wt2html/pp/handlers/linter.js:292:2)
...