export_icons icon indicating copy to clipboard operation
export_icons copied to clipboard

Returned empty folders without any error

Open noumantahir opened this issue 7 years ago • 4 comments

I am using this tool on mac using brew, tried to export logos, command ran successfully but returned empty folders

noumantahir avatar Feb 13 '18 13:02 noumantahir

Same here

hankinsoft avatar Mar 13 '18 13:03 hankinsoft

Looks like Inkscape is failing to find the input and output paths. The fix for me was fully specifying the paths in my command:

$ export_icons.sh -i ~/Downloads/my-icon.svg -o ~/Downloads/my_app_icons -vf

You can see what's happening if you see the output of the Inkscape command. To do this, remove the > /dev/null 2>&1 from line 96 of the script.

rdlugosz avatar May 07 '18 19:05 rdlugosz

Yup, that was the quick fix! Thank @rdlugosz

fredyfx avatar Oct 13 '19 00:10 fredyfx

Fix for me was to change line 96 to this: ${INKSCAPE} -C --export-filename="${output_file}" -w ${size} "${input_file}"

Also had to change line 32 to this: INKSCAPE=/Applications/Inkscape.app/Contents/MacOS/inkscape

1.0rc1 (09960d6, 2020-04-09)

Bemmu avatar Apr 27 '20 16:04 Bemmu