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:
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:
use datastore api add data yourself.
change
max_content_length
on line in datapusher source code linked above, bigger.
Comments
Post a Comment