RuntimeError on import from use of bases<>

View: New views
1 Messages — Rating Filter:   Alert me  

RuntimeError on import from use of bases<>

by Craig Bosma :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm having a difficult time debugging an issue with boost.python  
bindings under OS X 10.6 -- the same bindings have been working fine  
under windows.

On import of my module, I get an exception caught by python:

 > RuntimeError: unidentifiable C++ exception

which I've traced down as far as the use of a bases<> entry in my  
class_ definition. If I remove the bases<> entry, it works, but of  
course removing all inheiritance from the module isn't an option.  
Furthermore, it seems that any (so far) use of bases<> in this module  
causes the problem, while in another module (wrapping another library)  
classes deriving from others via bases<> work normally.

Any thoughts on what could case this type of failure?

Craig
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@...
http://mail.python.org/mailman/listinfo/cplusplus-sig