spakin / SimpInkScr

Simple Inkscape Scripting
https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting
GNU General Public License v3.0
320 stars 31 forks source link

Extension won't load in inkscape #84

Closed darwinIcesurfer closed 1 year ago

darwinIcesurfer commented 1 year ago

I copied the zip file to the inkscape extensions directory. Restarted Inkscape (Inkscape version Inkscape 1.22 (732a01da63, 2022-12-09) The extension is not listed in extensions Opened Extension manager.

When 'extensions' is closed an error pops up: <frozen :671: ImportWarning: Dynamiclmpofter.exec_moduleO not found; falling back to load_moduleO <frozen :671: ImportWarning: Dynamiclmporter.exec_moduleO not found; falling back to load_moduleO

darwinIcesurfer commented 1 year ago

Spelling correction

spakin commented 1 year ago

There are two ways to install Simple Inkscape Scripting. The first is to unzip the extension in your extensions directory. (That's what I normally do.) The second is to open the Extensions Manager, go to the Install Packages tab, and click on the little "open file" icon in the bottom right corner. That will open a dialog box from which you can select the zip file. Inkscape will then (silently) unzip the extension in your extensions directory. In either case, you'll need to restart Inkscape for ExtensionsRenderSimple Inkscape Scripting to become available.

I, too, receive an error message when I close the Extensions Manager dialog. I don't know what's up with that.

darwinIcesurfer commented 1 year ago

Thanks for the feedback. I had failed to unzip the file in the extensions directory. However, I'm still having issues. With the file unzipped in the extensions directory, here is what I see when I click on extensions.

[image: image.png]

When I click Manage Extensions I get "Orpha Extensions" after I unzip the file. I got nothing in here when the file was still zipped:

[image: image.png]

I don't see Simple Scripting in Install Packages either. [image: image.png]

I'm a noob at inkscape. I must be missing something fundamental.

Thanks again for your help.

Tim

On Tue, Mar 14, 2023 at 9:16 PM Scott Pakin @.***> wrote:

There are two ways to install Simple Inkscape Scripting. The first is to unzip the extension in your extensions directory. (That's what I normally do.) The second is to open the Extensions Manager, go to the Install Packages tab, and click on the little "open file" icon in the bottom right corner. That will open a dialog box from which you can select the zip file. Inkscape will then (silently) unzip the extension in your extensions directory. In either case, you'll need to restart Inkscape for ExtensionsRenderSimple Inkscape Scripting to become available.

I, too, receive an error message when I close the Extensions Manager dialog. I don't know what's up with that.

— Reply to this email directly, view it on GitHub https://github.com/spakin/SimpInkScr/issues/84#issuecomment-1469193991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFFRM62ID4TMVAKXUXKTSKTW4EQ7ZANCNFSM6AAAAAAVZ2FLTM . You are receiving this because you authored the thread.Message ID: @.***>

darwinIcesurfer commented 1 year ago

(I did try the folder from the extension manager, I clicked on the downloaded zip and the inkscape just sat there doing nothing with no error messages)

Tim

On Tue, Mar 14, 2023 at 9:16 PM Scott Pakin @.***> wrote:

There are two ways to install Simple Inkscape Scripting. The first is to unzip the extension in your extensions directory. (That's what I normally do.) The second is to open the Extensions Manager, go to the Install Packages tab, and click on the little "open file" icon in the bottom right corner. That will open a dialog box from which you can select the zip file. Inkscape will then (silently) unzip the extension in your extensions directory. In either case, you'll need to restart Inkscape for ExtensionsRenderSimple Inkscape Scripting to become available.

I, too, receive an error message when I close the Extensions Manager dialog. I don't know what's up with that.

— Reply to this email directly, view it on GitHub https://github.com/spakin/SimpInkScr/issues/84#issuecomment-1469193991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFFRM62ID4TMVAKXUXKTSKTW4EQ7ZANCNFSM6AAAAAAVZ2FLTM . You are receiving this because you authored the thread.Message ID: @.***>

spakin commented 1 year ago

I'm a noob at inkscape. I must be missing something fundamental.

No worries. I think what you're missing is that Inkscape's Extensions Manager is more rudimentary than you expect. My understanding is that it manages primarily "blessed" extensions, of which very few exist (and Simple Inkscape Scripting isn't one of them). The Extensions Manager seems to provide the ability to install other extensions only as an afterthought and doesn't really offer "management" of such extensions.

When I click the "open file" icon on the Extensions Manager's Install Packages tab, select simple_inkscape_scripting.zip, and click Open, I get no feedback. Nothing has changed in Active Packages or Orphan Extensions or anything. Then, when I close the Extension Manager, I get an error-message dialog box. However, Simple Inkscape Scripting actually has been installed. When I quit and restart Inkscape, I see the extension under ExtensionsRenderSimple Inkscape Scripting. Do you?

(I did try the folder from the extension manager, I clicked on the downloaded zip and the inkscape just sat there doing nothing with no error messages)

The Extensions Manager appears to use exclusively modal dialog boxes. If you have an open dialog box hiding somewhere, everything else in Inkscape will sit there doing nothing. Is it possible that's the situation in which you wound up?

darwinIcesurfer commented 1 year ago

I can see Simple Script now. I expected Simple Script to have its own entry under extensions. I didn't think to look under Render.

Thanks for your help!

Tim

On Wed, Mar 15, 2023 at 8:20 PM Scott Pakin @.***> wrote:

I'm a noob at inkscape. I must be missing something fundamental.

No worries. I think what you're missing is that Inkscape's Extensions Manager is more rudimentary than you expect. My understanding is that it manages primarily "blessed" extensions, of which very few exist (and Simple Inkscape Scripting isn't one of them). The Extensions Manager seems to provide the ability to install other extensions only as an afterthought and doesn't really offer "management" of such extensions.

When I click the "open file" icon on the Extensions Manager's Install Packages tab, select simple_inkscape_scripting.zip, and click Open, I get no feedback. Nothing has changed in Active Packages or Orphan Extensions or anything. Then, when I close the Extension Manager, I get an error-message dialog box. However, Simple Inkscape Scripting actually has been installed. When I quit and restart Inkscape, I see the extension under ExtensionsRenderSimple Inkscape Scripting. Do you?

(I did try the folder from the extension manager, I clicked on the downloaded zip and the inkscape just sat there doing nothing with no error messages)

The Extensions Manager appears to use exclusively modal dialog boxes. If you have an open dialog box hiding somewhere, everything else in Inkscape will sit there doing nothing. Is it possible that's the situation in which you wound up?

— Reply to this email directly, view it on GitHub https://github.com/spakin/SimpInkScr/issues/84#issuecomment-1471133442, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFFRM66PE26O6DN64P5XK3LW4JTFPANCNFSM6AAAAAAVZ2FLTM . You are receiving this because you authored the thread.Message ID: @.***>

spakin commented 1 year ago

I'm glad you finally have the extension installed. I hope you find it useful.