AWS Thinkbox Discussion Forums

cElementTree ImportError with Deadline9

Hello!

I’m writing a custom script on Deadline 9 and need to use the Python module cElementTree. So I import it but I get an error at this point:
ImportError: /opt/Thinkbox/Deadline9/bin/python/lib/python2.7/lib-dynload/_elementtree.so: undefined symbol: PyUnicodeUCS2_Decode
I have this error only with Deadline’s Python, the system’s work fine (see the photo).

I use Ubuntu 16.04 and Deadline 9.0.12

Hello!

Be sure to add that module to your Python Search paths so that Deadline’s Python can find it.

Hello Justin,

Thank you for your answer ! After adding the module to the path I still get the same error.

This module is built-in Deadline 9, so I’m not sure this would be a path error.
I don’t have this problem with Deadline 10, the module is imported fine, but unfortunately I need to use Deadline 9.
Is there a difference in the way Python is compiled between Deadline 9 and 10 ? What I found on the Internet tell to recompile python with --enable-unicode=ucs4, is there a way I can do it with Deadline 9 ?

Thanks!

Privacy | Site terms | Cookie preferences