TurboGears / tgext.pluggable

Pluggable applications support for TurboGears2
11 stars 13 forks source link

SAWarning: At least one scoped session is already present. #14

Open nomed opened 10 years ago

nomed commented 10 years ago

Hi ,

when i activate my pluggable app i get the following:

model/init.py:43: SAWarning: At least one scoped session is already present. configure() can not affect sessions that have already been created. DBSession.configure(bind=engine) Creating tables Initializing Migrations alembic 16:18:40,106 INFO [alembic.migration] Context impl MySQLImpl. 16:18:40,107 INFO [alembic.migration] Will assume non-transactional DDL. 16:18:40,202 ERROR [cliff.app] Could not locate a bind configured on mapper Mapper|Group|tg_group or this Session

any idea on how to fix it ?