spakin / SimpInkScr

Simple Inkscape Scripting
https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting
GNU General Public License v3.0
314 stars 31 forks source link

error on windows with Inkscape 1.2.1 #88

Open catafest opened 1 year ago

catafest commented 1 year ago

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 commented 1 year ago

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