[ckan-dev] Error when adding ressource
Vitor Baptista
vitor at vitorbaptista.com
Tue Mar 12 16:50:11 UTC 2013
Hi Ian,
When you're able to pinpoint where's the error and create the issue, please
send it here as well.
Cheers,
Vítor Baptista.
2013/3/12 Ian Ward <ian at excess.org>
> Hi Fabian,
>
> I'm getting the same error now too. It started when I added
> convert_from_extras to a field in the schema returned by my
> db_to_form_schema() method. I can't reproduce the problem with the
> example_idatasetform plugin in the example_idatasetform_without_tests
> branch though.
>
> When I can come up with a minimal failing example I'll create an issue
> on github.
>
>
>
> On Mon, Mar 11, 2013 at 9:40 AM, Kirstein, Fabian
> <fabian.kirstein at fokus.fraunhofer.de> wrote:
> > Hi,
> >
> > I tried it but the error remains the same.
> > I try to understand what is going wrong. When adding a resource the
> package is updated and the dict is
> > validated against the schema, which causes the error. But when I just
> update the package by editing a dataset, everything
> > work well. This is very strange.
> >
> >
> >
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: ckan-dev-bounces at lists.okfn.org [mailto:
> ckan-dev-bounces at lists.okfn.org] Im Auftrag von Ian Ward
> > Gesendet: Montag, 11. März 2013 14:04
> > An: CKAN Development Discussions
> > Betreff: Re: [ckan-dev] Error when adding ressource
> >
> > On Mon, Mar 11, 2013 at 6:53 AM, Kirstein, Fabian <
> fabian.kirstein at fokus.fraunhofer.de> wrote:
> >> File '/home/fki/oc/src/ckan/ckan/lib/navl/dictization_functions.py',
> >> line
> >> 393 in unflatten
> >>
> >> current_pos = current_pos[key]
> >>
> >> IndexError: list index out of range
> >
> > That sounds like a bug I fixed recently. Try running the code from the
> release-v2.0 branch.
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130312/d7d3dbaf/attachment-0001.html>
More information about the ckan-dev
mailing list