Not working on server
dinandferro opened this issue · comments
dinandferro commented
Resolved. Thank you Interlack.
Andy Trofimov commented
You mean dedicated server without X server running? I would suggest you to take screenshot in that case by adding following line somewhere in the code
driver.save_screenshot(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'error_screenshot.png'))
Andy Trofimov commented
Seems like you don't have AVC codecs installed on your server, try install them with
sudo apt-get install ubuntu-restricted-extras
if you have ubuntu server installed or commonly
sudo apt-get install libavcodec58 libav-tools ffmpeg
dinandferro commented
Thank you very much! It worked with the first command.