Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 8 and Version 9 of ModPythonIntegration


Ignore:
Timestamp:
12/10/05 16:34:25 (14 years ago)
Author:
anders@…
Comment:

added some info about the problems with zipped eggs

Legend:

Unmodified
Added
Removed
Modified
  • ModPythonIntegration

    v8 v9  
    4040To get this running on a Linux machine a little more work is required to correctly map file paths.  Here is my working start script: 
    4141{{{ 
     42#!python 
    4243import pkg_resources 
    4344pkg_resources.require("TurboGears") 
     
    5960cherrypy.root = Root() 
    6061}}} 
     62 
     63If you get a 500 error and a long, ugly traceback ending with something like:  
     64 
     65{{{ 
     66[Sat Dec 10 16:22:51 2005] [error] [client 127.0.0.1] PythonHandler mpcp:   File "/usr/lib/python2.4/os.py", line 159, in makedirs\n    mkdir(name, mode) 
     67[Sat Dec 10 16:22:51 2005] [error] [client 127.0.0.1] PythonHandler mpcp: OSError: [Errno 13] Permission denied: '/home/httpd' 
     68}}} 
     69 
     70the problem is probably that one (or more) eggs that your application (or turbogears) wants to use are zipped. You will need to figure out which one(s) are problematic and reinstall them using 'easy_install -Z' (or just go into your site-packages directory and manually unzip them to the right places).