https://bugzilla.wikimedia.org/show_bug.cgi?id=72304

            Bug ID: 72304
           Summary: Parsoid 0.1.15 generates 500 errors when editing pages
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to