Google Groups Home
Help | Sign in
?TurboGears requires autoreload.package to be set
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Andy  
View profile
 More options Mar 27, 11:43 am
From: Andy <andy.lists.ban...@gmail.com>
Date: Thu, 27 Mar 2008 08:43:02 -0700 (PDT)
Local: Thurs, Mar 27 2008 11:43 am
Subject: ?TurboGears requires autoreload.package to be set
I'm trying to start TG on my production server but it aborts with this
message:

"TurboGears requires autoreload.package to be set. It can be an empty
value, which will use CherryPy's default behavior which is to check
every module. Setting an actual package makes the check much faster."

I am using my start script followed by -c config/prod.cfg.

prod.cfg *does* have the autoreload.package set. I've tried it with
the autoreload turned on, as well. So I can't think of what else to
try....

Anybody know something about this issue?

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Arndt  
View profile
 More options Mar 27, 12:06 pm
From: Christopher Arndt <chris.ar...@web.de>
Date: Thu, 27 Mar 2008 17:06:07 +0100
Local: Thurs, Mar 27 2008 12:06 pm
Subject: Re: ?TurboGears requires autoreload.package to be set
Andy schrieb:

> I'm trying to start TG on my production server but it aborts with this
> message:

> "TurboGears requires autoreload.package to be set. It can be an empty
> value, which will use CherryPy's default behavior which is to check
> every module. Setting an actual package makes the check much faster."

> I am using my start script followed by -c config/prod.cfg.

> prod.cfg *does* have the autoreload.package set. I've tried it with
> the autoreload turned on, as well. So I can't think of what else to
> try....

> Anybody know something about this issue?

Code, please. Paste your prod.cfg and post the URL. Also give us some
more info about your TG project (name, package name, etc).

Chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy  
View profile
 More options Mar 27, 12:32 pm
From: Andy <andy.lists.ban...@gmail.com>
Date: Thu, 27 Mar 2008 09:32:02 -0700 (PDT)
Local: Thurs, Mar 27 2008 12:32 pm
Subject: Re: ?TurboGears requires autoreload.package to be set

> Code, please. Paste your prod.cfg and post the URL. Also give us some
> more info about your TG project (name, package name, etc)

name = pit1, package name = pit1

(tgenv)andre...@bananabread.net [~/tgenv/lib/python2.4/site-packages/
pit1-1.0-py2.4.egg]# cat config/prod.cfg
[global]

# pit1/config/app.cfg

# DATABASE

sqlobject.dburi="mysql://andrewbn_tgapp:XXXXPASSXXX@localhost:3306/
andrewbn_PitMusician"

# Auto-Reload after code modification
#autoreload.on = True
# SERVER

server.environment="production"
autoreload.package="pit1"

# Sets the number of threads the server uses
# server.thread_pool = 1

# if this is part of a larger site, you can set the path
# to the TurboGears instance here
# server.webpath=""

# LOGGING
# Logging configuration generally follows the style of the standard
# Python logging module configuration. Note that when specifying
# log format messages, you need to use *() for formatting variables.
# Deployment independent log configuration is in pit1/config/log.cfg
[logging]

[[handlers]]

[[[access_out]]]
# set the filename as the first argument below
args="('server.log',)"
class='FileHandler'
level='INFO'
formatter='message_only'

[[loggers]]
[[[pit1]]]
level='ERROR'
qualname='pit1'
handlers=['error_out']

[[[access]]]
level='INFO'
qualname='turbogears.access'
handlers=['access_out']
propagate=0


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Arndt  
View profile
 More options Mar 27, 12:36 pm
From: Christopher Arndt <chris.ar...@web.de>
Date: Thu, 27 Mar 2008 17:36:58 +0100
Local: Thurs, Mar 27 2008 12:36 pm
Subject: Re: ?TurboGears requires autoreload.package to be set
Andy schrieb:

> I'm trying to start TG on my production server but it aborts with this
> message:

> "TurboGears requires autoreload.package to be set. It can be an empty
> value, which will use CherryPy's default behavior which is to check
> every module. Setting an actual package makes the check much faster."

> I am using my start script followed by -c config/prod.cfg.

The syntax is: start-yourproject.py <configfile>

No "-c" here.

> prod.cfg *does* have the autoreload.package set. I've tried it with
> the autoreload turned on, as well. So I can't think of what else to
> try....

You don't need autoreload.package when server.environment="production"
is set.

Chris


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andy  
View profile
 More options Mar 27, 1:07 pm
From: Andy <andy.lists.ban...@gmail.com>
Date: Thu, 27 Mar 2008 10:07:22 -0700 (PDT)
Local: Thurs, Mar 27 2008 1:07 pm
Subject: Re: ?TurboGears requires autoreload.package to be set

> The syntax is: start-yourproject.py <configfile>

> No "-c" here.

oh. That solved it. I was still using the -c from the tg-admin sql
create command.

> You don't need autoreload.package when server.environment="production" is set.

That's why the message seemed weird.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google