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

       Web browser: ---
            Bug ID: 45994
           Summary: Incompatible with Node 0.10
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: JS/General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

As documented at http://blog.nodejs.org/2013/03/11/node-v0-10-0-stable/ and
http://blog.nodejs.org/2012/12/20/streams2/ the new stable version of node
changes the streams API.  As noted there, "Old programs will almost always work
without modification, but streams start out in a paused state, and need to be
read from to be consumed. WARNING: If you never add a 'data' event handler, or
call resume(), then it'll sit in a paused state forever and never emit 'end'."

That matches the behavior I saw when I tested parsoid with a node 0.9
prerelease -- node api/server.js appeared to "hang" without ever doing
anything.  I didn't do any digging to find out which part was failing; it could
well be one of our npm dependencies which needs to be updated.

As discussed in bug 45993, it appears that a monkey-patch we're doing to domino
also stops working in node 0.10.  I'm hoping we get an new upstream release of
domino to fix that.

There may be other issues with node 0.10...

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

Reply via email to