1

We are writing SFCB providers in python, Since SFCB talks to only C++ providers we need to have an intermediate layer(cmpi-bindings, a python extension module) which can talk to SFCB and start the provider when needed.

The same cmpi layer is working completely fine (i.e. reading SFCB call and then running the python provider)when it is run on ESX 4.1, but on ESX 4.0 it fails to import python modules.

After some debugging I found that import datetime module is failing with the unresolved symbol (PyExc_IOError) errror. I tried to build those module with -XLinker --exportdynamic so that they look for the those unresolved symbol as suggested in Python interpreter embedded in the application fails to load native modules , but went in vain.

What are the options I can try next. ( since the same code base is working for 4.1 but not 4.0). Any pointers will be helpful

Community
  • 1
  • 1
Rohit Srivastava
  • 278
  • 4
  • 17
  • It seems that this is not an issue between ESX and SFCB Python providers at all, but that the problem is that the datetime module fails to find certain symbols when you are embedding Python. Is this correct? In that case you should change the title. – Lennart Regebro Dec 28 '11 at 10:10
  • Yep but happening only in ESX 4.0, with 4.1 its absolutely fine. that is the main case here – Rohit Srivastava Dec 28 '11 at 12:10
  • Yeah, but there can be several different reasons for that, many which would have nothing to do with ESX. – Lennart Regebro Dec 28 '11 at 18:25
  • that is exactly where i want to go, I need to find out what and when and I need some pointers for that, so what ever the reasons ( which you think )are there, bring to the discussion. – Rohit Srivastava Dec 28 '11 at 19:24
  • 1
    I think the exact traceback and a more useful topic would help. It's probably best to close this question and make a new one. ESX may be relevant. I'm pretty sure this is in absolutely no way a problem with SFCB, even though I have no idea what that is. (Which you also don't explain). – Lennart Regebro Dec 28 '11 at 21:42

0 Answers0