I got Error:
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.
after trying to start from /another/path/project/dir/start-project.py
&
umm the error is misleading
If I start as:
./start-project.py &
its OK.
yes because it can find the config files.
TG-9.5a
What`s wrong?
if you open up your start-*.py file you will see it looks for a commandline param, then for dev.cfg and if thats not present it falls back to prod.cfg (note all are in the current directory)
So something like python /another/path/project/dir/start-project.py /path/to/project/dev.cfg should work
you can also freely edit that file to do whatever you like, since it's an autogenerated "with good defaults"
if I'm not mistaken turbogears.update_config can take packages, not sure about paths, its a ConfigObj (http://cheeseshop.python.org/pypi/ConfigObj/) but I'm sure you can work it out :)
Dem
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

