Andrew Koebrick
Andrew Koebrick
Yes, yes I am. This is just a utility script run on my desktop which will be disposed of when the ckan instance is seeded. I did not realize the...
Also, I just read up a bit on error handling and rewrote it thusly: for package in datasets: packageTitle = package['title'] + " - " + countyPlain packageName = munge(package['title'])...
Here is the full script- I have tried posting a few times to get the code to format correctly but no luck... Basic gist is that it gets a lsit...
dataset does not seem to be a dict. When I try: print dict(dataset) I get: TypeError: 'int' object is not iterable
I did try the File Uploads as part of resource_create but it failed to create a file. This was the example I was using: mysite.action.resource_create( package_id='my-dataset-with-files', url='dummy-value', # ignored but...
To make the code a little clearer, I created a cleaner test script that gets rid of most of the looping and hard codes some data, rather then get it...
Ckanapi 3.6 (as installed by pip) Ckan-2.5.2, the tagged version (https://github.com/ckan/ckan/releases/tag/ckan-2.5.2). Not sure what commit number this gets… I went ahead and seeded my portal without updating the resources to...