GNU bug report logs - #57479
Inkscape can't find python-lxml

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 30 Aug 2022 02:52:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57479 in the body.
You can then email your comments to 57479 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57479; Package guix. (Tue, 30 Aug 2022 02:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 30 Aug 2022 02:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Inkscape can't find python-lxml
Date: Mon, 29 Aug 2022 22:50:09 -0400
I'm not able to create QR codes in Inkscape.

I try to create a QR code in Inkscape by going through these menus:
Extensions -> Render -> Barcode -> QR Code

But, when I click "Apply" to create the QR code, Inkscape prints an
error message like this:

------
Traceback (most recent call last):
  File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/render_barcode_qrcode.py", line 30, in <module>
    import inkex
  File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/__init__.py", line 11, in <module>
    from .extensions import *
  File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/extensions.py", line 34, in <module>
    from .elements import (
  File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/elements/__init__.py", line 9, in <module>
    from ._parser import SVG_PARSER, load_svg
  File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/elements/_parser.py", line 30, in <module>
    from lxml import etree
ModuleNotFoundError: No module named 'lxml'
------

Any ideas?




Information forwarded to bug-guix <at> gnu.org:
bug#57479; Package guix. (Mon, 10 Oct 2022 04:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 57479 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 57479 <at> debbugs.gnu.org
Subject: Re: bug#57479: Inkscape can't find python-lxml
Date: Mon, 10 Oct 2022 00:40:04 -0400
Hi,

Leo Famulari <leo <at> famulari.name> writes:

> I'm not able to create QR codes in Inkscape.
>
> I try to create a QR code in Inkscape by going through these menus:
> Extensions -> Render -> Barcode -> QR Code
>
> But, when I click "Apply" to create the QR code, Inkscape prints an
> error message like this:
>
> ------
> Traceback (most recent call last):
>   File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/render_barcode_qrcode.py", line 30, in <module>
>     import inkex
>   File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/__init__.py", line 11, in <module>
>     from .extensions import *
>   File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/extensions.py", line 34, in <module>
>     from .elements import (
>   File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/elements/__init__.py", line 9, in <module>
>     from ._parser import SVG_PARSER, load_svg
>   File "/gnu/store/crndrs40jrk5ddfxi7569123lbibhz42-inkscape-1.2.1/share/inkscape/extensions/inkex/elements/_parser.py", line 30, in <module>
>     from lxml import etree
> ModuleNotFoundError: No module named 'lxml'
> ------
>
> Any ideas?

Wrap inkscape with GUIX_PYTHONPATH and 'python-lxml' as an input.  Or
simply install python-lxml (and python) in your user profile.

-- 
Thanks,
Maxim




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 27 Jan 2023 15:28:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Fri, 27 Jan 2023 15:28:03 GMT) Full text and rfc822 format available.

Message #13 received at 57479-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 57479-done <at> debbugs.gnu.org, 60975-done <at> debbugs.gnu.org
Subject: Re: bug#60975: [PATCH] gnu: inkscape: Fix qrcode rendering.
Date: Fri, 27 Jan 2023 16:27:07 +0100
Hi,

Michael Rohleder <mike <at> rohleder.de> skribis:

> Fixes <https://issues.guix.gnu.org/57479>.
>
> * gnu/packages/inkscape.scm (inkscape)[inputs]: Add python-cssselect.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Feb 2023 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.