[ckan-dev] ckan-qa error in ckan 2.2

Ross Jones ross at servercode.co.uk
Tue Apr 8 08:50:50 UTC 2014


I think it is the problem described at  https://github.com/kennethreitz/requests/issues/1380, perhaps it is running a slightly different version of requests than previously?

Maybe a bug report mentioning that QA should use json.dumps(dict(r.headers)) rather than json.dumps(r.headers) ?  Or, better yet a pull request :)

Ross


On 8 Apr 2014, at 09:30, Isabel Ruiz <isaruizmellado at gmail.com> wrote:

> Hi!
> 
> We have installed ckan-qa in ckan 2.1a and it worked fine.
> We have celery 2.4.2
> 
> Now, we have upgraded to ckan 2.2.
> 
> We have executed paster qa update --config=/etc/ckan/default/malaga.ini
> 
> This instruction starts and it seems working fine.
> 
> But if we go to resource page details QA returns this:
> 
> Puntuación: Unknown error: CaseInsensitiveDict({'content-length': '20', 'content-encoding': 'gzip', 'accept-ranges': 'bytes', 'vary': 'Accept-Encoding', 'server': 'Apache/2.2.22 (Ubuntu), cacheinter at CEMI', 'last-modified': 'Wed, 02 Apr 2014 10:17:03 GMT', 'etag': '"17000000001ffc-92371-4f60c95f8e5c0"', 'date': 'Mon, 07 Apr 2014 22:00:49 GMT', 'content-type': 'text/csv'}) is not JSON serializable
> 
> What can be worng?
> 
> Is ckan-qa and ckan 2.2 compatibles? 
> 
> 
> 
> -- 
> Isabel M. Ruiz Mellado
> http://about.me/isabelruiz
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140408/53eb829b/attachment-0003.html>


More information about the ckan-dev mailing list