Has anybody hit an issue with running the Python swig bindings on Qpid?
I'm getting a segfault and have tracked it down to the following piece
in swig_python_typedefs.i:

%init %{
  /* Instead of directly referencing the uuid module (which is not
 * available
   * on older versions of Python), reference the wrapper defined in
   * qpid.datatypes.
   */
  pUuidModule = PyImport_ImportModule("qpid.datatypes");

  /* Although it is not required, we'll publish the uuid module in our
   * module, as if this module was a python module and we called
   * "import uuid"
   */
  Py_INCREF(pUuidModule);
  PyModule_AddObject(m, "uuid", pUuidModule);
%}

-- 
Darryl L. Pierce <[email protected]>
http://mcpierce.multiply.com/
"What do you care what people think, Mr. Feynman?"

Attachment: pgpr4eFaYBs2_.pgp
Description: PGP signature

Reply via email to