1. Graham Higgins
  2. Shabti
Issue #8 resolved

shabti_formalchemy: controllers/login.py

Vladimir Dronnikov
created an issue

Module app.controllers.login:30 in signin view

if session.get('redirect'): AttributeError: 'ScopedSession' object has no attribute 'get'

{{{

!python

from pylons import url, request, response, session, tmpl_context as c }}}

'pylons.session' gets hidden by (implicitly imported later, I think) 'sqlalchemy.session'

Moving {{{

!python

from pylons import url, request, response, session, tmpl_context as c }}}

to the end of imports solves the issue.

Regards,

Vladimir

Comments (2)

  1. Graham Higgins repo owner

    I'm leaving this open as I suspect that there's a deeper issue that needs resolving. I have seen it myself a couple of time but unfortunately my system wasn't in a sufficiently stable state to support investigation. I'll nail it next time I hope.

  2. Log in to comment