[ckan-dev] Exception with display_name?
Christoph Blank
cb at unused.at
Mon Aug 6 06:55:14 UTC 2018
Can anyone help with the issue below? I'm stuck :(
Hi there,
>
> I'm trying to setup ckan with docker-compose and am stuck with a
> particular extension.
> I'm not sure if this issue is related to the extension itself, though.
>
> I'm trying to use: https://github.com/ViderumGlobal/ckanext-orgportals
>
> If I navigate to the organizations edit page, I get an internal server
> error:
> https://gist.github.com/solars/33c6eed1cce6395dfa5be0531a5ab88b
>
> Specifically:
>
> File '/usr/lib/ckan/venv/src/ckanext-orgportals/ckanext/orgportals/helpers.py',
> line 354 in <lambda> 'text': item['display_name']
> KeyError: 'display_name' The corresponding code seems to be this:
> https://github.com/ViderumGlobal/ckanext-orgportals/blob/master/
> ckanext/orgportals/helpers.py#L354
> I'm not sure about the exact call, but does anyone familiar with the
> changes in ckan know if there was a change, i.e. the key was removed or
> similar?
> Or can anyone tell me how to set this particular key? I couldn't find
> anything.
>
> Thanks for your help!
> Christoph
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20180806/e71fd2b0/attachment.html>
More information about the ckan-dev
mailing list