Skip to content

Getting Failed after max attempts: CaptureFailedError: returncode=1 using example code #165

@erush-co

Description

@erush-co

srvr_log.txt
Hi there,

When I run this code from the readme

:

./run_url_pair_diff.sh
--upload_build_id=1
http://www.google.com
http://www.yahoo.com

I get the following output:

Creating release 2016-01-11 23:03:39.454854
Requesting captures
Marking runs as complete
Results viewable at: http://localhost:5000/release?number=1&name=2016-01-11+23%3A03%3A39.454854&id=1

Which looks good, but when I go to the link, it says:

Failed after max attempts: CaptureFailedError: returncode=1

I've attached the server output I'm getting. I saw in another issue that the problem might be with phantomjs. All I can see in my server output relating to phantomjs is this:

INFO process_worker.py:62] item=dpxdt.client.capture_worker.CaptureWorkflow({parent: dpxdt.client.capture_worker.DoCaptureQueueWorkflow#140595217617232, config_path: '/tmp/tmpUr370p/config.json', args: ('/tmp/tmpUr370p/log.txt',), interrupted: False, output_path: '/tmp/tmpUr370p/capture.png', kwargs: {tim eout_seconds: 20}})#140594949868624 Running subprocess: ['phantomjs', '--disk-cache=false', '--debug=true', '--ignore-ssl-errors=true', '--ssl-protocol=T LSv1', '/home/cfmcuser/dpxdt/dpxdt/client/capture.js', '/tmp/tmpUr370p/config.json', '/tmp/tmpUr370p/capture.png']

If I do a 'which phantomjs' on my machine I get this:

/usr/local/bin/phantomjs

Any idea what I may be running into here? Thanks in advance for any help. Looking forward to learning this tool as it seems very useful!

Ed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions