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

Adrià Mercader amercadero at gmail.com
Wed Oct 24 07:55:45 UTC 2012


Hi again José (sorry for the previous empty email),

If you are using CKAN version 1.7 you need to checkout the
"datastore-v1" tag of the ckanext-datastorer repo

http://docs.ckan.org/en/ckan-1.7/datastore.html

On 24 October 2012 08:51, Adrià Mercader <amercadero at gmail.com> wrote:
> Hi José,
>
>
>
> On 24 October 2012 08:49, Jose Luis Barrera
> <jl.barrera.trancoso at gmail.com> wrote:
>> The version of CKAN is 1.7, I'm install from package in Ubuntu 10.04 system.
>>
>> I haved installed ckanext-datastorer following the instrucctions in github
>> project: https://github.com/okfn/ckanext-datastorer
>>
>> Thanks
>> Jose
>>
>> 2012/10/23 Rufus Pollock <rufus.pollock at okfn.org>
>>>
>>> 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/
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>




More information about the ckan-dev mailing list