Last modified: 2014-11-17 14:50:49 UTC
This site, https://wiki.transitionnetwork.org/ is running on amd64 Debian Wheezy with Parsoid installed using apt as per the instructions at https://www.mediawiki.org/wiki/Parsoid/Setup#Ubuntu_.2F_Debian_on_amd64 Today the new GPG siging key was installed and Parsoid updated (see https://trac.transitionnetwork.org/trac/ticket/692#comment:103 ) to version 0.1.15 and this has caused all edits using the VisualEditor to generate 500 errors, this is what is logged when you try to save a page: [info][localhost/Sandbox2?oldid=946] started parsing [fatal/request][localhost/Sandbox2?oldid=946] undefined is not a function TypeError: undefined is not a function at TreeBuilder.resetState (/usr/lib/parsoid/src/lib/mediawiki.HTML5TreeBuilder.node.js:61:17) at new TreeBuilder (/usr/lib/parsoid/src/lib/mediawiki.HTML5TreeBuilder.node.js:28:7) at ParserPipelineFactory.makePipeline (/usr/lib/parsoid/src/lib/mediawiki.parser.js:231:17) at ParserPipelineFactory.makePipeline (/usr/lib/parsoid/src/lib/mediawiki.parser.js:227:17) at ParserPipelineFactory.getPipeline (/usr/lib/parsoid/src/lib/mediawiki.parser.js:363:15) at ParserPipelineFactory.parse (/usr/lib/parsoid/src/lib/mediawiki.parser.js:311:20) at /usr/lib/parsoid/node_modules/prfun/lib/index.js:436:24 at new Promise (/usr/lib/parsoid/src/node_modules/es6-shim/es6-shim.js:1228:11) at /usr/lib/parsoid/node_modules/prfun/lib/index.js:419:14 at /usr/lib/parsoid/src/api/routes.js:152:62 The error presented to editors is: Error loading data from server: parsoidserver-http-bad-status: 500. Would you like to retry? I have reverted to the old version of parsoid to get around this issue: apt-get install parsoid=0.1.12 There are some more details on this ticket https://trac.transitionnetwork.org/trac/ticket/799
This sounds like it's caused by the silently-breaking-change made by one of the upstream npm modules – Parsoid team, could you advise?
Yes, looks to me like a conflict with the html5 library. I don't know much about our Debian packaging though.
gwicke: Any clue about the published debian package? Is this just a matter of updating the debian package?