Thanks for the replies.

I tried with mod_python and I feel I am close
using the receipe by Alberto
http://trac.turbogears.org/wiki/ModPythonIntegration09
(that is the latest I found)

also running python setup.py install successfully for myapp
however somehow some permission is not correct:
As apache2 serves this:

Mod_python error: "PythonFixupHandler tg3remote.tg3remote_modpython.py"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
287, in HandlerDispatch
    log=debug)

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
464, in import_module
    module = imp.load_module(mname, f, p, d)

  File
"/usr/lib/python2.4/site-packages/tg3remote-1.0-py2.4.egg/tg3remote/tg3remote_modpython.py",
line 1, in ?
    import pkg_resources

  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 2470, in ?
    working_set = WorkingSet()

  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 343, in __init__
    self.add_entry(entry)

  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 358, in add_entry
    for dist in find_distributions(entry, True):

  File
"/usr/lib/python2.4/site-packages/setuptools-0.6c3-py2.4.egg/pkg_resources.py",
line 1577, in find_on_path
    for entry in os.listdir(path_item):

OSError: [Errno 13] Permission denied: '/'



I am testing this on Mandriva2007 which has this awkward non standard
python setup.
and TG 1.0


Db


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to