Closed lukassemmler closed 2 years ago
I have no idea why you're getting an error message or why "Simple Inkscape Scripting…" shows up twice under Extensions. Although I don't have a Windows system I can use for testing, #23 indicates that other users have successfully run the extension under Windows.
Do any extensions work on your system? How about other extensions you installed yourself?
I'd think that if Inkscape can't find '__main__' module
for Simple Inkscape Scripting, it won't be able to find it for any other extension, either.
Hey @spakin , thank you for your response! Well, the preinstalled extensions seem to work, but I have to test again.
Anyways, I just tried installing and running the extension on my laptop - and lo and behold, it worked!
Maybe it's because I have Inkscape v1.1.2 (b8e25be833, 2022-02-05) on my laptop?
Maybe I messed up something with the Python PATH
on my pc? I'm not sure.
At least I have a working example for comparison now.
I will try again this weekend, when I have access to my other machine again (the one with the installation error).
I'm glad to hear you have a working system with which to compare. I look forward to learning what you find out this weekend.
For the record, I currently have Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20) and Inkscape 1.3-dev (8eed98e, 2022-06-05) on my Linux system, and Simple Inkscape Scripting works with both of them.
Alright, here are my results after testing on the faulty machine:
There are two entries of "Simple Inkscape Scripting..." in my extension menu, because I installed the extension twice:
# Installed via Extension Manager, by selecting the extension in the file explorer
C:\Users\Lukas\AppData\Roaming\inkscape\extensions\org.pakin.output.simple_inkscape_scripting\simple_inkscape_scripting
# Installed by dropping the extension into the installation folder
C:\Program Files\Inkscape\share\inkscape\extensions\simple_inkscape_scripting
Anyway, thanks for your help @spakin ! I'm looking forward to some scripting now 😄
Thanks for the detailed description!
I've successfully run Simple Inkscape Scripting under Inkscape 1.2 on Linux so we have at least that data point. I had not heard of the Extension Manager before your post so my installations are always performed by manually copying a directory into the Inkscape extensions directory. It sounds like what we don't know is if 1.2 is broken on Windows in general or only on your installation. You may want to test the 1.3 development version to see if you have more luck with that.
I'm glad to hear that you do have the ability to run Simple Inkscape Scripting, even though it's with an older version of Inkscape. I sure hope the problem gets fixed (or fixes itself) in a future release.
Hello, sorry if this is a no-brainer, but I'm having trouble to get this extension running under Windows.
Environment:
Steps to reproduce the bug:
.exe
: https://inkscape.org/release/1.2/windows/64-bit/.simple_inkscape_scripting
.simple_inkscape_scripting
toC:\Program Files\Inkscape\share\inkscape\extensions
.C:\Program Files\Inkscape\bin\inkscape.exe
.Menubar --> Extensions --> Render --> Simple Inkscape Scripting...
Insert a simple example script into the field "Python code":
By the way, I have two entries "Simple Inkscape Scripting..." under "Extensions". I assume this is not intentional, but both commands behave exactly the same and there is no second
simple_inkscape_scripting
folder in my extensions folder.Any help would be appreciated!