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

error on windows with Inkscape 1.2.1 #88

Open
catafest opened this issue Apr 11, 2023 · 1 comment
Open

error on windows with Inkscape 1.2.1 #88

catafest opened this issue Apr 11, 2023 · 1 comment

Comments

@catafest
Copy link

Inkscape version:
Inkscape 1.2.1 (9c6d41e410, 2022-07-14)

I got this error:

usage: simple_inkscape_scripting.py [-h] [--output OUTPUT] [--id IDS] [--selected-nodes SELECTED_NODES] [INPUT_FILE] simple_inkscape_scripting.py: error: argument INPUT_FILE: File not found: --program=for i in range(100):\n x, y = uniform(0, canvas.width), uniform(0, canvas.height)\n rect((-5, -5), (5, 5),\n transform='translate(%g, %g) scale(0.75, 1) rotate(45)' % (x, y),\n fill='#%02x%02x%02x' % (randrange(256), randrange(256), randrange(256)))

@spakin
Copy link
Owner

spakin commented Apr 12, 2023

I have a few questions for you in hopes of shedding more light on the problem:

  • How did you provide the script to Simple Inkscape Scripting (GUI or command line)?
  • If the GUI, did you provide the script via a file or direct code?
  • If the command line, what was the exact command line you used?

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