#### rpy2-nose.py ######### #import numpy # uncomment this line and it will fail with a bus error from rpy2 import robjects import numpy # importing numpy after the robjects module works fine
def test(): pass ######################### If the code above is executed via python directly, there is no problem: $ python rpy2-nose.py However, when executing via nose (such as when a test suite may have the above imports): $ nosetests rpy2-nose.py the code will execute correctly, but then hang on exit until a Bus Error occurs on my system if numpy is imported before the robjects submodule of rpy2 as denoted above. I am running: os x 10.5.8 python 2.6.6 rpy2.__version__ == '2.1.9' numpy.__version__ == '1.5.0' nose.__version__ == '0.11.3' Any idea why this would be happening? Thanks. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list