Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1774251
Summary: | Some default inkscape extensions doesn't work as they're in python2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | hugotrip |
Component: | inkscape | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | CC: | duffy, gwync, jonathan.underwood, lkundrak, rlerch, robin.a.meade |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | inkscape-1.0-0.beta.fc31.4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-02-01 01:30:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
hugotrip
2019-11-19 21:26:44 UTC
beginning debugging : /usr/share/inkscape/extensions/ungroup_deep.py has apparently the correct shebangs #! /usr/bin/python2, but it calls /usr/share/inkscape/extensions/simpletransform, which has no shebangs, and causes the error This build uses Python 3. See if it helps. https://fedorapeople.org/~limb/inkscape/ The extension I use works well with your build, thanks, I will keep it in the meantime. As I said, I was already able to workaround the bug (launching inkscape via a script which create the symlink pointing to python2, then removing it) : I'm reporting the bug, because other people may encounter it and may not be able to see what the problem is, and how to fix it (I found the cause and the solution after reading a french article about the fedora 31 release, talking about the python3 transition). So I don't know what's next : will the beta of inkscape 1.0 be released in Fedora 31, or is there someone able to check and fix all scripts within /usr/share/inkscape/extensions/ adding #!/usr/bin/python2 where it's needed ? If it's generally stable for you, I'd rather push the beta. Sorry to answer so lately, and sorry because I messed up my trial at first : the inkscape i tried was not yours, but the flathub one, I also installed before to find a workaround. So now that I've fixed my mistake, I can tell for the basics I use in inkscape (as a physics teacher, I do mainly diagrams) that the inkscape 1.0 beta is working good, but it doesn't solve my initial problem, as the ungroup_deep.py extension isn't available anymore, as it's no longer in /usr/share/inkscape/extensions/ So, as the extension is removed from inkscape, there isn't anymore errors, but I'm losing a very useful functionality. Do you know if it is a temporary removal in upstream (maybe because of the need to rewrite it in python3) ? I don't know, but I've asked. https://gitlab.com/inkscape/inkscape/issues/546 From upstream: Ah, I see. Yes, it's true, they had been forgotten to add. There will soon be a beta2, though, and hopefully, that will be complete. Meanwhile, you can grab the most recent prgram code from https://gitlab.com/inkscape/inkscape/-/archive/master/inkscape-master.zip and drop the most recent extension code from https://gitlab.com/inkscape/extensions/-/archive/master/extensions-master.zip into the /share/extensions directory. Great ! In the meantime I downgraded inkscape to 0.92, but if you need, I can try to copy the extension code in the installation of your rpm, if you think it won't mess the downgrade to 0.92 if it doesn't work. inkscape-1.0-0.beta.fc31.4 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d9b0269c6c inkscape-1.0-0.beta.fc31.4 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. |