This subsection elaborates on a few of the common problems (and possible solutions) that occur when importing SIDL-specified extensions.
import X.Y.Zmodule
Traceback (innermost last):
File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initZmodule)
This could be a matter of an incorrect import or a problem with the
environment. Consider the following
If the answers to these questions do not solve the problem, submit a bug report for Babel.
import X.Y.Z
Fatal Python error: Cannot load implementation for SIDL class X.Y.Z
Abort (core dumped)
then the Python stub code -- the code that links Python to SIDL's
independent object representation (IOR) -- failed in its attempt to load
the shared or dynamically linked library that contains the implementation
of SIDL class X.Y.Z.
This is likely to be a path problem so consider the following
import X.Y.Z
Fatal Python error: Cannot load implementation for SIDL interface X.Y.Z
Abort (core dumped)
it is the same problem described for the fatal error encountered when attempting to load a SIDL class.