It seems that with the move to version 1.x, inkscape's command-line options were overhauled. Your script dies without any indication of what the problem might be. Executing the command manually yields
Warning: Option --without-gui= is deprecated
Unknown option -A
One solution that ensures backwards compatibility is to check inkscape's version string and choose the command line options appropriately. I'm not entirely sure that my method is robust, but it was tested on Ubuntu 18.04 (Inkscape 0.92.3 (2405546, 2018-03-11)) and Fedora 33 (Inkscape 1.0.1 (3bc2e813f5, 2020-09-07)) and is working as expected.
It seems that with the move to version 1.x, inkscape's command-line options were overhauled. Your script dies without any indication of what the problem might be. Executing the command manually yields
One solution that ensures backwards compatibility is to check inkscape's version string and choose the command line options appropriately. I'm not entirely sure that my method is robust, but it was tested on Ubuntu 18.04 (
Inkscape 0.92.3 (2405546, 2018-03-11)
) and Fedora 33 (Inkscape 1.0.1 (3bc2e813f5, 2020-09-07)
) and is working as expected.