Created
November 20, 2018 19:28
-
-
Save danyill/018cbfb87b23da10f9290d0d01c9a0fe to your computer and use it in GitHub Desktop.
diagnosing1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '[[File:script_step2b.png|1200px]]' | bin/parse.js --trace apirequest | |
in/parse.js --trace apirequestsoid# echo '[[File:script_step2b.png|1200px]]' | bi | |
[ApiRequest] | #1 Starting HTTP request: {"method":"GET","followRedirect":true,"uri":"https://en.wikipedia.org/w/api.php","qs":{"format":"json","action":"query","meta":"siteinfo","siprop":"namespaces|namespacealiases|magicwords|functionhooks|extensiontags|general|interwikimap|languages|languagevariants|protocols|specialpagealiases|defaultoptions|variables","rawcontinue":1},"timeout":40000,"agent":{"_events":{},"_eventsCount":1,"defaultPort":443,"protocol":"https:","options":{"maxSockets":15,"connectTimeout":5000,"path":null},"requests":{},"sockets":{},"freeSockets":{},"keepAliveMsecs":1000,"keepAlive":false,"maxSockets":15,"maxFreeSockets":256,"maxCachedSessions":100,"_sessionCache":{"map":{},"list":[]}},"headers":{"X-Request-ID":null,"User-Agent":"Parsoid/0.9.0","Connection":"close"},"strictSSL":true} | |
[ApiRequest] | #1 Received HTTP 200, 134743 bytes | |
Error in ParsoidLogger._defaultTracerBackend: TypeError: Converting circular structure to JSON | |
[ApiRequest] | #2 Received HTTP 200, 9994 bytes | |
Error in ParsoidLogger._defaultTracerBackend: TypeError: Converting circular structure to JSON | |
[ApiRequest] | #3 Received HTTP 200, 446 bytes | |
<!DOCTYPE html> | |
<html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/"><head prefix="mwr: http://en.wikipedia.org/wiki/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageNamespace" content="0"/><meta property="isMainPage" content="true"/><meta property="mw:html:version" content="1.6.1"/><link rel="dc:isVersionOf" href="//en.wikipedia.org/wiki/Main%20Page"/><title></title><base href="//en.wikipedia.org/wiki/"/><link rel="stylesheet" href="//en.wikipedia.org/w/load.php?modules=mediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Cskins.vector.styles%7Csite.styles%7Cext.cite.style%7Cext.cite.styles%7Cmediawiki.page.gallery.styles&only=styles&skin=vector"/><!--[if lt IE 9]><script src="//en.wikipedia.org/w/load.php?modules=html5shiv&only=scripts&skin=vector&sync=1"></script><script>html5.addElements('figure-inline');</script><![endif]--></head><body data-parsoid='{"dsr":[0,34,0,0]}' lang="en" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><p data-parsoid='{"dsr":[0,33,0,0]}'><figure-inline typeof="mw:Error mw:Image" data-parsoid='{"optList":[{"ck":"width","ak":"1200px"}],"dsr":[0,33,null,null]}' data-mw='{"errors":[{"key":"apierror-filedoesnotexist","message":"This image does not exist."}]}'><a href="./File:Script_step2b.png" data-parsoid='{"a":{"href":"./File:Script_step2b.png"},"sa":{"href":"File:script_step2b.png"}}'><img resource="./File:Script_step2b.png" src="./Special:FilePath/Script_step2b.png" height="1200" width="1200" data-parsoid='{"a":{"resource":"./File:Script_step2b.png","height":"1200","width":"1200"},"sa":{"resource":"File:script_step2b.png"}}'/></a></figure-inline></p> | |
</body></html> | |
root@9f85ddc6532d:/var/lib/parsoid# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment