CKAN Dataset Upload Page giving a Server -


when creating dataset required either upload csv or xml file containing data or link data file located on server. when attempt upload csv or xml file upload process starts page crash following message.

server error internal server error occurred

also see below error in /var/log/apache2/ckan_default.error.log

[mon aug 10 19:08:18.934269 2015] [:error] [pid 1243] 2015-08-10 19:08:18,934 info  [ckan.lib.base]  / render time 0.169 seconds [mon aug 10 19:08:21.217534 2015] [:error] [pid 1243] 2015-08-10 19:08:21,217 info  [ckan.lib.base]  /api/i18n/en render time 0.002 seconds [mon aug 10 19:08:23.832089 2015] [:error] [pid 1244] 2015-08-10 19:08:23,831 info  [ckan.lib.base]  /user/admin render time 0.413 seconds [mon aug 10 19:08:24.430716 2015] [:error] [pid 1243] 2015-08-10 19:08:24,430 info  [ckan.lib.base]  /api/i18n/en render time 0.002 seconds [mon aug 10 19:08:26.858892 2015] [:error] [pid 1243] 2015-08-10 19:08:26,858 warni [ckan.lib.maintain] function get_action() in module ckan.lib.helpers has been deprecated , removed in later release of ckan. helpers.get_action() deprecated , removed in future version of ckan. instead, please use extra_vars param render() in controller pass results action functions templates. [mon aug 10 19:08:27.080089 2015] [:error] [pid 1243] 2015-08-10 19:08:27,079 warni [ckan.lib.maintain] function get_action() in module ckan.lib.helpers has been deprecated , removed in later release of ckan. helpers.get_action() deprecated , removed in future version of ckan. instead, please use extra_vars param render() in controller pass results action functions templates. [mon aug 10 19:08:27.190495 2015] [:error] [pid 1243] 2015-08-10 19:08:27,190 info  [ckan.lib.base]  /dataset/grocery-prices render time 0.551 seconds [mon aug 10 19:08:27.664450 2015] [:error] [pid 1244] 2015-08-10 19:08:27,664 info  [ckan.lib.base]  /api/i18n/en render time 0.002 seconds [mon aug 10 19:08:30.847326 2015] [:error] [pid 1243] 2015-08-10 19:08:30,847 info  [ckan.lib.base]  /dataset/edit/grocery-prices render time 0.405 seconds [mon aug 10 19:08:31.373743 2015] [:error] [pid 1244] 2015-08-10 19:08:31,373 info  [ckan.lib.base]  /api/i18n/en render time 0.002 seconds [mon aug 10 19:08:34.934102 2015] [:error] [pid 1243] 2015-08-10 19:08:34,933 info  [ckan.lib.base]  /dataset/new render time 0.091 seconds [mon aug 10 19:08:35.451324 2015] [:error] [pid 1244] 2015-08-10 19:08:35,451 info  [ckan.lib.base]  /dataset/new_resource/grocery-prices render time 0.412 seconds [mon aug 10 19:08:36.271926 2015] [:error] [pid 1244] 2015-08-10 19:08:36,271 info  [ckan.lib.base]  /api/i18n/en render time 0.002 seconds [mon aug 10 19:08:49.310932 2015] [:error] [pid 1244] 2015-08-10 19:08:49,310 info  [ckan.lib.base]  /api/2/util/resource/format_autocomplete render time 0.006 seconds [mon aug 10 19:09:11.244287 2015] [:error] [pid 1243] /usr/lib/ckan/default/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py:79: sawarning: usage of 'related attribute set' operation not supported within execution stage of flush process. results may not consistent.  consider using alternative event listeners or connection-level operations instead. [mon aug 10 19:09:11.244325 2015] [:error] [pid 1243]   sess._flush_warning("related attribute set") [mon aug 10 19:09:11.518274 2015] [:error] [pid 1243] 2015-08-10 19:09:11,518 info  [ckan.lib.base]  /dataset/new_resource/grocery-prices render time 0.176 seconds [mon aug 10 19:09:11.975593 2015] [:error] [pid 1244] 2015-08-10 19:09:11,975 info  [ckan.lib.base]  /api/i18n/en render time 0.002 seconds 

not sure caused error , logs not provide enough information. file not deposited dataset directory location.

using ckan 2.3 on ubuntu 14.04 server running apache2


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -