Open LoryPack opened 3 years ago
I've actually just noticed some of the forks of this repo fix that issue in different ways. Check for instance:
https://github.com/janoliver/inkslides/tree/9f35281fc1b2ee5a9b83cc4f816114bd1712cf0e https://github.com/janoliver/inkslides/tree/a66f37034532be77ee10ad9a2056d6c5c9b398f8
Hi,
thank you so much for coding this, it is helpful. I have installed everything as required (on Ubuntu 20.04) and tried running it on the provided example. However, the svg files with single slides were not converted to pdf, so that of course the merging failed. I realized the error is probably due to the fact that I have inkscape 1.0.1, which presumably changed a little bit the shell interface which is used in the
run
method inInkscapeWorker
to generate the pdf from the single slides.I have tried to fix it by changing
run
in the following way, as the same commands seem to work when used directly on the command line. However, that still did not work:Eventually, I fixed it by not using the
subprocess
module but instead directly calling a new instance of inkscape for each slide by usingos
. I realize that is not elegant and not efficient.Do you think there is any way to solve this in a better way?