Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phantomas: (254) Failed to parse JSON with the results #714

Open
mohit0749 opened this issue Dec 4, 2017 · 0 comments
Open

phantomas: (254) Failed to parse JSON with the results #714

mohit0749 opened this issue Dec 4, 2017 · 0 comments

Comments

@mohit0749
Copy link

when i run phantomas https://www.whitehouse.gov/ -v

11:42:24.315 phantomas v1.19.0: /usr/lib/node_modules/phantomas/
11:42:24.316 Options: {"format":"plain","R":"plain","reporter":"plain","timeout":15,"ssl-protocol":"any","debug":"false","silent":false,"progress":false,"page-source":false,"film-strip":false,"colors":false,"analyze-css":false,"stop-at-onload":false,"spy-eval":false,"scroll":false,"no-externals":false,"disable-js":false,"v":true,"verbose":true,"h":false,"help":false,"V":false,"version":false,"url":"https://www.whitehouse.gov/","user-agent":"phantomas/1.19.0 (PhantomJS/2.1.1; linux x64)"}
11:42:24.317 Loading: core modules...
11:42:24.317 Core module navigationTiming v1.0 initialized
11:42:24.321 Core module requestsMonitor v1.2 initialized
11:42:24.322 Core module timeToFirstByte v1.1 initialized
11:42:24.322 Loading: extensions...
11:42:24.322 Getting the list of all modules in /usr/lib/node_modules/phantomas/extensions...
11:42:24.323 Module cookies v1.2 initialized
11:42:24.324 Devices: no profile selected (available: phone, tablet)
11:42:24.324 Module devices v0.1 initialized
11:42:24.325 filmStrip: to enable screenshots of page being loaded run phantomas with --film-strip option
11:42:24.325 Module filmStrip v0.3 initialized
11:42:24.325 HAR: no path specified, use --har <path>
11:42:24.325 Module har v0.1 initialized
11:42:24.326 Module httpAuth v1.0 initialized
11:42:24.326 To enable page-source of page being loaded run phantomas with --page-source option
11:42:24.326 Module pageSource v0.1 initialized
11:42:24.327 Module postLoadDelay v0.1 initialized
11:42:24.327 Screenshot: to enable screenshot of the fully loaded page run phantomas with --screenshot option
11:42:24.327 Module screenshot v0.2 initialized
11:42:24.328 Scroll: pass --scroll option to scroll down the page when it's loaded
11:42:24.328 Module scroll v0.1 initialized
11:42:24.328 Module waitForEvent v0.1 initialized
11:42:24.329 Module waitForSelector v0.2 initialized
11:42:24.329 Loading: modules...
11:42:24.329 Getting the list of all modules in /usr/lib/node_modules/phantomas/modules...
11:42:24.330 Module ajaxRequests v0.2 initialized
11:42:24.330 Module alerts v0.1 initialized
11:42:24.331 To enable CSS in-depth metrics please run phantomas with --analyze-css option
11:42:24.331 Module analyzeCss v0.6 initialized
11:42:24.332 Module assetsTypes v1.0 initialized
11:42:24.332 Module blockDomains v0.1 initialized
11:42:24.333 Module cacheHits v0.3 initialized
11:42:24.333 Module caching v0.2 initialized
11:42:24.334 Module console v0.2 initialized
11:42:24.334 Module cookies v0.3 initialized
11:42:24.335 Module documentHeight v0.1 initialized
11:42:24.335 Module domComplexity v1.0 initialized
11:42:24.336 Module domHiddenContent v1.0 initialized
11:42:24.336 Module domMutations v0.1 initialized
11:42:24.337 Module domQueries v1.0 initialized
11:42:24.338 Module domains v0.3 initialized
11:42:24.339 Module events v0.4 initialized
11:42:24.339 Module globalVariables v0.3 initialized
11:42:24.340 Module headers v0.1 initialized
11:42:24.340 Module jQuery v1.0 initialized
11:42:24.341 javaScriptBottlenecks: to spy calls to eval() run phantomas with --spy-eval option
11:42:24.341 Module javaScriptBottlenecks v0.2 initialized
11:42:24.341 Module jserrors v0.3 initialized
11:42:24.342 Module keepAlive v0.1 initialized
11:42:24.342 Module lazyLoadableImages v1.0 initialized
11:42:24.342 Module localStorage v1.0 initialized
11:42:24.343 Module mainRequest v0.1 initialized
11:42:24.343 Module redirects v0.1 initialized
11:42:24.344 Module repaints v0.1 initialized
11:42:24.345 Module requestsStats v0.3 initialized
11:42:24.345 Module requestsTo v1.0 initialized
11:42:24.346 Module staticAssets v0.5 initialized
11:42:24.346 Module timeToFirst v0.1 initialized
11:42:24.347 Module windowPerformance v1.0 initialized
11:42:24.347 Loading: 3rd party modules...
11:42:24.347 Opening <https://www.whitehouse.gov/>...
11:42:24.347 Using phantomas/1.19.0 (PhantomJS/2.1.1; linux x64) as user agent
11:42:24.347 Viewport set to 1366 x 768
11:42:24.348 Event pageBeforeOpen emitted
11:42:24.349 Event onResourceRequested emitted
11:42:24.350 Event beforeSend emitted
11:42:24.350 Block domains: assuming "www.whitehouse.gov" to be the main domain (from the first request sent)
11:42:24.350 req: <https://www.whitehouse.gov/>
11:42:24.350 Event send emitted
11:42:24.351 Event pageOpen emitted
11:42:24.351 Timeout set to 15 sec
11:42:24.351 Page loading started
11:42:24.351 Event loadStarted emitted
11:42:24.390 Event onResourceReceived emitted
11:42:24.390 Got a response with no status or URL set: <https://www.whitehouse.gov/> ({"contentType":null,"headers":[],"id":1,"redirectURL":null,"stage":"end","status":null,"statusText":null,"time":"2017-12-04T11:42:24.389Z","url":"https://www.whitehouse.gov/"})
11:42:24.390 Event abort emitted
11:42:24.391 recv: "start" stage not registered for <https://www.whitehouse.gov/>!
11:42:24.392 contentLength missing: {"url":"https://www.whitehouse.gov/"}
11:42:24.392 recv: HTTP 200 <https://www.whitehouse.gov/> [undefined]
11:42:24.392 Event recv emitted
11:42:24.393 Event metric emitted
11:42:24.393 Event metric emitted
11:42:24.393 Time to first byte: set to NaN ms for #1 request to <https://www.whitehouse.gov/> (HTTP 200)
11:42:24.393 Time to last byte: set to 40 ms
11:42:24.393 Event responseEnd emitted
11:42:24.393 Event metric emitted
11:42:24.393 Performance timing: responseEnd = 1512387744393
11:42:24.393 Event milestone emitted
11:42:24.395 Page loading finished ("fail")
11:42:24.395 Event loadFailed emitted
11:42:24.396 Exiting with code #254 (Page loading failed)!
11:42:24.396 Event exit emitted
phantomas: (254) Page loading failed
11:42:24.402 onInit: webpage.url is about:blank, ignoring
phantomas: (254) Failed to parse JSON with the results
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant