0.91 using python 2.6.5 on windows

Bug #1575790 reported by Neon22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Wishlist
jazzynico
Inkscape Devlibs
Fix Released
Wishlist
jazzynico

Bug Description

if you make an extension which starts with:

import inkex, sys
inkex.debug("%s"%(sys.version))

Then you can see inkscape uses python 2.6.5
The latest verison is in the 2.7 category.
Please can we update. There are all sorts of minor problems

For example this means
"the{} brown {}" % ("boy", "dog")
 fails to work unless {0} {1} is substituted.
There are many other python improvements and aspects that don't work.

There are security vulnerabilities reported n socket and urllib packages... which may not be relevant.
- http://www.cvedetails.com/version/109905/Python-Python-2.6.5.html
- https://www.cvedetails.com/vulnerability-list/vendor_id-10210/product_id-18230/version_id-109905/Python-Python-2.6.5.html

Not sure of what version is bundled with other distributions/platforms.

Revision history for this message
Neon22 (neon22) wrote :

I don't think I filed this right. Not a website problem - an inkscape problem

Hachmann (marenhachmann)
affects: inkscape-web → inkscape
su_v (suv-lp)
tags: added: packaging win32 win64
Revision history for this message
jazzynico (jazzynico) wrote :

Doesn't affect win64 builds (already with 2.7).

Changed in inkscape:
importance: Undecided → Wishlist
status: New → Triaged
tags: removed: win64
Changed in inkscape-devlibs:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
jazzynico (jazzynico) wrote :

Just checked that the Python version used in the 64-bit devlibs is 2.7.11, 32-bit. So I'm going to copy it directly to the 32-bit devlibs and test for regressions.

Changed in inkscape-devlibs:
assignee: nobody → jazzynico (jazzynico)
Revision history for this message
jazzynico (jazzynico) wrote :

Tests in progress with the 32-bit devlibs. One known regression with uniconvertor.

Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
milestone: none → 0.92
jazzynico (jazzynico)
Changed in inkscape-devlibs:
status: Triaged → In Progress
Changed in inkscape:
status: Triaged → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

Everything seems to work as expect Uniconvertor. The problem is that the package includes modules built with Python 2.6 that need to be recompiled with Python 2.7. And of course SK1 doesn't provide packages for recent Python versions.
That said, Uniconvertor is only used in a very limited number of cases, and maybe we could just drop it. To be discussed in the dev. list.

Revision history for this message
Neon22 (neon22) wrote :

Hmmm. the X64 version already has python 2.7.x in it.
Does this mean it doesn't work in the 64 bit build either ?

Revision history for this message
Neon22 (neon22) wrote :

I see they moved to github (July 2015) from old (2008) sourceforge site.
- https://github.com/sk1project/uniconvertor
Home page:http://sk1project.org/

Revision history for this message
Neon22 (neon22) wrote :

There appear to be linux and windows 32 and 64bit packages.
http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download

Revision history for this message
jazzynico (jazzynico) wrote :

@Neon22 - Lot's of comments to anwser ;)

> Hmmm. the X64 version already has python 2.7.x in it.
> Does this mean it doesn't work in the 64 bit build either ?

Exact. Uniconvertor doesn't work with the 64-bit devlibs.

> I see they moved to github (July 2015) from old (2008) sourceforge site.

I saw it too, but unfortunately it seems that the project is still inactive, even on github.

> There appear to be linux and windows 32 and 64bit packages.

32-bit packages only (64-bit is mark "Will be soon!").

Note that Uniconvertor can still be installed with the available MSI package, even if we can't have it run as Inkscape extension on Windows. So I'm going to update Python anyway.

Revision history for this message
jazzynico (jazzynico) wrote :

Python updated to 2.7.11 in the devlibs-32 rev. 62, without Uniconvertor, but with updated lxml, numpy and scour (and coverage for those who want to run unit tests).

Changed in inkscape-devlibs:
status: In Progress → Fix Released
Changed in inkscape:
status: In Progress → Fix Committed
Revision history for this message
Neon22 (neon22) wrote :

I notified mainainers of this discussion and asked for 64bit package.

Revision history for this message
Alvin Penner (apenner) wrote :

attempting to compile on Windows XP, using btool : Inkscape rev 14885 and devlibs rev 62

I get the error message:
Make error line 764: copy : file /c:/devlibs/python/python26.dll does not exist

Revision history for this message
jazzynico (jazzynico) wrote :

Sorry, my fault.
Build.xml updated in the trunk rev. 14886 and the 0.91.x branch rev. 13863.

Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.