[go: up one dir, main page]

inkex.utils shadowed by inkex.color.utils

I'm on Windows 11. I've built Inkscape from branch 1.4.x.

When I run any extension that call methods from inkex.utils I get errors saying that the requested methods are not implemented in inkex.colors.utils

Indeed, if I open the Python console and import inkex.utils I get the following:

>>> import inkex
>>> inkex.utils
<module 'inkex.colors.utils' from 'D:/dev/inkscape/inkscape/build/inkscape/share/inkscape/extensions/inkex/colors/utils.py'>

I suspect that the inkex.utils is being shadowed when the re-exported modules are declared in inkex/__init__.py

If I comment this line the expected utils module is loaded correctly

Edited by giohappy
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information