Hi Andrew,

IMO for increasing your chances, ask on the CherryPy mailing-list as well since
it is more a problem relaed to CP than TG.

The list is a bit quiet these days but someone will get back to you :)
- Sylvain

Selon Andrew <[EMAIL PROTECTED]>:

>
> Thanks Anders,  the modification to the start script got me further
> along.  But now I am hitting a complicated error, one I see another
> post found, but to which there is no resolution in the thread.
>
> I have my project in /var/www/html, where apache's DocumentRoot is set
> to, and am
> trying to use mod_python/mpcp.  Below is the error I get.  Any help?
> Tx,Andrew
>
> ===browser===
> Mod_python error: "PythonHandler mpcp"
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
> 299, in HandlerDispatch
>     result = object(req)
>   File "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg/mpcp.py",
> line 77, in handler
>     setup(options)
>   File "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg/mpcp.py",
> line 61, in setup
>     mod = __import__(modname, globals(), locals(), [fname])
>   File "/var/www/html/summitcamp_start.py", line 39, in ?
>     from summitcamp.controllers import Root
>   File "/var/www/html/summitcamp/controllers.py", line 3, in ?
>     import turbogears
>   File
>
"/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/__init__.py",
> line 13, in ?
>     from turbogears import controllers
>   File
>
"/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/controllers.py",
> line 2, in ?
>     import view
>   File
>
"/usr/lib/python2.4/site-packages/TurboGears-0.8a4-py2.4.egg/turbogears/view.py",
> line 4, in ?
>     import kid
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/__init__.py",
> line 23, in ?
>     from kid.pull import ElementStream, Element, SubElement, Fragment,
> \
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/pull.py",
> line 11, in ?
>     from kid.et import *  # ElementTree
>   File
> "/usr/lib/python2.4/site-packages/kid-0.7adev_r186-py2.4.egg/kid/et.py",
> line 14, in ?
>     from cElementTree import *
>   File "build/bdist.linux-i686/egg/cElementTree.py", line 7, in ?
>   File "build/bdist.linux-i686/egg/cElementTree.py", line 4, in
> __bootstrap__
>   File
>
"/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 676, in resource_filename
>     return get_provider(package_or_requirement).get_resource_filename(
>   File
>
"/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 1064, in get_resource_filename
>     self._extract_resource(manager, self._eager_to_zip(name))
>   File
>
"/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 1081, in _extract_resource
>     real_path = manager.get_cache_path(self.egg_name,
> self._parts(zip_path))
>   File
>
"/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 713, in get_cache_path
>     ensure_directory(target_path)
>   File
>
"/usr/lib/python2.4/site-packages/setuptools-0.6a8-py2.4.egg/pkg_resources.py",
> line 2137, in ensure_directory
>     os.makedirs(dirname)
>   File "/usr/lib/python2.4/os.py", line 156, in makedirs
>     makedirs(head, mode)
>   File "/usr/lib/python2.4/os.py", line 159, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 13] Permission denied: '/root/.python-eggs'
> ===browser===
>
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to