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

Rufus Pollock rufus.pollock at okfn.org
Tue Oct 23 16:21:49 UTC 2012


What version of CKAN are you running and have you enabled the
datastore plugin as per the install instructions:

http://docs.ckan.org/en/latest/datastore.html

Rufus

On 23 October 2012 10:31, Jose Luis Barrera
<jl.barrera.trancoso at gmail.com> wrote:
> 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
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>



-- 
Co-Founder, Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/




More information about the ckan-dev mailing list