0.92.3 does not appear to install lxml correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I've been struggling with a problem since installing 0.92.3, which is that I am getting the 'the fantastic lxml is missing' error, which has been reported numerous times. However, the 'fixes' for the other reports that I have found have not worked.
The system is Windows 7 x64. Inkscape is Inkscape 0.92.3 (2405546, 2018-03-11).
I have uninstalled all non-Inkscape Pythons on my system, and have deleted ( via Programs and Features ) Inkscape and reinstalled it. I'm using the .msi file. The symptoms remain the same. When I attempt to view help, or to export to dxf, I get the missing lxml error.
The error appears to be accurate. Here is the output of SysInternals ProcMon, that shows what Inkscape ( or at least, python ) is looking for ( I've truncated the Options section ):
20:38:47.3365628 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3366958 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3368453 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3369696 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3370901 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3372865 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3374175 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3375415 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3376596 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3377762 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3380155 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3381360 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3382551 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3383697 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3384805 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3386633 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3387734 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3388929 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3390078 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3391231 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3393125 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3394160 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3395313 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3396497 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3397646 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3399450 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3400474 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3401589 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3403205 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3404814 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3407402 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3408886 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3410338 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3411515 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3412616 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3414357 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3415663 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3417189 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3418833 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
20:38:47.3420477 pythonw.exe 5952 CreateFile C:\Program Files\Inkscape\
Here is what is actually present in the Inkscape directory :
C:\Program Files\Inkscape>
.\lib\python2.
.\lib\python2.
.\lib\python2.
.\lib\python2.
.\lib\python2.
.\python\
So as far as I can see, the installer is failing to install the correct files for the system to work as intended.
Cheers,
Hal
OK, I have found a workaround to this problem.
If I copy the lxml directory from C:\Program Files\Inkscape\ lib\python2. 7\site- packages\ lxml to a place that I know is being searched ( C:\Program Files\Inkscape\ share\extension s\lxml ), the problem goes away.
Whether this ( failure to place the directory in one of the searched paths ) is the root cause of the problem is not clear. Another possibility is that the system path setting requires adjustment.