Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run.py gives me the following errors #10

Open
snufas opened this issue Aug 9, 2018 · 1 comment
Open

run.py gives me the following errors #10

snufas opened this issue Aug 9, 2018 · 1 comment

Comments

@snufas
Copy link

snufas commented Aug 9, 2018

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):'

@harridu
Copy link

harridu commented Sep 1, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants