I am in the process of upgrading an ancient (TG 0.8) application 
step-by-step (going through the intermediate versions) up to TG 1.5.1.

So far everything works, I can run the application in using the built-in 
cherrypy server. But now I wanted to give it a go behind mod_wsgi. So I was 
following 
http://turbogears.org/1.5/docs/Deploy/ApacheWsgi.html?highlight=wsgi#create-the-wsgi-script-for-your-application

My WSGI script currently contains the following:

activate_this = '/var/www/cover/tg15env/bin/activate_this.py'
execfile(activate_this, dict(__file__=activate_this))

from cover import command

application = command.start()

# vim: set ft=python :


Next, I simply tried to run it from the command-line, and it gives me the 
following error:

AttributeError: 'module' object has no attribute 'start'


Grepping around, I found a "start_server" method and I get the same error. 
Strangely it all seems to be tucked away in "test" files. Is the 
documentation outdated? How do I get a reference to the WSGI application?

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to