You have the User instance which is already expunged from the session.

Look for lib/base.py in your project and at the end of
BaseController.__call__ add:

try:
    request.identity['user'] =
model.DBSession.merge(request.identity['user'])
except:
    request. identity = None

Let me know if this is enough to solve your problem.

On Tue, Jun 23, 2015 at 8:05 PM, Diego García <[email protected]>
wrote:

>
> I'm still in the login with fbauth and ontengo the following:
> sqlalchemy.orm.exc.DetachedInstanceError
>
>
> DetachedInstanceError: Parent instance <User at 0x7fcd134c0090> is not
> bound to a Session; lazy load operation of attribute 'fbauth' cannot
> proceed
> Traceback (most recent call last)
>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to