datapusher将CSV上传到数据存储区的问题

时间:2015-06-17 07:21:32

标签: datastore ckan

我有ckan 2.3,我试图安装datapusher它似乎工作,但当我加载CSV文件并单击上传到数据存储区时,我得到一个" 流程已完成但无法发布到result_url "错误。

/var/log/apache2/datapusher.error.log中的

*[Wed Jun 17 09:03:15 2015] [error] Job "push_to_datastore (trigger: RunTriggerNow, run = True, next run at: None)" raised an exception
[Wed Jun 17 09:03:15 2015] [error] Traceback (most recent call last):
[Wed Jun 17 09:03:15 2015] [error]   File "/usr/lib/ckan/datapusher/lib/python2.7/site-packages/apscheduler/scheduler.py", line 512, in _run_job
[Wed Jun 17 09:03:15 2015] [error]     retval = job.func(*job.args, **job.kwargs)
[Wed Jun 17 09:03:15 2015] [error]   File "/root/ckan/lib/datapusher/src/datapusher/datapusher/jobs.py", line 226, in push_to_datastore
[Wed Jun 17 09:03:15 2015] [error]     resource = get_resource(resource_id, ckan_url, api_key)
[Wed Jun 17 09:03:15 2015] [error]   File "/root/ckan/lib/datapusher/src/datapusher/datapusher/jobs.py", line 180, in get_resource
[Wed Jun 17 09:03:15 2015] [error]     check_response(r, url, 'CKAN')
[Wed Jun 17 09:03:15 2015] [error]   File "/root/ckan/lib/datapusher/src/datapusher/datapusher/jobs.py", line 91, in check_response
[Wed Jun 17 09:03:15 2015] [error]     resp=response.text[:200]))
[Wed Jun 17 09:03:15 2015] [error] JobError: CKAN bad response. Status code: 404 Not Found. At: http://127.0.0.1/api/3/action/resource_show. Response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
[Wed Jun 17 09:03:15 2015] [error] <html><head>
[Wed Jun 17 09:03:15 2015] [error] <title>404 Not Found</title>
[Wed Jun 17 09:03:15 2015] [error] </head><body>
[Wed Jun 17 09:03:15 2015] [error] <h1>Not Found</h1>
[Wed Jun 17 09:03:15 2015] [error] <p>The requested URL /api/3/action/resource_show was not found on this ser*

有什么想法吗?

0 个答案:

没有答案