Search - User list
Full Version: Hqueue Karma Error - DLL load failed while importing etree.
Root » Technical Discussion » Hqueue Karma Error - DLL load failed while importing etree.
shamanek
Hi guys, hope you are all doing great.

I'm trying to figure out what is wrong with hqueue rendering on my machine. I set it all up, and everything works except Karma rendering.
Caching geometry and also USD for Karma is all fine.

However, Karma job always returns this error:

 Accessing "C:\Program Files\Side Effects Software\Houdini 21.0.440\python311\python3.11.exe" ... 
Traceback (most recent call last):
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440\houdini\scripts\hqueue\hq_karma.py", line 23, in <module>
    import hqlib
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440\houdini\scripts\hqueue\hqlib.py", line 17, in <module>
    import hqrop
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqrop.py", line 18, in <module>
    import hqueue as hq
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqueue\__init__.py", line 2, in <module>
    from . import job
  File "C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqueue\job.py", line 3, in <module>
    import lxml.etree as ET
ImportError: DLL load failed while importing etree: The specified module could not be found.


I've tried to put env variables with Houdini Python and Houdini instalation. But no luck. Job diagnostic information shows clearly that paths to access Python and Houdini installation are all correct. So I assume there must be a problem in the python itself.



I'm wondering if it's related to this bug fix. I wasn't able to try because every daily build available instantly crashes on my machine:



Thank you.
rvinluan
Hello,

Yes, the error is related to the bug fix that was committed to Houdini 21.0.464.

If you cannot update at the moment, then you can open C:\Program Files\Side Effects Software\Houdini 21.0.440/houdini/python3.11libs\hqueue\job.pyin a text editor and remove this line:
import lxml.etree as ET

Then save the changes to the file. You should be good to go after that.

Cheers,
Rob
shamanek
Hi Rob,
awesome, that works well. Thank you!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB