[ckan-discuss] Uploading resources using CkanClient
Adi Eyal
adi at burgercom.co.za
Mon Sep 3 10:50:17 BST 2012
>
>
> Does file uploading work via the web interface?
>
yes
>
> With a 409 Conflict, one possibility is that the file you're trying to
> upload has already been uploaded to the filestore. Try uploading a
> different file.
>
it happens every time - new file or old
>
> Personally I think ckanclient is quite hard to use, one reason being
> that it gives obfuscated error messages like the one you're getting, and
> I think it's better to post directly to CKAN's v3 API using e.g.
> Python's standard http module, as you get a much clearer idea of what's
> going on and particularly what's going wrong.
>
> But I think uploading a file is possibly the one thing that would be
> quite complicated to do that way.
>
Ok - I'll try that - thanks for the suggestion.
>
>
> _______________________________________________
> ckan-discuss mailing list
> ckan-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-discuss
>
--
Adi Eyal
Data Specialist
phone: +27 78 014 2469
skype: adieyalcas
linkedin: http://za.linkedin.com/pub/dir/Adi/Eyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20120903/d822e687/attachment.htm>
More information about the ckan-discuss
mailing list