[ckan-dev] package_update throws error when adding extra field

Ian Ward ian at excess.org
Mon Feb 4 13:08:47 UTC 2013


On Thu, Jan 31, 2013 at 8:53 AM, Kirstein, Fabian
<fabian.kirstein at fokus.fraunhofer.de> wrote:
> File '/home/fki/pyenv/src/ckan/ckan/lib/navl/dictization_functions.py', line
> 394 in unflatten
>
>   current_pos = current_pos[key]
>
> IndexError: list index out of range

This error suggests current_pos has become a string or list when the
code is expecting a dict.  It would be interesting to see the value of
the data parameter to the unflatten function when it fails this way.

Ian




More information about the ckan-dev mailing list