csv - CKAN : Upload to datastore failed; Resource too large to download -


when try upload large csv file ckan datastore fails , shows following message

error: resource large download: 5158278929 > max (10485760). 

i changed maximum in megabytes resources upload

ckan.max_resource_size = 5120 

in

/etc/ckan/production.ini

what else need change upload large csv ckan.

screenshot: error: resource large download: 5158278929 > max (10485760)

that error message comes datapusher, not ckan itself: https://github.com/ckan/datapusher/blob/master/datapusher/jobs.py#l250. unfortunately looks datapusher's maximum file size hard-coded 10mb: https://github.com/ckan/datapusher/blob/master/datapusher/jobs.py#l28. pushing larger files datastore not supported.

two possible workarounds might be:

  1. use datastore api add data yourself.

  2. change max_content_length on line in datapusher source code linked above, bigger.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -