ckan

Upload error: Could not connect to DataPusher. error in ckan 2.4.3

南楼画角 提交于 2019-12-04 14:45:53
I'm trying to upload my dataset to datastore. I create dataset and try to upload dataset to datastore with "Upload to datastore" menu in ckan interface. I got "Upload error: Could not connect to DataPusher." error message in web not in any log(ckan log, datapusher log) This is contents of my development.ini sqlalchemy.url = postgresql://ckan_default:MYPASS@localhost/ckan_default ckan.datastore.write_url = postgresql://ckan_default:MYPASS@localhost/datastore_default ckan.datastore.read_url = postgresql://datastore_default:MYPASS@localhost/datastore_default ckan.datastore.default_fts_lang =

CKAN Install: paster error

喜你入骨 提交于 2019-12-04 13:33:22
问题 Installing CKAN locally on OSX 10.9, based on http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html. I've created and activated the python virtualenv and now need to create a CKAN config file: $ paster make-config ckan /etc/ckan/default/development.ini The output is as follows (ImportError at the last line): Distribution already installed: ckan 2.2 from ~/ckan/lib/default/src/ckan Traceback (most recent call last): File "/usr/lib/ckan/default/bin/paster", line 9, in

Download resources from private CKAN datasets

谁说胖子不能爱 提交于 2019-12-04 04:22:24
问题 My aim is to download files which are held as resources within private datasets using (a) the CKAN API, or (b) the CKANAPI CLI, or (c) paster (if (c) is possible). I have attempted downloading the files using (a) unsuccessfully. For example using the resource URL and urllib2 or requests the file is downloaded but it is either corrupted ( .zip) or the CKAN login page is stored within the file ( .xls). I have tried using (b) too unsuccessfully. For example using the following code: ckanapi dump

ckan local installation, 500 error on solr JSP support not configured

我是研究僧i 提交于 2019-12-04 01:59:20
I am trying to install CKAN on my local computer using Ubuntu 14.04 LTS. I followed the instructions for installing from source found here and I try to check if solr is running by visiting http://localhost:8983/solr/ . I can see that Jetty is running because when I visit http://localhost:8983 I see that it is up. I added the jdk as follows: JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk-amd64 I am getting a 500 error when i try to open the solr page: HTTP ERROR 500 Problem accessing /solr/index.jsp. Reason: JSP support not configured Powered by Jetty:// Any ideas? Should I redo the whole thing from

Is CKAN capable of dealing with 100k+ files and TB of data?

℡╲_俬逩灬. 提交于 2019-12-03 15:59:23
What we are wanting to do is create a local data repository for our lab memebers to organize, search upon, access, catalog, reference our data, etc. I feel that CKAN can do all of these things; however, I'm not sure how it will handle these tasks for the data we actually have (I could be wrong, which is why I'm asking). Our lab is procuring a lot of data for internal use. We would like to be able to catalog and organize this data within our group (maybe CKAN?) so people can push data to the catalog, and pull the data and use it. Some use cases would be, having ACL to the data, web interface,

CKAN Development Install Issue: AttributeError: 'module' object has no attribute 'css/main.debug.css'

佐手、 提交于 2019-12-03 12:12:35
问题 I've done a CKAN development install and am running with debug = true in my development.ini file. On visiting localhost:5000 I get an error with a traceback whose end point is the error: AttributeError: 'module' object has no attribute 'css/main.debug.css' Caused by the call in lib/helpers.py: r = getattr(fanstatic_resources, resource) Any idea what I'm doing wrong and what I can do to fix this error. 回答1: You need to run the less script from the bin directory in the CKAN source code to build

CKAN Install: paster error

不问归期 提交于 2019-12-03 09:19:44
Installing CKAN locally on OSX 10.9, based on http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html . I've created and activated the python virtualenv and now need to create a CKAN config file: $ paster make-config ckan /etc/ckan/default/development.ini The output is as follows (ImportError at the last line): Distribution already installed: ckan 2.2 from ~/ckan/lib/default/src/ckan Traceback (most recent call last): File "/usr/lib/ckan/default/bin/paster", line 9, in <module> load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')() File "/usr/lib/ckan

CKAN Development Install Issue: AttributeError: 'module' object has no attribute 'css/main.debug.css'

ぐ巨炮叔叔 提交于 2019-12-03 03:27:27
I've done a CKAN development install and am running with debug = true in my development.ini file. On visiting localhost:5000 I get an error with a traceback whose end point is the error: AttributeError: 'module' object has no attribute 'css/main.debug.css' Caused by the call in lib/helpers.py: r = getattr(fanstatic_resources, resource) Any idea what I'm doing wrong and what I can do to fix this error. You need to run the less script from the bin directory in the CKAN source code to build the main.debug.css file. There is some documentation of this but it's not yet integrated with the rest of

Error when trying to upload a file to CKAN: “Failed to get credentials for storage upload. Upload cannot proceed”

[亡魂溺海] 提交于 2019-12-01 20:49:33
When trying to upload a file to a dataset in CKAN, I get this error in the web interface: Failed to get credentials for storage upload. Upload cannot proceed Sean Hammond This error is usually caused either by CKAN's FileStore not being setup correctly, or the FileStore's dependencies not being installed correctly. See CKAN's FileStore and File Uploads documentation. Make sure that: You have pairtree installed in your CKAN virtualenv ( pip install pairtree ) You have argparse installed in your CKAN virtualenv ( pip install argparse ) You have the ofs.impl and ofs.storage_dir options set

Error when trying to upload a file to CKAN: “Failed to get credentials for storage upload. Upload cannot proceed”

╄→гoц情女王★ 提交于 2019-12-01 20:29:14
问题 When trying to upload a file to a dataset in CKAN, I get this error in the web interface: Failed to get credentials for storage upload. Upload cannot proceed 回答1: This error is usually caused either by CKAN's FileStore not being setup correctly, or the FileStore's dependencies not being installed correctly. See CKAN's FileStore and File Uploads documentation. Make sure that: You have pairtree installed in your CKAN virtualenv ( pip install pairtree ) You have argparse installed in your CKAN