watchdog icon indicating copy to clipboard operation
watchdog copied to clipboard

run.py gives me the following errors

Open snufas opened this issue 5 years ago • 1 comments

import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/360. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/360. import-im6.q16: unable to open X server ' @ error/import.c/ImportImageCommand/360. from: too many arguments from: too many arguments from: too many arguments from: too many arguments ./run.py: line 9: syntax error near unexpected token (' ./run.py: line 9: `def main(argv):'

snufas avatar Aug 09 '18 16:08 snufas

Please make sure that the first line in run.py is something like #!/usr/bin/python or #!/usr/bin/env python. Without this line run.py is executed using /bin/sh or /bin/bash, giving you the "import" tool from imagemagick.

harridu avatar Sep 01 '19 08:09 harridu