On Jun 20, 11:11 pm, zubinix <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm a Dreamhost (web hosting) user trying to get TurboGears up and
> running on my account. To that end I followed the instructions for
> doing this as written here:
>
> http://trac.turbogears.org/wiki/TurboGearsOnDreamHost
>
> for the cherrypy setup. I installed and setup my own version of Python
> 2.4 as instructed, downloaded+installed  turbogears and setup a
> practice wiki project. This is what happens when I try to run it:
>
> ./start-wiki20.py
> 2007-06-20 05:34:44,132 cherrypy.msg INFO CONFIG: Server parameters:
> 2007-06-20 05:34:44,134 cherrypy.msg INFO CONFIG:
> server.environment: developm             ent
> 2007-06-20 05:34:44,135 cherrypy.msg INFO CONFIG:
> server.log_to_screen: True
> 2007-06-20 05:34:44,136 cherrypy.msg INFO CONFIG:   server.log_file:
> 2007-06-20 05:34:44,136 cherrypy.msg INFO CONFIG:
> server.log_tracebacks: True
> 2007-06-20 05:34:44,137 cherrypy.msg INFO CONFIG:
> server.log_request_headers:              True
> 2007-06-20 05:34:44,137 cherrypy.msg INFO CONFIG:
> server.protocol_version: HTT             P/1.0
> 2007-06-20 05:34:44,138 cherrypy.msg INFO CONFIG:
> server.socket_host:
> 2007-06-20 05:34:44,138 cherrypy.msg INFO CONFIG:
> server.socket_port: 18081
> 2007-06-20 05:34:44,138 cherrypy.msg INFO CONFIG:
> server.socket_file:
> 2007-06-20 05:34:44,139 cherrypy.msg INFO CONFIG:
> server.reverse_dns: False
> 2007-06-20 05:34:44,139 cherrypy.msg INFO CONFIG:
> server.socket_queue_size: 5
> 2007-06-20 05:34:44,140 cherrypy.msg INFO CONFIG:
> server.thread_pool: 10
> 2007-06-20 05:34:44,879 cherrypy.msg INFO HTTP: Serving HTTP 
> onhttp://localhost            :18081/
> 2007-06-20 05:34:45,007 cherrypy.msg INFO ENGINE: SystemExit raised:
> shutting do             wn autoreloader
> 2007-06-20 05:34:45,008 cherrypy.msg INFO HTTP: HTTP Server shut down
> 2007-06-20 05:34:45,013 cherrypy.msg INFO ENGINE: CherryPy shut down
>
> As you can see the CherryPy server starts up and then shuts down
> immediately. Can anyone help me to debug this problem. It seems I am
> very close to a working setup, just need to get over the last few
> hurdles.

You need to make sure the auto-reload feature is turned off. The code
on that page says?

    # Set environment to production to disable auto-reload and
    # add virutal path information.
    cherrypy.config.update({
        'global': {'server.environment': 'production'},
        '/': {'virtualPathFilter.on': True,
              'virtualPathFilter.prefix': "/tg_fastcgi.fcgi"
          }})

but your configuration shows in your logs:

        server.environment: development

So you didn't do what the documentation said to do.

The other way within configuration which I think works to turn of
autoreload is:

        'global': {'autoreload.on': False}

Graham


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to