Extension not showing up in menu

Post questions on how to use or achieve an effect in Inkscape.
ShawnWDion
Posts: 70
Joined: Fri Apr 22, 2016 8:32 am

Extension not showing up in menu

Postby ShawnWDion » Tue Feb 07, 2017 4:07 am

I'm just not seeing it on this extension : larscwallin larscwallin/larscwallin.inx.create-sketch-layer.inx

located at : https://gist.github.com/larscwallin/989080

Menu option shows up but not the extension.

This extension has everything I need to export and re-import into inkscape but for some darn reason I just don't see the bug that makes it not show up under inkscape 0.92 windows 10 64 bit.

If I can figure this out I'll be able to start making Windows modules that can call applications from the outside and then figure out on how to get the same apps for ubuntu.

Any help will be appreciated.

ShawnWDion

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Extension not showing up in menu

Postby Moini » Tue Feb 07, 2017 4:44 am

Shawn, what do you mean by "Menu option shows up but not the extension."?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

ShawnWDion
Posts: 70
Joined: Fri Apr 22, 2016 8:32 am

Re: Extension not showing up in menu

Postby ShawnWDion » Tue Feb 07, 2017 4:52 am

Sketch category shows up but none of the 2 extension names such as Create sketch layer the sub menu shows up empty.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Extension not showing up in menu

Postby Moini » Tue Feb 07, 2017 5:20 am

Yeah. Lars didn't update the names of the dependencies correctly in his .inx files.

Replace line 4 in larscwallin.inx.create-sketch-layer.inx by:

<dependency type="executable" location="extensions">larscwallin.inx.create-sketch-layer.py</dependency>

and line 4 in larscwallin.inx.elements-to-layers.inx by:
<dependency type="executable" location="extensions">larscwallin.inx.elements-to-layers.py</dependency>
(you'll find this extension in 'Generate from Path' submenu)

Didn't test if they work. Let me know how it goes :)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

ShawnWDion
Posts: 70
Joined: Fri Apr 22, 2016 8:32 am

Re: Extension not showing up in menu

Postby ShawnWDion » Tue Feb 07, 2017 5:47 am

Thanks for the quick reply.. If I get this working I'll be able to include a lot more tools and options from inkscape (it's a old extension but who knows) I'm a dos person and well I have so many tools that work in dos that can do multiple formats and code generation that it makes senses to have a way to automate it.

Now if I can figure out why on version .92 I'm getting that darn huge lookup error on codes that worked fine on .91 I'll have won the lottery.

ShawnWDion

I'll keep you posted in regards to this extension.

ShawnWDion
Posts: 70
Joined: Fri Apr 22, 2016 8:32 am

Re: Extension not showing up in menu

Postby ShawnWDion » Tue Feb 07, 2017 10:23 pm

Few bugs but I'll install Ubuntu and try it there but your fixes did make the extensions show up.

Thank You.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Extension not showing up in menu

Postby Moini » Wed Feb 08, 2017 5:04 am

:-) It's a very old extension, so it was to be expected that there are issues (esp. on Windows, it uses the wrong kind of directory structure, which is noted in a comment somewhere in the code).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

ShawnWDion
Posts: 70
Joined: Fri Apr 22, 2016 8:32 am

Re: Extension not showing up in menu

Postby ShawnWDion » Wed Feb 08, 2017 10:03 am

@Moini
I decided to see if I couldn't find similar code that was more recent for what I was trying to figure out.

Well by fluke I did a google search with site:github.com .py .inx with a few phrases from the code link and well I think this might interest the community.

https://github.com/Xaviju/inkscape-placeholder/

check out the adorable.inx adorable.py code this is exactly what I was trying to figure out for inkscape in importing a generated result.

There are so many image generators online such as cooltext and a few others that I can use the same technique I'm going to enjoy making them all into extensions.

ShawnWDion

P.S: I think Xaviju is mentioned on the forum but I didn't see a trace of this little gem but hey if he or she a member.. KEEP UP THE GOODIES ;-) the last updates for theses extensions is not even a month old.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Extension not showing up in menu

Postby Moini » Wed Feb 08, 2017 10:20 am

Yeah :) (Yep, definitely agree, Xaviju is a very active contributor to the Inkscape 'universe'. I enjoy contributing to his projects.)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”