unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Leo Famulari <leo@famulari.name>
Cc: 57479@debbugs.gnu.org
Subject: bug#57479: Inkscape can't find python-lxml
Date: Mon, 10 Oct 2022 00:40:04 -0400	[thread overview]
Message-ID: <871qrg2swr.fsf@gmail.com> (raw)
In-Reply-To: <Yw164cun8xQIr9Rj@jasmine.lan> (Leo Famulari's message of "Mon, 29 Aug 2022 22:50:09 -0400")

Hi,

Leo Famulari <leo@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	other threads:[~2022-10-10  4:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30  2:50 bug#57479: Inkscape can't find python-lxml Leo Famulari
2022-10-10  4:40 ` Maxim Cournoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qrg2swr.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=57479@debbugs.gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).