During the upgrade to the current version of Pylons (0.9.6.1) and
Beaker (0.8) db-based session and cache handling broke.

The beaker config options are passed on to the create_engine call from
sqlalchemy which raises an exception.

For now I patched beaker.ext.database so that sa_opts is an empty dict
before doing the make_meta call:

  #if sa_opts is None:
  #    sa_opts = params
  sa_opts = {}

I am using the following pylons config:

beaker.session.namespace_class = ext:database
beaker.session.url = mysql://XXX:[EMAIL PROTECTED]/tempstorage_db
beaker.session.table_name = sessions
beaker.session.lock_dir = %(here)s/data/sessionlocks

What is the proper way to configure ext.database for use with current
pylons?

Thanks,

Bob


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

Reply via email to