[ckan-dev] DetachedInstanceError

Joe Tsoi joe.tsoi at okfn.org
Fri Mar 28 02:10:22 UTC 2014


Hi Aníbal,

Are you able to reproduce this on a development server? It'd be really
useful to get the full traceback so we can look further

Joe

On 26 March 2014 17:56, Aníbal Pacheco <anibal.pacheco at agesic.gub.uy> wrote:
> Hello, we have this error 500 when accessing to the related tab of a dataset
> using a user logged in, server log:
>
> [error] [client x.x.x.x] Error - <class
> 'sqlalchemy.orm.exc.DetachedInstanceError'>: Parent instance <Package at
> 0x7f1233618b10> is not bound to a Session; lazy load operation of attribute
> 'related' cannot proceed, referer: ...
>
> When the user is not logged the related view works perfect.
>
> Any help? Thanks
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev



More information about the ckan-dev mailing list