Re: [sqlalchemy] sqlalchemy.orm.exc.StaleDataError upon migration from SQLAlchemy 1.1.15 to 1.2.0 or 1.2.1

2018-01-27 Thread raj . abhilash1
Hi Mike, I am one of the other Mailman developers, just following up on behalf of Mark. On Sunday, 21 January 2018 06:51:29 UTC-8, Mike Bayer wrote: > > here are a few questions: > > 1. is mailman using the version_id mapper feature with these mappings ? > No, Mailman isn't using version_id

Re: [sqlalchemy] How right use session/scoped_session in web app?

2018-01-27 Thread Mike Bayer
On Sat, Jan 27, 2018 at 5:49 AM, Евгений Рымарев wrote: > I receive this error: > This result object does not return rows. It has been closed automatically. there's a lot of weird situations which can cause that error, usually when using a connection that has had some

Re: [sqlalchemy] How right use session/scoped_session in web app?

2018-01-27 Thread Евгений Рымарев
I receive this error: This result object does not return rows. It has been closed automatically. суббота, 27 января 2018 г., 1:09:53 UTC+3 пользователь Mike Bayer написал: > > On Fri, Jan 26, 2018 at 4:21 PM, Евгений Рымарев > wrote: > > Hello, everyone! > > Engine:

Re: [sqlalchemy] How right use session/scoped_session in web app?

2018-01-27 Thread Евгений Рымарев
I use mssql 2017 with compatibility level = 100 (mssql 2008). I enable ALLOW_SNAPSHOT_ISOLATION and READ_COMMITTED_SNAPSHOT, but that not solve a problem. When i run application via python manage.py (one thread) all works normal. суббота, 27 января 2018 г., 1:09:53 UTC+3 пользователь Mike Bayer