During exception handling pyramid_tm will have already rolled back, and the
database session is no longer valid for use. Any access will cause sqlalchemy
to raise.
Please verify you are using the latest version of Pyramid and pyramid_tm, and
then read this note:
Hey,
This is a known issue with the way we add new attributes and functions to the
request object. pyramid.util.Request does not exist. pyramid.request.Request is
still the underlying object.
This has been fixed in https://github.com/Pylons/pyramid/pull/3129.
Bert
> On Jan 27, 2018, at