[Extension] : XIA and Inkscape 0.92.2

Other sites and resources for Inkscape users.
pfautrero
Posts: 27
Joined: Thu Dec 18, 2014 5:37 am
Location: France

[Extension] : XIA and Inkscape 0.92.2

Postby pfautrero » Wed Dec 13, 2017 7:29 am

Hi,
XIA is an extension used to convert "simple" svg files created with inkscape to html5 resource. Here is the homepage of this project :

https://xia.dane.ac-versailles.fr

Since Inkscape 0.92.2 on Windows, XIA 2.3 is not usable anymore. I work on XIA 2.4 to fix this issue but would like to know if the "fix" is the right way.

What's Wrong ?

XIA is a naughty extension using some python libraries not included in Inkscape for Windows, more precisely, XIA is using TKinter for the UI. The XIA 2.3 installer removes the inkscape/python folder to replace it with a new one with all libraries needed (TKinter, PIL). With Inkscape 0.92.2, python is not hosted in inkscape/python folder and some conflicts with the default installation process make XIA not usable anymore.

And so ?

For XIA 2.4, I cleaned up the installer and it does not modify Inkscape folder anymore. But, TKinter issue is not solved. If I try to open XIA, I catch this exception :

Code: Select all

_tkinter.TclError: Can't find a usable init.tcl in the following directories:
    {C:/Program Files/lib/tcl8.6} {C:/Program Files/lib/tcl8.6} C:/lib/tcl8.6 {C:/Program Files/library} C:/library C:/tcl8.6.6/library C:/tcl8.6.6/library


This means that TKinter is not found and is expected in some strange places :
- C:/Program Files/lib/tcl8.6
- C:/lib/tcl8.6
- C:/library

The following beta-installer applies the first choice and XIA is now working :
https://xia.dane.ac-versailles.fr/download/setup2-4.exe

But is it the good idea ? Is there any good practice ?

Regards,

Pascal

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

Re: [Extension] : XIA and Inkscape 0.92.2

Postby Moini » Thu Dec 14, 2017 4:54 am

Others have used pip to install additional things into the Inkscape Python directory.

Here's a pdf that outlines the way they do it:
https://inkscape.org/en/~arpruss/%E2%98 ... structions

Additionally, changes in current Inkscape are mentioned in some issue at github, for centerline trace. Not sure if any of this applies here, no time to read it all again:
https://github.com/fablabnbg/inkscape-c ... e/issues/5
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)

User avatar
brynn
Posts: 9774
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: [Extension] : XIA and Inkscape 0.92.2

Postby brynn » Thu Dec 14, 2017 7:37 pm

If you'd like to consult developers, please use either the development mailing list or IRC https://inkscape.org/en/community/. Inkscape developers tend not to participate in forums.


Return to “Inkscape Resources”

Who is online

Users browsing this forum: No registered users and 2 guests