Skip to content

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

@nomed

Description

@nomed

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions