This looks like it may be exactly what I need. However, I am running
into some problems. Currently, I'm getting this TurboGears error:

--
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0_betadev-py2.4.egg/cherrypy/_cphttptools.py",
line 276, in run
    main()
  File
"/usr/lib/python2.4/site-packages/CherryPy-2.1.0_betadev-py2.4.egg/cherrypy/_cphttptools.py",
line 498, in main
    body = page_handler(*args, **cherrypy.request.paramMap)
  File
"/usr/lib/python2.4/site-packages/TurboGears-0.5.1-py2.4.egg/turbogears/controllers.py",
line 93, in newfunc
    output = func(self, *args, **kw)
TypeError: default() takes exactly 2 arguments (3 given)
--

Now, I wasn't able to install mpcp via ez_setup (for some reason,
mod_python can't see it - so I just dropped into my wiki20 directory),
but I don't feel like that's the problem.

Any ideas?

Here's my new wiki20_start.py file - as its the only thing I've
changed:
--
#!/usr/bin/env python
import pkg_resources
pkg_resources.require("TurboGears")

import cherrypy
from os.path import *

# look for setup.py in this directory. If it's not there, this script
is
# probably installed
if exists(join(dirname(__file__), "setup.py")):

cherrypy.config.update(file="/home/leomendoza/public_html/wiki20/dev.cfg")
else:

cherrypy.config.update(file="/home/leomendoza/public_html/wiki20/prod.cfg")

from wiki20.controllers import Root

cherrypy.root = Root()

if __name__ == '__main__':
    cherrypy.server.start()

def mp_setup():
    pass
---


Thanks in advance for all your help,
leo

Reply via email to