[ckan-dev] How to create the schema for the datapusher database
Aníbal Pacheco
anibal.pacheco at agesic.gub.uy
Wed Aug 20 18:40:57 UTC 2014
I don't have the jobs.py file anywhere :(
According to this [1] I didn't install the datapusher separately because
I'm running ckan-master, do I have to?
[1]
http://docs.ckan.org/projects/datapusher/en/latest/#download-and-install-all-ckan-versions
thanks
On 20/08/14 06:50, Adrià Mercader wrote:
> Hi Aníbal,
>
> Can you double check that you are running an up to date version of the
> DataPusher? Did you install it manually or as part of the package
> install?
>
> I'm asking because the `return r.json['result']` code is wrong, it
> should be `return r.json()['result']`, as it is on the latest version:
>
> https://github.com/ckan/datapusher/blob/stable/datapusher/jobs.py#L182
> https://github.com/ckan/datapusher/blob/master/datapusher/jobs.py#L182
>
> Adrià
>
> On 19 August 2014 22:01, Aníbal Pacheco <anibal.pacheco at agesic.gub.uy> wrote:
>> On 19/08/14 17:50, Aníbal Pacheco wrote:
>>>
>>> On 19/08/14 16:40, Aníbal Pacheco wrote:
>>>>
>>>> I couldn't find this in the datapusher documentation. When I try to
>>>> upload a resource I get this in the datapusher log:
>>>>
>>>> OperationalError: (OperationalError) no such table: jobs u'INSERT INTO
>>>> jobs (job_id, job_type, status, requested_timestamp, sent_data,
>>>> result_url, api_key, job_key) VALUES ...
>>>>
>>>> Thank you!
>>>
>>>
>>> After an upgrade this error disappeared, but now after pushing the
>>> button "upload to the datastore" I get a pending state (attached), how
>>> to turn this "pending" into a "complete"?
>>>
>>>
>>
>>
>> Update: After reload the page I can see an error log (attached)
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
--
Ing. Aníbal Pacheco
Área de Tecnología
AGESIC
Torre Ejecutiva Sur
Liniers 1324 piso 3
Tel: (+598) 2901 2929 Int. 8524
(11.000) Montevideo – URUGUAY
www.agesic.gub.uy
More information about the ckan-dev
mailing list