[ckan-discuss] Datapusher error on file upload
elifericel at yahoo.com
Fri Dec 27 10:22:06 UTC 2013
Thanks so much for the guidance and detailed explanation. After completing ckan.site_url (it was empty), datapusher working properly and resources can be previewed ok.
On Tue, 12/24/13, David Raznick <david.raznick at okfn.org> wrote:
Subject: Re: [ckan-discuss] Datapusher error on file upload
To: "eli fericel" <elifericel at yahoo.com>
Cc: "ckan" <ckan-discuss at lists.okfn.org>
Date: Tuesday, December 24, 2013, 2:00 PM
I think I know the issue here now.
You need to make sure the correct ckan.site_url is specified
config. The site url has to be accessible to the
If this is mis-configured the datapusher tries to send back
and the sending of that error is failing. This is a
bug, but it only
arises once the datapusher can not connect to CKAN.
On 20 December 2013 09:33, eli fericel <elifericel at yahoo.com>
> Thanks for the answer, David.
> I have attached one csv file i tried to upload, but I
don't think it is file specific, because I have tried
uploading other files too (both csv and xls) with the same
result. On demo.ckan.org though, the same file can be
> On Fri, 12/20/13, David Raznick <david.raznick at okfn.org>
> Subject: Re: [ckan-discuss] Datapusher error on
> To: "eli fericel" <elifericel at yahoo.com>
> Cc: "ckan" <ckan-discuss at lists.okfn.org>
> Date: Friday, December 20, 2013, 12:52 AM
> Could you give us the file you are trying to
> think this
> error is file specific. Does it work if you
> upload other
> On 19 December 2013 17:01, eli fericel <elifericel at yahoo.com>
> > I have installed ckan 2.1 from the git
packages and set
> the datastore and filestore on an Ubuntu 12.04
OS. Then I
> also installed the Datapusherext. Running the
> works fine, but when I try uploading a file from
> interface, although it seems to be working, the
> reach the datastore. There is an error that
appears when i
> try to view the resource I just uploaded. I
> message below.
> > "This resource can not be previewed at the
> > Could not load preview: DataProxy returned
> (Data transformation failed. error: An error
> connecting to the server: DNS lookup failed for
> > Also, in the datapusher.error.log there is
> > "[Thu Dec 19 16:40:59 2013] [error] [client
> mod_wsgi (pid=3676): Exception occurred
> script '/etc/ckan/datapusher.wsgi'.
> > [Thu Dec 19 16:40:59 2013] [error] [client
> TypeError: expected byte string object for header
> value of type unicode found"
> > Has anyone encountered such a problem and
> it? Any help would be appreciated.
> > Thanks in advance.
> > ckan-discuss mailing list
> > ckan-discuss at lists.okfn.org
> > https://lists.okfn.org/mailman/listinfo/ckan-discuss
> > Unsubscribe: https://lists.okfn.org/mailman/options/ckan-discuss
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-discuss
More information about the ckan-discuss