If it were me, I would start an interactive python shell
with the -v flag, import and call enable_ptl() and then
call __import__('main') (or "import main") to see if that
exposes anything unexpected. Is there a stray "main"
somewhere on your path?
You noted that your test doesn't import 'main', but what
does happen? Is it just an ImportError traceback?
You could try removing cimport.so, but I doubt if it has
anything to do with this.
There are a few packages in the world that don't seem to work
very well with the (standard) ihooks module that ptl uses.
ZODB was one of these (and may still be, I don't know), as was
biopython. The cure for those seemed to be to import those
packages before calling enable_ptl(). You might try calling
enable_ptl() after importing everything else.
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users