[ckan-dev] QA Extension : Invalid URL Scheme

Ross Jones ross.jones at okfn.org
Mon Jul 23 15:10:24 UTC 2012


Hi,

Sorry this is likely to be my fault, in that local storage doesn't seem to prepend the ckan.site_url config option and instead only gives a relative URL. 

I've got a fix that is going into 1.7.2, but if you're doing a source install and can't wait then you might consider cherry picking the commit at https://github.com/okfn/ckan/commit/68495956d19f until 1.7.2 is available. "git cherry-pick 68495956d19f" without quotes should do the trick.

Hope this helps 

Ross.



On 23 Jul 2012, at 09:40, VENTURA Oceane wrote:

> Hello, 
> 
> Ok.
> How can I force CKAN to use absolute URLs for resource instead of relative, to be validated by QA? 
> 
> TIA,
> 
> 
> Océane VENTURA
> Business Development & Innovation
> ATOS - Public Sector France
> oceane.ventura at atos.net
> River Ouest,
> 80 quai Voltaire
> 95 877 Bezons Cedex
> www.atos.net
> 
>  
> De : ckan-dev-bounces at lists.okfn.org [ckan-dev-bounces at lists.okfn.org] de la part de John Glover [john.glover at okfn.org]
> Date d'envoi : lundi 23 juillet 2012 10:21
> À : CKAN Development Discussions
> Objet : Re: [ckan-dev] QA Extension : Invalid URL Scheme
> 
> Hello,
> 
> The QA extension will only validate absolute resource URLs, relative URLs are not currently supported. There is no config option to get around this at the moment.
> 
> 
> John
> 
> 
> On 17 July 2012 10:19, VENTURA Oceane <OCEANE.VENTURA at atos.net>wrote:
> Hi,
> 
> I’m trying to use the QA extension. I’ve encountered an issue running the paster command.
> All the resources have the same error message in the celery log : “Invalid  URL Scheme”. 
> Indeed, the url resource is relative (eg. /storage/ resourcename.csv) whereas the ckan.site_url in the config file is defined.
> 
> What is the good configuration of ckanext-qa or ckanext-archiver to pass by this error?
> 
> TIA,
> 
> 
> Océane VENTURA
> Business Development & Innovation
> ATOS - Public Sector France
> oceane.ventura at atos.net
> River Ouest,
> 80 quai Voltaire
> 95 877 Bezons Cedex
> www.atos.net
> 
>  
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.
> 
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> 
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120723/c28ebba5/attachment-0001.html>


More information about the ckan-dev mailing list