Comment 3 for bug 1783019

Revision history for this message
Jonathan Milton (jpmilton) wrote :

I'm having the same problem on Fedora 28 RPM inkscape-0.92.3-2.fc28.x86_64

If I create New from Template -> Icon, I get this in a pop up :

Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/inkex.py", line 113, in <module>
    from lxml import etree
ModuleNotFoundError: No module named 'lxml'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "empty_icon.py", line 5, in <module>
    import inkex
  File "/usr/share/inkscape/extensions/inkex.py", line 119, in <module>
    "python-lxml\n\nTechnical details:\n%s" % (e, )))
  File "/usr/share/inkscape/extensions/inkex.py", line 101, in errormsg
    if isinstance(msg, unicode):
NameError: name 'unicode' is not defined

I have python2-lxml-4.1.1-2.fc28.x86_64 installed and if I fire up a python2 shell and call "from lmxl import etree" as per line 113, it works.