aquatone
aquatone copied to clipboard
Error: signal: trace/breakpoint trap
Hei, maybe someone can help. Aquatone doesn't take any screenshots, and i get the following errors:
[agent:url_screenshotter] Error: signal: trace/breakpoint trap
http://x.x.x.x/: screenshot failed: signal: trace/breakpoint trap
I'm using aquatone_linux_arm64_1.7.0.zip
on a raspberry pie 3, and chromium browser (sudo apt install -y chromium-browser
)
Report output:
Calculating page structures... done
Clustering similar pages... done
Generating HTML report... done
Writing session file...Time:
- Started at : 2019-07-13T10:33:19+01:00
- Finished at : 2019-07-13T10:33:51+01:00
- Duration : 32s
Requests:
- Successful : 15
- Failed : 1
- 2xx : 13
- 3xx : 0
- 4xx : 2
- 5xx : 0
Screenshots:
- Successful : 0
- Failed : 15
Wrote HTML report to: xaa/aquatone_report.html
Got the same issue
It turns out that there is a missing parameter for starting Chrome browser: --disable-features=VizDisplayCompositor
I run the screenshot command manually with that extra parameter, and now the error is gone and the screenshot is made. I found this on: https://github.com/puppeteer/puppeteer/issues/3774#issuecomment-480210268
So adding that to the lines at: https://github.com/michenriksen/aquatone/blob/master/agents/url_screenshotter.go#L129 should make it all work.
At least for running it on a Raspberry pi
great, can you make a pull request to be fixed in the future releases
Done, but there are more pull requests waiting... so lets see how fast this goes
So, how would you fix that?
if you installed chromium with snap, try uninstalling snap and wiping everything. then restart, then install snap and chromium again. this way works for me. ubuntu server 18
hi @theyosh, I am facing this problem! Any temporary solution?
Sorry, I stopped using this software. And it looks like this is abandoned by the author... So I can't help
Sorry, I stopped using this software. And it looks like this is abandoned by the author... So I can't help
Well, I actually fixed this in my repo: https://github.com/shelld3v/aquatone. I implemented a lot of features too