Hi group

I installed quixote on my new root server today and uploaded my app
and encountered the following problem:

enable_ptl seems not to work as expected.
I dont get any error msg, havent used debugger yet, only my own simple
logging which tells me the last executed statement is calling
_get_module in publish.py, coming from Publisher.__init__ /
SessionPublisher.__init__ in my index.cgi

def _get_module (name):
    """Get a module object by name."""
    log(sys.path)   # path is ok
    name='main'     # for testing only
    __import__(name)

It doesnt import main.ptl, so i guess the import hook isnt overridden
by enable_ptl() which is actually called by my app before.
Googling brought my a few postings about this import / ihook / ptl
thingie and i see it sometimes can cause trouble ie wiht other
site-packages - i have sqlobject code somewhere but unused and
commented out so that's probably not the cause - just wanted to
mention it.

I use quixote-1.0 on python-2.3.5 on gentoo linux at home and on my
root server same (i think) configuration, it works fine at home.

additionally i can tell that in cimport in ptl_import is:
<module 'quixote.cimport' from
'/usr/lib/python2.3/site-packages/quixote/cimport.so'>

what should i try next?

TIA
Florian

-- 
http://florian-konnertz.de
http://openspirit.de - semantic web development
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to