maaaaz / webscreenshot

A simple script to screenshot a list of websites
GNU Lesser General Public License v3.0
653 stars 162 forks source link

error code: 1 #29

Closed kd54726 closed 4 years ago

kd54726 commented 4 years ago

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?

maaaaz commented 4 years ago

Hello @kd54726:

  1. Add -vv option to your webscreenshot command
  2. Locate the Shell command to be executed string in the output
  3. 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

Cheers