Python extensions does not work

Bug #1880338 reported by Lars Ljung
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
inkscape (Ubuntu)
Fix Released
Undecided
Mattia Rizzolo
Focal
Fix Released
High
Mattia Rizzolo
Groovy
Fix Released
Undecided
Mattia Rizzolo

Bug Description

[ Inpact ]
* Python extensions don't start (unless python-is-python2
  is installed)

[ Test Case ]
* open inkscape
* try to run Extensions → Text → Lorem ipsum → Apply (just as an example)

without this update or pyhon-is-python2 nothing happens (a quick error windows appear and disappears, on the console it says

  Can't Spawn!!! spawn returns: Failed to execute child process “”
  (No such file or directory)

[ Regression Potential ]
* Running python extensions can't really get any worse.

Revision history for this message
Lars Ljung (larslj) wrote :
Mattia Rizzolo (mapreri)
Changed in inkscape (Ubuntu):
assignee: nobody → Mattia Rizzolo (mapreri)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

@larslj, you wrote:
> It works if I create a symlink, but I'm not sure if Inkscape expects python2 or python3

That version of inkscape wants python2, but please don't randomly create symlinks, there is a "python-is-python2" package for it (likewise, there is also a python-is-python3 package). Formally, neither of them is supported, and everything from within the official archive must not use either of them.

description: updated
tags: removed: amd64
Changed in inkscape (Ubuntu Groovy):
status: In Progress → Fix Released
importance: High → Undecided
Changed in inkscape (Ubuntu Focal):
importance: Undecided → High
assignee: nobody → Mattia Rizzolo (mapreri)
status: New → In Progress
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Here is the proposed debdiff, already uploaded.

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Lars, or anyone else affected,

Accepted inkscape into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/inkscape/0.92.5-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in inkscape (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Lars Ljung (larslj) wrote :

Version 0.92.5-1ubuntu1.1 does fix the problem for me. Thanks.

Timo Aaltonen (tjaalton)
tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for inkscape has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package inkscape - 0.92.5-1ubuntu1.1

---------------
inkscape (0.92.5-1ubuntu1.1) focal; urgency=medium

  * Add patch to use `python2` instead of `python` to run the python
    extensions. LP: #1880338

 -- Mattia Rizzolo <email address hidden> Tue, 26 May 2020 18:49:47 +0200

Changed in inkscape (Ubuntu Focal):
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.