I'm using a DB engine that is implicitly created by
turbogears.database.get_engine() and would like to use a custom
connection pool. Recently addressed ticket #1215 (changeset #2318)
added functionality of passing SQLAlchemy related parameters to the
engine constructor. It worked for simple parameters (i.e.
sqlalchemy.echo_pool), but it doesn't seem to work for
sqlalchemy.poolclass. When I tried the following:
sqlalchemy.poolclass = sqlalchemy.pool.QueuePool
I got configobj.UnreprError:
File "start-cawa.py", line 19, in ?
update_config(configfile="dev.cfg",modulename="cawa.config")
File "c:\python24\lib\site-packages\TurboGears-1.0.1-py2.4.egg
\turbogears\config.py", line 206, in update_config
configdict = config_obj(configfile, modulename).dict()
File "c:\python24\lib\site-packages\TurboGears-1.0.1-py2.4.egg
\turbogears\config.py", line 192, in config_obj
configdata2 = ConfigObj(configfile, unrepr=True)
File "c:\python24\lib\site-packages\configobj-4.4.0-py2.4.egg
\configobj.py", line 1252, in __init__
raise error
configobj.UnreprError: Unknown name or type in value at line 20.
Is there a particular syntax I should use for a class name?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---