gillescastel / inkscape-figures

Inkscape figure manager
MIT License
557 stars 119 forks source link

Cannot parse inkscape version number "1.0rc1" #23

Closed gillescastel closed 4 years ago

gillescastel commented 4 years ago

Hi, I see the topic of MacOS being called so I'll bump into this conversation. Do you have any idea why Ctrl+S shortcut doesn't return pdf_tex files, but only overwrites svg file? Everything else works just fine :) I use Inkscape 1.0rc1

Originally posted by @VonbatenBach in https://github.com/gillescastel/inkscape-figures/issues/22#issuecomment-619603746

Debug of watch gives: ValueError: invalid literal for int() with base 10: '0rc1' so I guess I know where is the problem, but I can't solve it in any elegant way. I've just concealed if-s, which check Inkscape version in main.py and used the last command = [...] section. It works :)

Originally posted by @VonbatenBach in https://github.com/gillescastel/inkscape-figures/issues/22#issuecomment-619608895

gillescastel commented 4 years ago

Thanks for your bug report! I fixed it in 362e780635ea2abf1b.