GNU bug report logs - #63938
Inkscape 1.2.1: No module named 'lxml'

Previous Next

Package: guix;

Reported by: Andrea PIERRÉ <a.pierre <at> zaclys.net>

Date: Wed, 7 Jun 2023 01:52:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63938: closed (Inkscape 1.2.1: No module named 'lxml')
Date: Sat, 09 Mar 2024 18:38:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Mar 2024 13:36:13 -0500
with message-id <87frwzdzhe.fsf_-_ <at> gmail.com>
and subject line Re: bug#63938: Inkscape 1.2.1: No module named 'lxml'
has caused the debbugs.gnu.org bug report #63938,
regarding Inkscape 1.2.1: No module named 'lxml'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
63938: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63938
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andrea PIERRÉ <a.pierre <at> zaclys.net>
To: bug-guix <at> gnu.org
Subject: Inkscape 1.2.1: No module named 'lxml'
Date: Tue, 6 Jun 2023 15:26:34 -0400
[Message part 3 (text/plain, inline)]
Hello,

I get the following error with Inkscape 1.2.1 (9c6d41e410, 2022-07-14) 
when I click on the top menu on |Extensions > Manage Extensions|:

|Traceback (most recent call last): File 
"/gnu/store/3lbv31vxj3y0d2dn7h2y5dna7dfhhrb5-inkscape-1.2.1/share/inkscape/extensions/inkman/inkman/manage_extensions.py", 
line 29, in <module> from inkex import gui File 
"/gnu/store/3lbv31vxj3y0d2dn7h2y5dna7dfhhrb5-inkscape-1.2.1/share/inkscape/extensions/inkex/__init__.py", 
line 11, in <module> from .extensions import * File 
"/gnu/store/3lbv31vxj3y0d2dn7h2y5dna7dfhhrb5-inkscape-1.2.1/share/inkscape/extensions/inkex/extensions.py", 
line 34, in <module> from .elements import ( File 
"/gnu/store/3lbv31vxj3y0d2dn7h2y5dna7dfhhrb5-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/3lbv31vxj3y0d2dn7h2y5dna7dfhhrb5-inkscape-1.2.1/share/inkscape/extensions/inkex/elements/_parser.py", 
line 30, in <module> from lxml import etree ModuleNotFoundError: No 
module named 'lxml' |

Thanks!

​
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 63938-done <at> debbugs.gnu.org
Subject: Re: bug#63938: Inkscape 1.2.1: No module named 'lxml'
Date: Sat, 09 Mar 2024 13:36:13 -0500
Hello,

Andreas Enge <andreas <at> enge.fr> writes:

> I get a text box with a similar, but not the same error:
>
> Traceback (most recent call last):
>   File "/gnu/store/zjc4ijkrrp1b9v1va40a3fki0gkgcp6w-inkscape-1.2.1/share/inkscape/extensions/inkex/gui/__init__.py", line 38, in <module>
>     import gi
> ModuleNotFoundError: No module named 'gi'
> During handling of the above exception, another exception occurred:
> Traceback (most recent call last):
>   File "/gnu/store/zjc4ijkrrp1b9v1va40a3fki0gkgcp6w-inkscape-1.2.1/share/inkscape/extensions/inkman/inkman/manage_extensions.py", line 29, in <module>
>     from inkex import gui
>   File "/gnu/store/zjc4ijkrrp1b9v1va40a3fki0gkgcp6w-inkscape-1.2.1/share/inkscape/extensions/inkex/gui/__init__.py", line 42, in <module>
>     raise DependencyError(
> inkex.utils.DependencyError: You are missing the required libraries for Gtk. Please report this problem to the Inkscape developers.
>
> Maybe we are missing propagated inputs or wrapping with some environment
> variable?

Yes, we needed GI_TYPELIB_PATH, as wrapped in commit
f4078087a69e4f57059fc6120332b47caef3aeaf ("gnu: inkscape: Fix Python
support.") on core-updates, as well as some other Python inputs.

Closing.

-- 
Thanks,
Maxim


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

Previous Next


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