[ckan-discuss] Datapusher error on file upload

eli fericel elifericel at yahoo.com
Fri Dec 20 09:33:01 UTC 2013

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 uploaded correctly.

On Fri, 12/20/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: Friday, December 20, 2013, 12:52 AM
 Could you give us the file you are trying to upload?  I
 think this
 error is file specific.  Does it work if you try to
 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 whole thing
 works fine, but when I try uploading a file from the
 interface, although it seems to be working, the file doesn't
 reach the datastore. There is an error that appears when i
 try to view the resource I just uploaded. I copied the
 message below.
 > "This resource can not be previewed at the moment.
 > Could not load preview: DataProxy returned an error
 (Data transformation failed. error: An error occured while
 connecting to the server: DNS lookup failed for URL:"
 > Also, in the datapusher.error.log there is an error
 > "[Thu Dec 19 16:40:59 2013] [error] [client]
 mod_wsgi (pid=3676): Exception occurred processing WSGI
 script '/etc/ckan/datapusher.wsgi'.
 > [Thu Dec 19 16:40:59 2013] [error] [client]
 TypeError: expected byte string object for header name,
 value of type unicode found"
 > Has anyone encountered such a problem and maybe solved
 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-test.csv
Type: text/csv
Size: 49 bytes
Desc: not available
URL: <https://lists.okfn.org/pipermail/ckan-discuss/attachments/20131220/d5e7f8fc/attachment.csv>

More information about the ckan-discuss mailing list