Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: alen on September 03, 2017, 11:02:36 AM

Title: Inkscape extensions not working!
Post by: alen on September 03, 2017, 11:02:36 AM
I installed inkscape and some plugins today for my laser engraver.
I copied extension files to both directories (if i only copy one directory, extensions don't seen properly in program menu):

Quote
C:\Users\Alen Geere\AppData\Roaming\inkscape\extensions

C:\Program Files\Inkscape\share\extensions

In program, i don't get any error when i try to open extensions. Nothing.
But when i checked the extension-error text file, i found something:

Quote
Extension "DXF Input" failed to load because a dependency was not met.
Dependency:
  type: ex

ecutable
  location: extensions
  string: inkex.py

Extension "About" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Area" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Check for updates" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "DXF Points" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Engraving" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Graffiti" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Lathe" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Orientation points" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Path to Gcode" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Prepare path for plasma" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Tools library" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "J Tech Photonics Laser Tool" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

Extension "Raster 2 Laser GCode generator" failed to load because a dependency was not met.
Dependency:
  type: executable
  location: extensions
  string: inkex.py

What's going on? I read about python and environment variable in windows on this forum. I also sent mesage there but i am a newbie. It doesn't seen.
I installed python's latest version and added path info to variables. Could you help me please? Thanks.

I use Windows 7 64
Inkscape 0.92
Gcodetools extension
j tech photonics laser tool extension
Title: Re: Inkscape extensions not working!
Post by: brynn on September 04, 2017, 03:03:19 AM
Welcome to the forum!

Ok, first I need to be clear about the problem.  Do you mean that only the new extensions which you installed are not opening?  Can you open other extensions, besides what you installed?

I appears you installed to the correct location.  It's curious that they didn't show up unless you installed to both places.  Either place should be enough.  So I'm not sure what's happening there.

If the files you downloaded were zip files, did you unzip or extract them?  The PY and INX files need to be placed directly into the extensions folder.  Inkscape can't find them inside zip files.

Those entries you posted from the errors log -- did you only post those which pertain to the extensions you're using for this project?  Usually there are a lot more.  Plus, it appears that inkex.py is the culprit in every case.  Could you have somehow forgotten that file, or left in another folder or on the desktop or something?

I'm not clear where you sent a message regarding python.  You should not need to install it.  Inkscape provides what it needs to function.  Although it seems like I heard about an issue with not having the right version of python.  I'd have to do some research, to remember what it was about.

We have heard from someone else that the J Tech Phonics extension doesn't work, even if you could open it.  There's another message somewhere in this forum about that.

Ok, I've just tested some of the gcodetools extensions, and they are working for me.  I'm highly suspicious of the inkex.py file being missing.  At least until we get more info from  you.
Title: Re: Inkscape extensions not working!
Post by: Moini on September 04, 2017, 01:52:01 PM
Your extensions directory seems to be messed up.

Please remove all extensions that you added yourself into the directory "C:\Program Files\Inkscape\share\extensions". They do not belong there.

Then make sure the directory contains the files listed here:
https://gitlab.com/inkscape/inkscape/tree/0.92.x/share/extensions (you can download the full code, with all the files here: https://gitlab.com/inkscape/inkscape/repository/0.92.x/archive.zip, then only copy the parts over that you need)
Title: Re: Inkscape extensions not working!
Post by: alen on September 05, 2017, 10:21:14 AM
Solved!

Welcome to the forum!

Thanks!

Then make sure the directory contains the files listed here:

I downloaded inkscape latest version in its website and install. I can't see any share/extensions folder and manually i created it. I copied all of my extensions .py and .inx filesto directory, not in zip.

I downloaded from your link tonight and saw program also has files in extension direnctory. I deleted my own files and copied from new.

Now i have a lot of extensions in program and all of them are working! Thanks.

I think it was an install issue. I am happy to solve.

Thank you all.
Title: Re: Inkscape extensions not working!
Post by: Moini on September 05, 2017, 01:00:02 PM
Glad it works now!

Note that it is not recommended to put your personal extensions into the general extensions directory, because that directory will be deleted when you install a newer version of Inkscape.
Put your personal extensions into the folder indicated at Edit -> Preferences -> System: User extensions.
Title: Re: Inkscape extensions not working!
Post by: alen on September 07, 2017, 09:15:39 AM
Glad it works now!

Note that it is not recommended to put your personal extensions into the general extensions directory, because that directory will be deleted when you install a newer version of Inkscape.
Put your personal extensions into the folder indicated at Edit -> Preferences -> System: User extensions.

Thanks for your support again. I also made it.  :nod:
Title: Re: Inkscape extensions not working!
Post by: Moini on September 08, 2017, 05:20:42 PM
You're welcome :) Happy engraving! If you can, let us know what you've been making!