[ckan-dev] List Index Error

Marina S. Martin marina at marinamartin.com
Mon Apr 22 04:23:48 UTC 2013


Here's the traceback:

http://pastebin.com/WZW4YRq7

Thanks!


On Sun, Apr 21, 2013 at 8:20 PM, Nigel Babu <nigel.babu at okfn.org> wrote:

> Hi Marina,
>
> Can you pastebin the full traceback for IndexError?
>
> Nigel.
>
>
> On 22 April 2013 07:52, Marina S. Martin <marina at marinamartin.com> wrote:
>
>> I'm having trouble tracking down the source of an error.
>>
>> I can add a new package with a resource, no problem. But when I try to
>> add a second resource to an *existing* package, I get a generic "Server
>> Error"
>>
>> /apache2/error.log just shows:
>> IndexError: list index out of range
>>
>> I have LogLevel set to debug... still nothing helpful, no references to
>> line numbers or variables, etc.
>>
>> I'm running in production so if I change debug = true in development.ini,
>> it complains it can't run in a multi-process environment.
>>
>> I do have an extension that inserts custom fields and facets (thanks to
>> Sean and tobes for getting this going!):
>> https://github.com/MarinaMartin/USMetadata
>>
>> I have also modified the core additional_info.html template.
>>
>> I looked through /ckan/controllers/package.py at the parts that add a
>> resource, but I don't see a clear spot that would be hit when adding a new
>> resource to an existing package (again, works fine when adding to a new
>> package).
>>
>> Thanks in advance if anyone can point me to the place to look for a fix.
>>
>> Marina
>>
>> _______________________________________________
>> 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/20130421/3f88a709/attachment-0001.html>


More information about the ckan-dev mailing list