Re: enable_ptl seems to fail override import (quixote-1.0)

David Binger <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.