I am using wkhtmltoimage and everything was going well until I ask it to do a screenshot of twitter and I got this weird error:
Loading page (1/2)
WARNING: Phonon needs QCoreApplication::applicationName to be set to export audio output names through the DBUS interface
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Rendering (2/2)
Done
Here is the command I used:
xvfb-run wkhtmltoimage --format png --quality 100 http://twitter.com/jnbdz twitter2.png
I am using Ubuntu 11, Apache2/PHP5 and Qt4.
I am not getting this error when I am trying to get a screenshot of Google or other websites.
When it works, I only get this: http://dl.dropbox.com/u/20599297/twitter3.png
Any ideas what could be causing this error?
UPDATE
I am getting a different error when trying to do a screenshot of yahoo.com:
xvfb-run wkhtmltoimage --format png --quality 100 http://yahoo.com/ yahoo1.png
Loading page (1/2)
Error: Failed loading page http://yahoo.com/ (sometimes it will work just to ignore this error with --load-error-handling ignore)
Error: Failed loading page http://yahoo.com/ (sometimes it will work just to ignore this error with --load-error-handling ignore)