watchdog
watchdog copied to clipboard
run.py gives me the following errors
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):'
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.