[ckan-dev] List Index Error
Marina S. Martin
marina at marinamartin.com
Mon Apr 22 02:22:35 UTC 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130421/817a187f/attachment.html>
More information about the ckan-dev
mailing list