24 Nov 15:35
Re: Unrecoverable error in the server.
From: dundeemt <dundeemt@...>
Subject: Re: Unrecoverable error in the server.
Newsgroups: gmane.comp.python.cherrypy
Date: 2008-11-24 14:35:16 GMT
Subject: Re: Unrecoverable error in the server.
Newsgroups: gmane.comp.python.cherrypy
Date: 2008-11-24 14:35:16 GMT
> and the simple test app:
>
> import cherrypy
>
> class Root:
> @cherrypy.expose
> def index(self):
> return 'Hi there, Ho there, Hey there'
>
> def setup_server():
> # Set up site-wide config. Do this first so that,
> # if something goes wrong, we get a log.
> cherrypy.config.update({'environment': 'production',
> 'log.screen': False,
> 'log.error_file': 'site.log',
> 'show_tracebacks': False})
>
> cherrypy.tree.mount(Root())
>
3 questions:
1) What is the filename of the app listed above? (myapp.py ?)
2) What is in site.log and the apache error.log
3) You do have mod_python installed, correct?
-jeff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users@...
To unsubscribe from this group, send email to cherrypy-users+unsubscribe <at> googlegroups.com
(Continue reading)
RSS Feed