Advertisement
Guest User

Untitled

a guest
Aug 14th, 2013
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.75 KB | None | 0 0
  1. starting parsing of localhost:Main_Page
  2. {
  3. "0": "Retrieved Main_Page",
  4. "1": {
  5. "title": "Main_Page",
  6. "id": 1,
  7. "ns": 0,
  8. "revision": {
  9. "revid": 5,
  10. "parentid": 4,
  11. "user": "85.221.139.61",
  12. "anon": "",
  13. "userid": 0,
  14. "timestamp": "2013-08-13T22:49:20Z",
  15. "size": 8,
  16. "sha1": "e52e5e6cd50ef4de30d8a4fafbbfab41180cc200",
  17. "contentmodel": "wikitext",
  18. "comment": "",
  19. "contentformat": "text/x-wiki",
  20. "*": "Welcome!"
  21. }
  22. }
  23. }
  24. {
  25. "0": "AsyncTokenTransformManager.setFrame",
  26. "1": null,
  27. "2": []
  28. }
  29. {
  30. "0": "SyncTokenTransformManager.onChunk, input: ",
  31. "1": [
  32. "Welcome!"
  33. ]
  34. }
  35. {
  36. "0": "SyncTokenTransformManager.onChunk: emitting ",
  37. "1": [
  38. "Welcome!"
  39. ]
  40. }
  41. {
  42. "0": "maybeSyncReturn transforming",
  43. "1": "c-0",
  44. "2": {
  45. "tokens": [
  46. "Welcome!"
  47. ]
  48. }
  49. }
  50. {
  51. "0": "firstAccum",
  52. "1": "sync",
  53. "2": "c-0",
  54. "3": [
  55. "Welcome!"
  56. ]
  57. }
  58. {
  59. "0": "AsyncTokenTransformManager onChunk",
  60. "1": "sync",
  61. "2": [
  62. "Welcome!"
  63. ]
  64. }
  65. emitting
  66. {
  67. "0": "SyncTokenTransformManager.onChunk, input: ",
  68. "1": [
  69. "Welcome!"
  70. ]
  71. }
  72. ----------
  73. T:pre:any: sol : "Welcome!"
  74. saved: []
  75. ret : ["Welcome!"]
  76. T:p-wrap:any: "Welcome!"
  77. p-wrap:NL-count: 0
  78. p-wrap:RET: []
  79. {
  80. "0": "SyncTokenTransformManager.onChunk: emitting ",
  81. "1": []
  82. }
  83. {
  84. "0": "SyncTokenTransformManager.onChunk, input: ",
  85. "1": [
  86. {
  87. "type": "EOFTk"
  88. }
  89. ]
  90. }
  91. {
  92. "0": "SyncTokenTransformManager.onChunk: emitting ",
  93. "1": [
  94. {
  95. "type": "EOFTk"
  96. }
  97. ]
  98. }
  99. {
  100. "0": "maybeSyncReturn transforming",
  101. "1": "c-1",
  102. "2": {
  103. "tokens": [
  104. {
  105. "type": "EOFTk"
  106. }
  107. ]
  108. }
  109. }
  110. {
  111. "0": "firstAccum",
  112. "1": "sync",
  113. "2": "c-1",
  114. "3": [
  115. {
  116. "type": "EOFTk"
  117. }
  118. ]
  119. }
  120. {
  121. "0": "AsyncTokenTransformManager onChunk",
  122. "1": "sync",
  123. "2": [
  124. {
  125. "type": "EOFTk"
  126. }
  127. ]
  128. }
  129. emitting
  130. {
  131. "0": "SyncTokenTransformManager.onChunk, input: ",
  132. "1": [
  133. {
  134. "type": "EOFTk"
  135. }
  136. ]
  137. }
  138. T:list:end {"type":"EOFTk"}
  139. ----closing all lists----
  140. list:RET: [{"type":"EOFTk"}]
  141. T:p-wrap:any: {"type":"EOFTk"}
  142. T:p-wrap:NL: {"type":"EOFTk"}
  143. p-wrap:NL-count: 0
  144. {
  145. "0": "SyncTokenTransformManager.onChunk: emitting ",
  146. "1": [
  147. {
  148. "type": "TagTk",
  149. "name": "p",
  150. "attribs": [],
  151. "dataAttribs": {}
  152. },
  153. "Welcome!",
  154. {
  155. "type": "EndTagTk",
  156. "name": "p",
  157. "attribs": [],
  158. "dataAttribs": {}
  159. },
  160. {
  161. "type": "EOFTk"
  162. }
  163. ]
  164. }
  165. ---- <chunk> ----
  166. chunk: [
  167. {
  168. "type": "TagTk",
  169. "name": "p",
  170. "attribs": [],
  171. "dataAttribs": {}
  172. },
  173. "Welcome!",
  174. {
  175. "type": "EndTagTk",
  176. "name": "p",
  177. "attribs": [],
  178. "dataAttribs": {}
  179. },
  180. {
  181. "type": "EOFTk"
  182. }
  183. ]
  184. T:html: {"type":"TagTk","name":"p","attribs":[],"dataAttribs":{"tagId":1}}
  185. inserting shadow meta for p
  186. T:html: "Welcome!"
  187. T:html: {"type":"EndTagTk","name":"p","attribs":[],"dataAttribs":{}}
  188. inserting shadow meta for p
  189. T:html: "Welcome!"
  190. T:html: {"type":"EndTagTk","name":"p","attribs":[],"dataAttribs":{}}
  191. inserting shadow meta for p
  192. T:html: {"type":"EOFTk"}
  193. ---- </chunk> ----
  194. {
  195. "0": "AsyncTokenTransformManager.onEndEvent: synchronous done",
  196. "1": null
  197. }
  198. ---- DOM: after tree builder ----
  199. <html><head></head><body data-parsoid="{}"><meta typeof="mw:StartTag" data-stag="body:undefined"><p data-parsoid="{&quot;tagId&quot;:1}"><meta typeof="mw:StartTag" data-stag="p:1">$
  200. --------------------------------
  201. ------ DOM: pre-DSR -------
  202. <head></head><body data-parsoid="{}"><p data-parsoid="{&quot;tagId&quot;:1}">Welcome!</p></body>
  203. ----------------------------
  204. ------ DOM: post-DSR -------
  205. <head></head><body data-parsoid="{&quot;dsr&quot;:[0,8,0,0]}"><p data-parsoid="{&quot;tagId&quot;:1,&quot;dsr&quot;:[0,8,0,0]}">Welcome!</p></body>
  206. ----------------------------
  207. ------ DOM: pre-encapsulation -------
  208. <head></head><body data-parsoid="{&quot;dsr&quot;:[0,8,0,0]}"><p data-parsoid="{&quot;tagId&quot;:1,&quot;dsr&quot;:[0,8,0,0]}">Welcome!</p></body>
  209. ----------------------------
  210. ------ DOM: post-encapsulation -------
  211. <head></head><body data-parsoid="{&quot;dsr&quot;:[0,8,0,0]}"><p data-parsoid="{&quot;tagId&quot;:1,&quot;dsr&quot;:[0,8,0,0]}">Welcome!</p></body>
  212. ----------------------------
  213. completed parsing of localhost:Main_Page in 1290 ms
  214. T:html: {"type":"TagTk","name":"body","attribs":[],"dataAttribs":{}}
  215. inserting shadow meta for body
  216. { domain: null,
  217. _events: null,
  218. _maxListeners: 10,
  219. socket:
  220. { domain: null,
  221. _events:
  222. { drain: [Function: ondrain],
  223. timeout: [Object],
  224. error: [Function],
  225. close: [Object] },
  226. _maxListeners: 10,
  227. _handle:
  228. { writeQueueSize: 0,
  229. owner: [Circular],
  230. onread: [Function: onread] },
  231. _pendingWriteReqs: 0,
  232. _flags: 0,
  233. _connectQueueSize: 0,
  234. destroyed: false,
  235. errorEmitted: false,
  236. bytesRead: 1470,
  237. _bytesDispatched: 0,
  238. allowHalfOpen: true,
  239. writable: true,
  240. readable: true,
  241. server:
  242. { stack: [Object],
  243. domain: null,
  244. _events: [Object],
  245. _maxListeners: 10,
  246. _connections: 1,
  247. connections: [Getter/Setter],
  248. allowHalfOpen: true,
  249. _handle: [Object],
  250. httpAllowHalfOpen: false,
  251. cache: {},
  252. settings: [Object],
  253. redirects: {},
  254. isCallbacks: {},
  255. _locals: [Object],
  256. dynamicViewHelpers: {},
  257. errorHandlers: [],
  258. route: '/',
  259. routes: [Object],
  260. router: [Getter],
  261. __usedRouter: true,
  262. _connectionKey: '4:0.0.0.0:8000' },
  263. _idleTimeout: 120000,
  264. _idleNext:
  265. { _idleNext: [Circular],
  266. _idlePrev: [Circular],
  267. ontimeout: [Function] },
  268. _idlePrev:
  269. { _idleNext: [Circular],
  270. _idlePrev: [Circular],
  271. ontimeout: [Function] },
  272. _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
  273. parser:
  274. { _headers: [],
  275. _url: '',
  276. onHeaders: [Function: parserOnHeaders],
  277. onHeadersComplete: [Function: parserOnHeadersComplete],
  278. onBody: [Function: parserOnBody],
  279. onMessageComplete: [Function: parserOnMessageComplete],
  280. socket: [Circular],
  281. incoming: [Circular],
  282. maxHeaderPairs: 2000,
  283. onIncoming: [Function] },
  284. ondata: [Function],
  285. onend: [Function],
  286. _httpMessage:
  287. { domain: null,
  288. _events: [Object],
  289. _maxListeners: 10,
  290. output: [],
  291. outputEncodings: [],
  292. writable: true,
  293. _last: false,
  294. chunkedEncoding: false,
  295. shouldKeepAlive: false,
  296. useChunkedEncodingByDefault: false,
  297. sendDate: true,
  298. _hasBody: true,
  299. _trailer: '',
  300. finished: false,
  301. _hangupClose: false,
  302. socket: [Circular],
  303. connection: [Circular],
  304. _headers: [Object],
  305. _headerNames: [Object],
  306. app: [Object],
  307. req: [Circular] },
  308. _paused: false },
  309. connection:
  310. { domain: null,
  311. _events:
  312. { drain: [Function: ondrain],
  313. timeout: [Object],
  314. error: [Function],
  315. close: [Object] },
  316. _maxListeners: 10,
  317. _handle:
  318. { writeQueueSize: 0,
  319. owner: [Circular],
  320. onread: [Function: onread] },
  321. _pendingWriteReqs: 0,
  322. _flags: 0,
  323. _connectQueueSize: 0,
  324. destroyed: false,
  325. errorEmitted: false,
  326. bytesRead: 1470,
  327. _bytesDispatched: 0,
  328. allowHalfOpen: true,
  329. writable: true,
  330. readable: true,
  331. server:
  332. { stack: [Object],
  333. domain: null,
  334. _events: [Object],
  335. _maxListeners: 10,
  336. _connections: 1,
  337. connections: [Getter/Setter],
  338. allowHalfOpen: true,
  339. _handle: [Object],
  340. httpAllowHalfOpen: false,
  341. cache: {},
  342. settings: [Object],
  343. redirects: {},
  344. isCallbacks: {},
  345. _locals: [Object],
  346. dynamicViewHelpers: {},
  347. errorHandlers: [],
  348. route: '/',
  349. routes: [Object],
  350. router: [Getter],
  351. __usedRouter: true,
  352. _connectionKey: '4:0.0.0.0:8000' },
  353. _idleTimeout: 120000,
  354. _idleNext:
  355. { _idleNext: [Circular],
  356. _idlePrev: [Circular],
  357. ontimeout: [Function] },
  358. _idlePrev:
  359. { _idleNext: [Circular],
  360. _idlePrev: [Circular],
  361. ontimeout: [Function] },
  362. _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
  363. parser:
  364. { _headers: [],
  365. _url: '',
  366. onHeaders: [Function: parserOnHeaders],
  367. onHeadersComplete: [Function: parserOnHeadersComplete],
  368. onBody: [Function: parserOnBody],
  369. onMessageComplete: [Function: parserOnMessageComplete],
  370. socket: [Circular],
  371. incoming: [Circular],
  372. maxHeaderPairs: 2000,
  373. onIncoming: [Function] },
  374. ondata: [Function],
  375. onend: [Function],
  376. _httpMessage:
  377. { domain: null,
  378. _events: [Object],
  379. _maxListeners: 10,
  380. output: [],
  381. outputEncodings: [],
  382. writable: true,
  383. _last: false,
  384. chunkedEncoding: false,
  385. shouldKeepAlive: false,
  386. useChunkedEncodingByDefault: false,
  387. sendDate: true,
  388. _hasBody: true,
  389. _trailer: '',
  390. finished: false,
  391. _hangupClose: false,
  392. socket: [Circular],
  393. connection: [Circular],
  394. _headers: [Object],
  395. _headerNames: [Object],
  396. app: [Object],
  397. req: [Circular] },
  398. _paused: false },
  399. httpVersion: '1.0',
  400. complete: true,
  401. headers:
  402. { host: 'wikineering.org:8000',
  403. accept: '*/*',
  404. 'accept-encoding': 'deflate, gzip',
  405. referer: 'http://wikineering.org/index.php/API',
  406. 'user-agent': 'MediaWiki/1.22alpha',
  407. 'content-length': '1171',
  408. 'content-type': 'multipart/form-data; boundary=----------------------------8b770eeb40d5' },
  409. trailers: {},
  410. readable: false,
  411. _paused: false,
  412. _pendings: [],
  413. _endEmitted: true,
  414. url: '/localhost/Main_Page',
  415. method: 'POST',
  416. statusCode: null,
  417. client:
  418. { domain: null,
  419. _events:
  420. { drain: [Function: ondrain],
  421. timeout: [Object],
  422. error: [Function],
  423. close: [Object] },
  424. _maxListeners: 10,
  425. _handle:
  426. { writeQueueSize: 0,
  427. owner: [Circular],
  428. onread: [Function: onread] },
  429. _pendingWriteReqs: 0,
  430. _flags: 0,
  431. _connectQueueSize: 0,
  432. destroyed: false,
  433. errorEmitted: false,
  434. bytesRead: 1470,
  435. _bytesDispatched: 0,
  436. allowHalfOpen: true,
  437. writable: true,
  438. readable: true,
  439. server:
  440. { stack: [Object],
  441. domain: null,
  442. _events: [Object],
  443. _maxListeners: 10,
  444. _connections: 1,
  445. connections: [Getter/Setter],
  446. allowHalfOpen: true,
  447. _handle: [Object],
  448. httpAllowHalfOpen: false,
  449. cache: {},
  450. settings: [Object],
  451. redirects: {},
  452. isCallbacks: {},
  453. _locals: [Object],
  454. dynamicViewHelpers: {},
  455. errorHandlers: [],
  456. route: '/',
  457. routes: [Object],
  458. router: [Getter],
  459. __usedRouter: true,
  460. _connectionKey: '4:0.0.0.0:8000' },
  461. _idleTimeout: 120000,
  462. _idleNext:
  463. { _idleNext: [Circular],
  464. _idlePrev: [Circular],
  465. ontimeout: [Function] },
  466. _idlePrev:
  467. { _idleNext: [Circular],
  468. _idlePrev: [Circular],
  469. ontimeout: [Function] },
  470. _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
  471. parser:
  472. { _headers: [],
  473. _url: '',
  474. onHeaders: [Function: parserOnHeaders],
  475. onHeadersComplete: [Function: parserOnHeadersComplete],
  476. onBody: [Function: parserOnBody],
  477. onMessageComplete: [Function: parserOnMessageComplete],
  478. socket: [Circular],
  479. incoming: [Circular],
  480. maxHeaderPairs: 2000,
  481. onIncoming: [Function] },
  482. ondata: [Function],
  483. onend: [Function],
  484. _httpMessage:
  485. { domain: null,
  486. _events: [Object],
  487. _maxListeners: 10,
  488. output: [],
  489. outputEncodings: [],
  490. writable: true,
  491. _last: false,
  492. chunkedEncoding: false,
  493. shouldKeepAlive: false,
  494. useChunkedEncodingByDefault: false,
  495. sendDate: true,
  496. _hasBody: true,
  497. _trailer: '',
  498. finished: false,
  499. _hangupClose: false,
  500. socket: [Circular],
  501. connection: [Circular],
  502. _headers: [Object],
  503. _headerNames: [Object],
  504. app: [Object],
  505. req: [Circular] },
  506. _paused: false },
  507. httpVersionMajor: 1,
  508. httpVersionMinor: 0,
  509. upgrade: false,
  510. originalUrl: '/localhost/Main_Page',
  511. query: {},
  512. app:
  513. { stack: [ [Object], [Object], [Object], [Object], [Object] ],
  514. domain: null,
  515. _events:
  516. { request: [Function],
  517. connection: [Function: connectionListener],
  518. listening: [Object] },
  519. _maxListeners: 10,
  520. _connections: 1,
  521. connections: [Getter/Setter],
  522. allowHalfOpen: true,
  523. _handle:
  524. { writeQueueSize: 0,
  525. onconnection: [Function: onconnection],
  526. owner: [Circular] },
  527. httpAllowHalfOpen: false,
  528. cache: {},
  529. settings: { env: 'development', hints: true },
  530. redirects: {},
  531. isCallbacks: {},
  532. _locals: { settings: [Object], app: [Circular] },
  533. dynamicViewHelpers: {},
  534. errorHandlers: [],
  535. route: '/',
  536. routes:
  537. { app: [Circular],
  538. routes: [Object],
  539. params: {},
  540. _params: [],
  541. middleware: [Function] },
  542. router: [Getter],
  543. __usedRouter: true,
  544. _connectionKey: '4:0.0.0.0:8000' },
  545. res:
  546. { domain: null,
  547. _events: { finish: [Function] },
  548. _maxListeners: 10,
  549. output: [],
  550. outputEncodings: [],
  551. writable: true,
  552. _last: false,
  553. chunkedEncoding: false,
  554. shouldKeepAlive: false,
  555. useChunkedEncodingByDefault: false,
  556. sendDate: true,
  557. _hasBody: true,
  558. _trailer: '',
  559. finished: false,
  560. _hangupClose: false,
  561. socket:
  562. { domain: null,
  563. _events: [Object],
  564. _maxListeners: 10,
  565. _handle: [Object],
  566. _pendingWriteReqs: 0,
  567. _flags: 0,
  568. _connectQueueSize: 0,
  569. destroyed: false,
  570. errorEmitted: false,
  571. bytesRead: 1470,
  572. _bytesDispatched: 0,
  573. allowHalfOpen: true,
  574. writable: true,
  575. readable: true,
  576. server: [Object],
  577. _idleTimeout: 120000,
  578. _idleNext: [Object],
  579. _idlePrev: [Object],
  580. _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
  581. parser: [Object],
  582. ondata: [Function],
  583. onend: [Function],
  584. _httpMessage: [Circular],
  585. _paused: false },
  586. connection:
  587. { domain: null,
  588. _events: [Object],
  589. _maxListeners: 10,
  590. _handle: [Object],
  591. _pendingWriteReqs: 0,
  592. _flags: 0,
  593. _connectQueueSize: 0,
  594. destroyed: false,
  595. errorEmitted: false,
  596. bytesRead: 1470,
  597. _bytesDispatched: 0,
  598. allowHalfOpen: true,
  599. writable: true,
  600. readable: true,
  601. server: [Object],
  602. _idleTimeout: 120000,
  603. _idleNext: [Object],
  604. _idlePrev: [Object],
  605. _idleStart: Wed Aug 14 2013 11:04:32 GMT+0000 (UTC),
  606. parser: [Object],
  607. ondata: [Function],
  608. onend: [Function],
  609. _httpMessage: [Circular],
  610. _paused: false },
  611. _headers: { 'x-powered-by': 'Express' },
  612. _headerNames: { 'x-powered-by': 'X-Powered-By' },
  613. app:
  614. { stack: [Object],
  615. domain: null,
  616. _events: [Object],
  617. _maxListeners: 10,
  618. _connections: 1,
  619. connections: [Getter/Setter],
  620. allowHalfOpen: true,
  621. _handle: [Object],
  622. httpAllowHalfOpen: false,
  623. cache: {},
  624. settings: [Object],
  625. redirects: {},
  626. isCallbacks: {},
  627. _locals: [Object],
  628. dynamicViewHelpers: {},
  629. errorHandlers: [],
  630. route: '/',
  631. routes: [Object],
  632. router: [Getter],
  633. __usedRouter: true,
  634. _connectionKey: '4:0.0.0.0:8000' },
  635. req: [Circular] },
  636. next: [Function: next],
  637. _route_index: 4,
  638. route:
  639. { path: //(en|enwiki|enwikivoyage|enwikibooks|enwikiquote|de|dewiki|dewikivoyage|dewikibooks|dewikiquote|fr|frwiki|frwikivoyage|frwikibooks|frwikiquote|nl|nlwiki|nlwikivoyage|nl$
  640. method: 'post',
  641. callbacks: [ [Function] ],
  642. keys: [],
  643. regexp: //(en|enwiki|enwikivoyage|enwikibooks|enwikiquote|de|dewiki|dewikivoyage|dewikibooks|dewikiquote|fr|frwiki|frwikivoyage|frwikibooks|frwikiquote|nl|nlwiki|nlwikivoyage|$
  644. params: [ 'localhost', 'Main_Page' ] },
  645. params: [ 'localhost', 'Main_Page' ] }
  646.  
  647. /opt/bitnami/apache2/htdocs/extensions/Parsoid/js/api/ParserService.js:636
  648. var doc, oldid = req.body.oldid || null;
  649. ^
  650. TypeError: Cannot read property 'oldid' of undefined
  651. at app.post.cb (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/api/ParserService.js:636:28)
  652. at getParserServiceEnv (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/api/ParserService.js:376:4)
  653. at MWParserEnvironment.getParserEnv (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/lib/mediawiki.parser.environment.js:279:3)
  654. at setupWikiConfig (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/lib/mediawiki.parser.environment.js:299:3)
  655. at ApiRequest._processListeners.processSome (/opt/bitnami/apache2/htdocs/extensions/Parsoid/js/lib/mediawiki.ApiRequest.js:102:17)
  656. at process.startup.processNextTick.process._tickCallback (node.js:245:9)
  657. worker 14064 died (1), restarting.
  658. - worker(14094) loading...
  659. - worker(14094) ready
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement