On 6/5/06, kerinin <[EMAIL PROTECTED]> wrote:

> did you made any changes to the config files?
>
> configOBJ will fail if the same section has 2 keys with the same name (and
> remenber sections can be across files)
>
> is there any leading whitespaces?
>

the only change i made to any config files was to set the database in
dev.cfg - here's what's in that file now:

[global]
# This is where all of your settings go for your development
environment
# Settings that are the same for both development and production
# (such as template engine, encodings, etc.) all go in
# tt/config/app.cfg

# DATABASE

# pick the form for your database
# sqlobject.dburi= "postgres://[EMAIL PROTECTED]/databasename"
sqlobject.dburi="mysql://tt:[EMAIL PROTECTED]/tt"
# sqlobject.dburi="sqlite:///file_name_and_path"

in newer versions there is a "default sqllite enable by default, I have complain about this for a while.

look a little lower for a line like this
14 # If you have sqlite, here's a simple default to get you started
15 # in development
16 sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"

you have to comment that one out since it's givin 2 copies of the same key


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

Reply via email to