Closed timwis closed 8 years ago
Hi @timwis Can you tell me the version of koop that you have installed? I just ran the code you posted and it looks like it worked, so Im really curious as to what's up.
Thanks!
Also you are correct that if you dont pass it a DB connection it will not persist its cache across server sessions (so if you stop your server all data will be lost). It will be using koop's "local cache" which is just an in-memory object.
@timwis actually I re-read your issue and I think this looks like a bug in the either the ckan provider or koop's local cache. I'll look at it right now.
okay actually I had an error in my url. Following your steps above all seems to be working for me.
I get data at http://localhost:1337/ckan/phl/bicycle-thefts/FeatureServer/0
Thanks - I must have been missing /phl/
in the URL (doh...) but I got it to work with phl/heart-healthy-screening-sites
- though when I try /phl/bicycle-thefts
per your example I get an error Unable to retrieve data from https://opendataphilly.org/datastore/dump/f9809381-76f6-4fca-8279-621e088ddaa0
Feel free to close this issue though since that's probably different.
Hey guys!
I've followed the instructions in the readme to set up koop on my ubuntu server. I provided an empty config object as the instructions suggest it's not necessary to provide a path to the DB (it just won't cache anything).
I then
POST
my CKAN providerwith
curl --data "host=https://opendataphilly.org&id=phl" localhost:1337/ckanand I'm getting the error
Cannot read property 'host' of undefined` when I try to access a CKAN dataset endpoint.Do I need to provide a postgres path in the config or something?