Open animalmatsuzawa opened 8 years ago
can you add some steps to reproduce this exception? How are you making request to Splash? Is it happening when crawling some specific website, or happens for all requests?
Thanks for your quick response @pawelmhm .
It occurs when you request the "http://skunksworkedp2cg.onion.link/sites.html" in "splash:png{render_all=true}".
http://XXX.XXX.XXX.XXX:8050/info?wait=0.5&images=1&expand=1&timeout=60.0&url=http%3A%2F%2Fskunksworkedp2cg.onion.link%2Fsites.html&lua_source=function+main%28splash%29%0D%0A++local+url+%3D+splash.args.url%0D%0A++assert%28splash%3Ago%28url%29%29%0D%0A++assert%28splash%3Await%280.5%29%29%0D%0A++return+%7B%0D%0A++++html+%3D+splash%3Ahtml%28%29%2C%0D%0A++++png+%3D+splash%3Apng%7Brender_all%3Dtrue%7D%2C%0D%0A++++har+%3D+splash%3Ahar%28%29%2C%0D%0A++%7D%0D%0Aend
lua script
function main(splash)
local url = splash.args.url
assert(splash:go(url))
assert(splash:wait{time=1, cancel_on_redirect=false})
return {
html = splash:html(),
png = splash:png{render_all=true},
har = splash:har(),
}
end
Did you manage to solve your issue?
It made an error After PNG output at large web page.
server:AWS EC2 ubuntu14.04 LTS
Exception has occurred in the following.
pyqt5 is installed in the following.
Log