我在让CutyCapt使用SSL URL时遇到了问题,我有最新版本的CutyCapt (CutyCapt.cpp 10 2013-07-14 21:57:37Z),当我试图使用以下命令获取一个带有SSL的URL时,它非常适合所有非SSL URL:
./xvfb-run ./CutyCapt --min-width=1280 --min-height=720 --max-wait=6000 \
--url="https://apple.com" --out="testssl.jpg"我得到以下错误:
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setBrush: Painter not active
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::end: Painter not active, aborted
./xvfb-run: line 171: kill: (6557) - No such process注意:当我在没有HTTPS的情况下运行它时,它运行得很好:
./xvfb-run ./CutyCapt --min-width=1280 --min-height=720 --max-wait=6000 \
--url="http://apple.com" --out="testssl.jpg"有什么建议吗?提前感谢!
发布于 2015-09-11 15:43:24
对任何像我这样的偶然发现的人来说。
安装Qt5 (您将需要它)。您将遇到几个包问题,只需搜索每个错误并修复它们(您将多次回到StackOverflow上)。
然后,安装最新的CutyCapt,并使用-不安全的参数运行它。这在Ubuntu14.04上对我起了作用。
https://stackoverflow.com/questions/27890019
复制相似问题