28 Jun
2012
28 Jun
'12
8:29 p.m.
Hi everybody,
After calling an Inkscape extension which generates output on stderr, a little info box pops up that says:
"Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected."
That's all fine, but how do you actually return an error code from a script? I tried "sys.exit(1)", but that didn't work.
Is there an example script shipped with Inkscape that returns an error?
Many thanks for an answer, Gerrit