dundeemt | 24 Nov 15:35

Re: Unrecoverable error in the server.


> 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)

Darren Govoni | 24 Nov 17:47

Re: Unrecoverable error in the server.


Hey guys,

>3 questions:
> 1) What is the filename of the app listed above? (myapp.py ?)
Yes.

> 2) What is in site.log and the apache error.log
Not sure where site.log is, but nothing interesting in apache error.log

> 3) You do have mod_python installed, correct?
Yes.

I also added:
 cherrypy.tree.mount(Root(),'myapp')

Per the other suggestion.

On Mon, 2008-11-24 at 06:35 -0800, dundeemt wrote:
> > 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,
(Continue reading)

Gravatar

Re: Unrecoverable error in the server.


On Mon, Nov 24, 2008 at 11:47 AM, Darren Govoni <darren@...> wrote:
> I also added:
>  cherrypy.tree.mount(Root(),'myapp')

My mistake!  I meant to type '/myapp'.  See if that helps.

Christian
http://www.dowski.com

--~--~---------~--~----~------------~-------~--~----~
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@...
For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Darren Govoni | 24 Nov 18:34

Re: Unrecoverable error in the server.


Naw, still getting the error. I tested mod_python and it works fine on
other directories. But when I go to the CP location, server error.

On Mon, 2008-11-24 at 11:55 -0500, Christian Wyglendowski wrote:
> On Mon, Nov 24, 2008 at 11:47 AM, Darren Govoni <darren@...> wrote:
> > I also added:
> >  cherrypy.tree.mount(Root(),'myapp')
> 
> My mistake!  I meant to type '/myapp'.  See if that helps.
> 
> Christian
> http://www.dowski.com
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
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@...
For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Darren Govoni | 24 Nov 17:47

Re: Unrecoverable error in the server.


I'm using 3.1.1 btw on Ubuntu 8.04

On Mon, 2008-11-24 at 06:35 -0800, dundeemt wrote:
> > 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
> > 
(Continue reading)


Gmane