There's a couple of issues. One is that you should run your extension via `run()` not `affect()`. Also you don't need to call `def __init__(...): super(...).__init__()` this does nothing. And you should be using os.path.join instead of assuming a forward slash in paths. (for example issues on windows)
Line 65 is odd `with open(filePath,"w") as file:` ti doesn't do anything with the file argument. So it's not doing what you think it's doing.
Hi,
We have just released XIA 3.0-beta1 today, new version compatible with Inkscape 1.0:
https://xia.funraiders.org/index.html
https://github.com/pfautrero/xia/releases
Congrats on the prerelease!
There's a couple of issues. One is that you should run your extension via `run()` not `affect()`. Also you don't need to call `def __init__(...): super(...).__init__()` this does nothing. And you should be using os.path.join instead of assuming a forward slash in paths. (for example issues on windows)
Line 65 is odd `with open(filePath,"w") as file:` ti doesn't do anything with the file argument. So it's not doing what you think it's doing.
we have already run method, in the branch 3.0 https://github.com/pfautrero/xia/tree/XIA_30
Thanks for your recommandations. Yes, line 65, this is weird...we fix that