[ckan-dev] DetachedInstanceError

Aníbal Pacheco anibal.pacheco at agesic.gub.uy
Fri Mar 28 17:55:30 UTC 2014


Yes Joe, here: https://gist.github.com/anibalpacheco/9838846
Thanks

On 27/03/14 23:10, Joe Tsoi wrote:
> 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