1
我遇到一个问题让CutyCapt使用SSL URL,我有最新版本的CutyCapt(CutyCapt.cpp 10 2013-07-14 21:57:37Z
),它适用于所有非SSL网址,当我试图抓住一个URL使用SSL使用下面的命令:CutyCapt问题与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"
有什么建议吗?提前致谢!
嗯。只是用https尝试了一个不同的网址,并且它工作正常,为什么要抓取一些https网址而不是其他网址? – tangle
你能找到解决方案吗? –
你在使用什么操作系统以及你正在运行哪个版本的QT?我一直无法用相同的命令重现这些错误。从环顾这个问题看来,它可能与Webkit的实现有关。 – jeteon