Hi I am trying to install trac with modpython on apache.

I am getting the followin error message:

MOD_PYTHON ERROR

ProcessId:      28842
Interpreter:    'main_interpreter'

ServerName:     'dev.influenzanet.com'
DocumentRoot:   '/home/httpd/v048.mm.fccn.pt/html'

URI:            '/'
Location:       '/'
Directory:      None
Filename:       '/home/httpd/v048.mm.fccn.pt/html/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'trac.web.modpython_frontend'

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1128, in _execute_target
    result = object(arg)

  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/
web/modpython_frontend.py", line 143, in handler
    reload(sys.modules['trac.web'])

  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/
web/__init__.py", line 10, in <module>
    from trac.web.api import *

  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/
web/api.py", line 29, in <module>
    from trac.util import get_last_traceback, md5, unquote

  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/
util/__init__.py", line 33, in <module>
    from trac.util.html import escape, unescape, Markup, Deuglifier

  File "/usr/lib/python2.5/site-packages/Trac-0.11.3-py2.5.egg/trac/
util/html.py", line 16, in <module>
    from genshi import Markup, escape, unescape

  File "/usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-
i686.egg/genshi/__init__.py", line 32, in <module>

  File "/usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-
i686.egg/genshi/core.py", line 544, in <module>

  File "/usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-
i686.egg/genshi/_speedups.py", line 7, in <module>

  File "/usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-
i686.egg/genshi/_speedups.py", line 4, in __bootstrap__

  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 841,
in resource_filename
    self, resource_name

  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1311,
in get_resource_filename
    return self._extract_resource(manager, zip_path)

  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1332,
in _extract_resource
    self.egg_name, self._parts(zip_path)

  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 921,
in get_cache_path
    self.extraction_error()

  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 887,
in extraction_error
    raise err

ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the
Python egg
cache:

  [Errno 13] Permission denied: '/home/flavio/dev'

The Python egg cache directory is currently set to:

  /home/flavio/dev/frontend/.egg-cache

Perhaps your account does not have write access to this directory?
You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

So I chmoded 777 /home/flavio/dev/frontend/.egg-cache, that is, anyone
can now write to it. But I am still getting the same error message.
here is the info on the directory:

[fla...@v048 ~]$ stat dev/frontend/.egg-cache/
  File: `dev/frontend/.egg-cache/'
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 811h/2065d      Inode: 9503298     Links: 2
Access: (0777/drwxrwxrwx)  Uid: (   48/  apache)   Gid: (   48/
apache)
Access: 2009-03-04 14:13:14.000000000 +0000
Modify: 2009-03-04 14:13:14.000000000 +0000
Change: 2009-03-04 14:19:18.000000000 +0000


anyone knows what is going on?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to