[ckan-dev] Datastorer error: Can't find logic function: datastore_create

Jose Luis Barrera jl.barrera.trancoso at gmail.com
Tue Oct 23 09:31:36 UTC 2012


Hello, I'm installing datastorer plugin and celeryd show me the next error
when I upload a resource:

Task datastorer.upload[5635827b-e9b4-4c6d-bf17-9dce1b2db279] raised
exception: DatastorerException(u'Datastorer bad response code (500) on
http://host/api/action/datastore_create. Response was <Response [500]>',)
Traceback (most recent call last):
  File
"/var/lib/ckan/std/pyenv/lib/python2.6/site-packages/celery/execute/trace.py",
line 47, in trace
    return cls(states.SUCCESS, retval=fun(*args, **kwargs))
  File
"/var/lib/ckan/std/pyenv/lib/python2.6/site-packages/celery/app/task/__init__.py",
line 247, in __call__
    return self.run(*args, **kwargs)
  File
"/var/lib/ckan/std/pyenv/lib/python2.6/site-packages/celery/app/__init__.py",
line 175, in run
    return fun(*args, **kwargs)
  File
"/var/lib/ckan/std/pyenv/src/ckanext-datastorer/ckanext/datastorer/tasks.py",
line 85, in datastorer_upload
    return _datastorer_upload(context, data, logger)
  File
"/var/lib/ckan/std/pyenv/src/ckanext-datastorer/ckanext/datastorer/tasks.py",
line 172, in _datastorer_upload
    send_request(data)
  File
"/var/lib/ckan/std/pyenv/src/ckanext-datastorer/ckanext/datastorer/tasks.py",
line 158, in send_request
    check_response_and_retry(response, datastore_create_request_url)
  File
"/var/lib/ckan/std/pyenv/src/ckanext-datastorer/ckanext/datastorer/tasks.py",
line 53, in check_response_and_retry
    (response.status_code, datastore_create_request_url, response))
DatastorerException: Datastorer bad response code (500) on
http://host/api/action/datastore_create. Response was <Response [500]>

In the log of the ckan instance I can see:

*ERROR [ckan.controllers.api] Can't find logic function: datastore_create*

Any ideas?

Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20121023/c4ed8a8e/attachment.html>


More information about the ckan-dev mailing list