You are here

Error: ( : 1) open-input-file: needs 1 argument(s)

Hi,

I'm trying to use your plugin to turn a .jpg into an .svg, but I'm getting this error message no matter what I do with the checkbox options: Error: ( : 1) open-input-file: needs 1 argument(s).

I'm wondering if you could help me decipher this error.

Thanks!

Output File

It appears that the file chooser for "Output File" seems to be an input-file-chooser rather than an output-file-chooser -- it seems to let me select an existing file but not type a filename so I can create a new file.
Regard - Cipto Junaedy

?? Still don't get it...

I'm afraid I don't understand your response. The linked article explains that the open-input-file is a function like fopen() -- but doesn't say anything about how I use the svg-export output dialog to save my file. I just want to save an SVG icon I've edited, I don't want to write LISP code (or what looks like LISP)...

I've copied one of gnome's icons and made a simple edit in gimp 2.6. I select Script-Fu, Utils, SVG Export, and it opens a dialog prompting for "Output File", "Export only locked paths?", and "Load SVG file?". It appears that the file chooser for "Output File" seems to be an input-file-chooser rather than an output-file-chooser -- it seems to let me select an existing file but not type a filename so I can create a new file. When I do pick an existing file, I get the error from the question -- "needs 1 argument(s)". I only entered 1 filename -- what other argument(s) does it think it wants, or what extras does it have?

Thanks for helping a rookie...

http://registry.gimp.org/node/27580

I do not know why, but I can never seem to get this question/answer interface to work. See the following webpage for my answer (assuming you see this response).

http://registry.gimp.org/node/27580

Subscribe to Comments for "Error: ( : 1) open-input-file: needs 1 argument(s) "