Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Wiki / Kb84

Kb84

Emulab FAQ: Setting Up a New Emulab: Python, Swig, and m2crypto incompatibilities

Emulab FAQ: Setting Up a New Emulab: Python, Swig, and m2crypto incompatibilities

Due to some changes in the way SWIG lays out its native objects, some parts of Emulab may fail to work. Here are some of the common symptoms:

  • The python scripts in /usr/testbed/bin fail due to an exception in the m2crypto code.
  • The event system fails with an XML-RPC error.
  • The XML-RPC server rejects connections.

The solution is to downgrade SWIG to 1.3.23 and rebuild/reinstall m2crypto with this older version of SWIG on both boss and ops. The XML-RPC server runs on boss and uses the m2crypto library, so it should be restarted as well.