Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- starting parsing of localhost:Main_Page
- {
- "0": "Retrieved Main_Page",
- "1": {
- "title": "Main_Page",
- "id": 1,
- "ns": 0,
- "revision": {
- "revid": 5,
- "parentid": 4,
- "user": "85.221.139.61",
- "anon": "",
- "userid": 0,
- "timestamp": "2013-08-13T22:49:20Z",
- "size": 8,
- "sha1": "e52e5e6cd50ef4de30d8a4fafbbfab41180cc200",
- "contentmodel": "wikitext",
- "comment": "",
- "contentformat": "text/x-wiki",
- "*": "Welcome!"
- }
- }
- }
- {
- "0": "AsyncTokenTransformManager.setFrame",
- "1": null,
- "2": []
- }
- {
- "0": "SyncTokenTransformManager.onChunk, input: ",
- "1": [
- "Welcome!"
- ]
- }
- {
- "0": "SyncTokenTransformManager.onChunk: emitting ",
- "1": [
- "Welcome!"
- ]
- }
- {
- "0": "maybeSyncReturn transforming",
- "1": "c-0",
- "2": {
- "tokens": [
- "Welcome!"
- ]
- }
- }
- {
- "0": "firstAccum",
- "1": "sync",
- "2": "c-0",
- "3": [
- "Welcome!"
- ]
- }
- {
- "0": "AsyncTokenTransformManager onChunk",
- "1": "sync",
- "2": [
- "Welcome!"
- ]
- }
- emitting
- {
- "0": "SyncTokenTransformManager.onChunk, input: ",
- "1": [
- "Welcome!"
- ]
- }
- ----------
- T:pre:any: sol : "Welcome!"
- saved: []
- ret : ["Welcome!"]
- T:p-wrap:any: "Welcome!"
- p-wrap:NL-count: 0
- p-wrap:RET: []
- {
- "0": "SyncTokenTransformManager.onChunk: emitting ",
- "1": []
- }
- {
- "0": "SyncTokenTransformManager.onChunk, input: ",
- "1": [
- {
- "type": "EOFTk"
- }
- ]
- }
- {
- "0": "SyncTokenTransformManager.onChunk: emitting ",
- "1": [
- {
- "type": "EOFTk"
- }
- ]
- }
- {
- "0": "maybeSyncReturn transforming",
- "1": "c-1",
- "2": {
- "tokens": [
- {
- "type": "EOFTk"
- }
- ]
- }
- }
- {
- "0": "firstAccum",
- "1": "sync",
- "2": "c-1",
- "3": [
- {
- "type": "EOFTk"
- }
- ]
- }
- {
- "0": "AsyncTokenTransformManager onChunk",
- "1": "sync",
- "2": [
- {
- "type": "EOFTk"
- }
- ]
- }
- emitting
- {
- "0": "SyncTokenTransformManager.onChunk, input: ",
- "1": [
- {
- "type": "EOFTk"
- }
- ]
- }
- T:list:end {"type":"EOFTk"}
- ----closing all lists----
- list:RET: [{"type":"EOFTk"}]
- T:p-wrap:any: {"type":"EOFTk"}
- T:p-wrap:NL: {"type":"EOFTk"}
- p-wrap:NL-count: 0
- {
- "0": "SyncTokenTransformManager.onChunk: emitting ",
- "1": [
- {
- "type": "TagTk",
- "name": "p",
- "attribs": [],
- "dataAttribs": {}
- },
- "Welcome!",
- {
- "type": "EndTagTk",
- "name": "p",
- "attribs": [],
- "dataAttribs": {}
- },
- {
- "type": "EOFTk"
- }
- ]
- }
- ---- <chunk> ----
- chunk: [
- {
- "type": "TagTk",
- "name": "p",
- "attribs": [],
- "dataAttribs": {}
- },
- "Welcome!",
- {
- "type": "EndTagTk",
- "name": "p",
- "attribs": [],
- "dataAttribs": {}
- },
- {
- "type": "EOFTk"
- }
- ]
- T:html: {"type":"TagTk","name":"p","attribs":[],"dataAttribs":{"tagId":1}}
- inserting shadow meta for p
- T:html: "Welcome!"
- T:html: {"type":"EndTagTk","name":"p","attribs":[],"dataAttribs":{}}
- inserting shadow meta for p
- T:html: "Welcome!"
- T:html: {"type":"EndTagTk","name":"p","attribs":[],"dataAttribs":{}}
- inserting shadow meta for p
- T:html: {"type":"EOFTk"}
- ---- </chunk> ----
- {
- "0": "AsyncTokenTransformManager.onEndEvent: synchronous done",
- "1": null
- }
- ---- DOM: after tree builder ----
- <html><head></head><body data-parsoid="{}"><meta typeof="mw:StartTag" data-stag="body:undefined"><p data-parsoid="{"tagId":1}"><meta typeof="mw:StartTag" data-stag="p:1">$
- --------------------------------
- ------ DOM: pre-DSR -------
- <head></head><body data-parsoid="{}"><p data-parsoid="{"tagId":1}">Welcome!</p></body>
- ----------------------------
- ------ DOM: post-DSR -------
- <head></head><body data-parsoid="{"dsr":[0,8,0,0]}"><p data-parsoid="{"tagId":1,"dsr":[0,8,0,0]}">Welcome!</p></body>
- ----------------------------
- ------ DOM: pre-encapsulation -------
- <head></head><body data-parsoid="{"dsr":[0,8,0,0]}"><p data-parsoid="{"tagId":1,"dsr":[0,8,0,0]}">Welcome!</p></body>
- ----------------------------
- ------ DOM: post-encapsulation -------
- <head></head><body data-parsoid="{"dsr":[0,8,0,0]}"><p data-parsoid="{"tagId":1,"dsr":[0,8,0,0]}">Welcome!</p></body>
- ----------------------------
- completed parsing of localhost:Main_Page in 1290 ms
- T:html: {"type":"TagTk","name":"body","attribs":[],"dataAttribs":{}}
- inserting shadow meta for body
- { domain: null,
- _events: null,
- _maxListeners: 10,
- socket:
- { domain: null,
- _events:
- { drain: [Function: ondrain],
- timeout: [Object],
- error: [Function],
- close: [Object] },
- _maxListeners: 10,
- _handle:
- { writeQueueSize: 0,
- owner: [Circular],
- onread: [Function: onread] },
- _pendingWriteReqs: 0,
- _flags: 0,
- _connectQueueSize: 0,
- destroyed: false,
- errorEmitted: false,
- bytesRead: 1470,
- _bytesDispatched: 0,
- allowHalfOpen: true,
- writable: true,
- readable: true,
- server:
- { stack: [Object],
- domain: null,
- _events: [Object],
- _maxListeners: 10,
- _connections: 1,
- connections: [Getter/Setter],
- allowHalfOpen: true,
- _handle: [Object],
- httpAllowHalfOpen: false,
- cache: {},
- settings: [Object],
- redirects: {},
- isCallbacks: {},
- _locals: [Object],
- dynamicViewHelpers: {},
- errorHandlers: [],
- route: '/',
- routes: [Object],
- router: [Getter],
- __usedRouter: true,
- _connectionKey: '4:0.0.0.0:8000' },
- _idleTimeout: 120000,
- _idleNext:
- { _idleNext: [Circular],
- _idlePrev: [Circular],
- ontimeout: [Function] },
- _idlePrev:
- { _idleNext: [Circular],
- _idlePrev: [Circular],
- ontimeout: [Function] },
- _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
- parser:
- { _headers: [],
- _url: '',
- onHeaders: [Function: parserOnHeaders],
- onHeadersComplete: [Function: parserOnHeadersComplete],
- onBody: [Function: parserOnBody],
- onMessageComplete: [Function: parserOnMessageComplete],
- socket: [Circular],
- incoming: [Circular],
- maxHeaderPairs: 2000,
- onIncoming: [Function] },
- ondata: [Function],
- onend: [Function],
- _httpMessage:
- { domain: null,
- _events: [Object],
- _maxListeners: 10,
- output: [],
- outputEncodings: [],
- writable: true,
- _last: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: true,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _hangupClose: false,
- socket: [Circular],
- connection: [Circular],
- _headers: [Object],
- _headerNames: [Object],
- app: [Object],
- req: [Circular] },
- _paused: false },
- connection:
- { domain: null,
- _events:
- { drain: [Function: ondrain],
- timeout: [Object],
- error: [Function],
- close: [Object] },
- _maxListeners: 10,
- _handle:
- { writeQueueSize: 0,
- owner: [Circular],
- onread: [Function: onread] },
- _pendingWriteReqs: 0,
- _flags: 0,
- _connectQueueSize: 0,
- destroyed: false,
- errorEmitted: false,
- bytesRead: 1470,
- _bytesDispatched: 0,
- allowHalfOpen: true,
- writable: true,
- readable: true,
- server:
- { stack: [Object],
- domain: null,
- _events: [Object],
- _maxListeners: 10,
- _connections: 1,
- connections: [Getter/Setter],
- allowHalfOpen: true,
- _handle: [Object],
- httpAllowHalfOpen: false,
- cache: {},
- settings: [Object],
- redirects: {},
- isCallbacks: {},
- _locals: [Object],
- dynamicViewHelpers: {},
- errorHandlers: [],
- route: '/',
- routes: [Object],
- router: [Getter],
- __usedRouter: true,
- _connectionKey: '4:0.0.0.0:8000' },
- _idleTimeout: 120000,
- _idleNext:
- { _idleNext: [Circular],
- _idlePrev: [Circular],
- ontimeout: [Function] },
- _idlePrev:
- { _idleNext: [Circular],
- _idlePrev: [Circular],
- ontimeout: [Function] },
- _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
- parser:
- { _headers: [],
- _url: '',
- onHeaders: [Function: parserOnHeaders],
- onHeadersComplete: [Function: parserOnHeadersComplete],
- onBody: [Function: parserOnBody],
- onMessageComplete: [Function: parserOnMessageComplete],
- socket: [Circular],
- incoming: [Circular],
- maxHeaderPairs: 2000,
- onIncoming: [Function] },
- ondata: [Function],
- onend: [Function],
- _httpMessage:
- { domain: null,
- _events: [Object],
- _maxListeners: 10,
- output: [],
- outputEncodings: [],
- writable: true,
- _last: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: true,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _hangupClose: false,
- socket: [Circular],
- connection: [Circular],
- _headers: [Object],
- _headerNames: [Object],
- app: [Object],
- req: [Circular] },
- _paused: false },
- httpVersion: '1.0',
- complete: true,
- headers:
- { host: 'wikineering.org:8000',
- accept: '*/*',
- 'accept-encoding': 'deflate, gzip',
- referer: 'http://wikineering.org/index.php/API',
- 'user-agent': 'MediaWiki/1.22alpha',
- 'content-length': '1171',
- 'content-type': 'multipart/form-data; boundary=----------------------------8b770eeb40d5' },
- trailers: {},
- readable: false,
- _paused: false,
- _pendings: [],
- _endEmitted: true,
- url: '/localhost/Main_Page',
- method: 'POST',
- statusCode: null,
- client:
- { domain: null,
- _events:
- { drain: [Function: ondrain],
- timeout: [Object],
- error: [Function],
- close: [Object] },
- _maxListeners: 10,
- _handle:
- { writeQueueSize: 0,
- owner: [Circular],
- onread: [Function: onread] },
- _pendingWriteReqs: 0,
- _flags: 0,
- _connectQueueSize: 0,
- destroyed: false,
- errorEmitted: false,
- bytesRead: 1470,
- _bytesDispatched: 0,
- allowHalfOpen: true,
- writable: true,
- readable: true,
- server:
- { stack: [Object],
- domain: null,
- _events: [Object],
- _maxListeners: 10,
- _connections: 1,
- connections: [Getter/Setter],
- allowHalfOpen: true,
- _handle: [Object],
- httpAllowHalfOpen: false,
- cache: {},
- settings: [Object],
- redirects: {},
- isCallbacks: {},
- _locals: [Object],
- dynamicViewHelpers: {},
- errorHandlers: [],
- route: '/',
- routes: [Object],
- router: [Getter],
- __usedRouter: true,
- _connectionKey: '4:0.0.0.0:8000' },
- _idleTimeout: 120000,
- _idleNext:
- { _idleNext: [Circular],
- _idlePrev: [Circular],
- ontimeout: [Function] },
- _idlePrev:
- { _idleNext: [Circular],
- _idlePrev: [Circular],
- ontimeout: [Function] },
- _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
- parser:
- { _headers: [],
- _url: '',
- onHeaders: [Function: parserOnHeaders],
- onHeadersComplete: [Function: parserOnHeadersComplete],
- onBody: [Function: parserOnBody],
- onMessageComplete: [Function: parserOnMessageComplete],
- socket: [Circular],
- incoming: [Circular],
- maxHeaderPairs: 2000,
- onIncoming: [Function] },
- ondata: [Function],
- onend: [Function],
- _httpMessage:
- { domain: null,
- _events: [Object],
- _maxListeners: 10,
- output: [],
- outputEncodings: [],
- writable: true,
- _last: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: true,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _hangupClose: false,
- socket: [Circular],
- connection: [Circular],
- _headers: [Object],
- _headerNames: [Object],
- app: [Object],
- req: [Circular] },
- _paused: false },
- httpVersionMajor: 1,
- httpVersionMinor: 0,
- upgrade: false,
- originalUrl: '/localhost/Main_Page',
- query: {},
- app:
- { stack: [ [Object], [Object], [Object], [Object], [Object] ],
- domain: null,
- _events:
- { request: [Function],
- connection: [Function: connectionListener],
- listening: [Object] },
- _maxListeners: 10,
- _connections: 1,
- connections: [Getter/Setter],
- allowHalfOpen: true,
- _handle:
- { writeQueueSize: 0,
- onconnection: [Function: onconnection],
- owner: [Circular] },
- httpAllowHalfOpen: false,
- cache: {},
- settings: { env: 'development', hints: true },
- redirects: {},
- isCallbacks: {},
- _locals: { settings: [Object], app: [Circular] },
- dynamicViewHelpers: {},
- errorHandlers: [],
- route: '/',
- routes:
- { app: [Circular],
- routes: [Object],
- params: {},
- _params: [],
- middleware: [Function] },
- router: [Getter],
- __usedRouter: true,
- _connectionKey: '4:0.0.0.0:8000' },
- res:
- { domain: null,
- _events: { finish: [Function] },
- _maxListeners: 10,
- output: [],
- outputEncodings: [],
- writable: true,
- _last: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: true,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _hangupClose: false,
- socket:
- { domain: null,
- _events: [Object],
- _maxListeners: 10,
- _handle: [Object],
- _pendingWriteReqs: 0,
- _flags: 0,
- _connectQueueSize: 0,
- destroyed: false,
- errorEmitted: false,
- bytesRead: 1470,
- _bytesDispatched: 0,
- allowHalfOpen: true,
- writable: true,
- readable: true,
- server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
- parser: [Object],
- ondata: [Function],
- onend: [Function],
- _httpMessage: [Circular],
- _paused: false },
- connection:
- { domain: null,
- _events: [Object],
- _maxListeners: 10,
- _handle: [Object],
- _pendingWriteReqs: 0,
- _flags: 0,
- _connectQueueSize: 0,
- destroyed: false,
- errorEmitted: false,
- bytesRead: 1470,
- _bytesDispatched: 0,
- allowHalfOpen: true,
- writable: true,
- readable: true,
- server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
- parser: [Object],
- ondata: [Function],
- onend: [Function],
- _httpMessage: [Circular],
- _paused: false },
- _headers: { 'x-powered-by': 'Express' },
- _headerNames: { 'x-powered-by': 'X-Powered-By' },
- app:
- { stack: [Object],
- domain: null,
- _events: [Object],
- _maxListeners: 10,
- _connections: 1,
- connections: [Getter/Setter],
- allowHalfOpen: true,
- _handle: [Object],
- httpAllowHalfOpen: false,
- cache: {},
- settings: [Object],
- redirects: {},
- isCallbacks: {},
- _locals: [Object],
- dynamicViewHelpers: {},
- errorHandlers: [],
- route: '/',
- routes: [Object],
- router: [Getter],
- __usedRouter: true,
- _connectionKey: '4:0.0.0.0:8000' },
- req: [Circular] },
- next: [Function: next],
- _route_index: 4,
- route:
- { path: //(en|enwiki|enwikivoyage|enwikibooks|enwikiquote|de|dewiki|dewikivoyage|dewikibooks|dewikiquote|fr|frwiki|frwikivoyage|frwikibooks|frwikiquote|nl|nlwiki|nlwikivoyage|nl$
- method: 'post',
- callbacks: [ [Function] ],
- keys: [],
- regexp: //(en|enwiki|enwikivoyage|enwikibooks|enwikiquote|de|dewiki|dewikivoyage|dewikibooks|dewikiquote|fr|frwiki|frwikivoyage|frwikibooks|frwikiquote|nl|nlwiki|nlwikivoyage|$
- params: [ 'localhost', 'Main_Page' ] },
- params: [ 'localhost', 'Main_Page' ] }
- /opt/bitnami/apache2/htdocs/extensions/Parsoid/js/api/ParserService.js:636
- var doc, oldid = req.body.oldid || null;
- ^
- TypeError: Cannot read property 'oldid' of undefined
- at app.post.cb (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/api/ParserService.js:636:28)
- at getParserServiceEnv (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/api/ParserService.js:376:4)
- at MWParserEnvironment.getParserEnv (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/lib/mediawiki.parser.environment.js:279:3)
- at setupWikiConfig (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/lib/mediawiki.parser.environment.js:299:3)
- at ApiRequest._processListeners.processSome (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/lib/mediawiki.ApiRequest.js:102:17)
- at process.startup.processNextTick.process._tickCallback (node.js:245:9)
- worker 14064 died (1), restarting.
- - worker(14094) loading...
- - worker(14094) ready
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement