I have done the solution given by @putsi but it didn't worked. It is still giving me the same error
code : xvfb-run python webscreenshot.py -i file.txt -o ~/dir/dir/result.txt -w 20 -a "X-FORWARDED-FOR: 127.0.0.1"
Locate the Shell command to be executed string in the output
Copy the executed command, try it in another terminal window and debug the renderer error
For PhantomJS, the --debug=true option will give you detailed messages
I have done the solution given by @putsi but it didn't worked. It is still giving me the same error code : xvfb-run python webscreenshot.py -i file.txt -o ~/dir/dir/result.txt -w 20 -a "X-FORWARDED-FOR: 127.0.0.1"
so what should i do now?