[ckan-dev] QA Extension : Invalid URL Scheme

VENTURA Oceane OCEANE.VENTURA at atos.net
Mon Aug 20 15:51:05 UTC 2012


Hi,

I just noticed that the QA extension doesn't trigger when you add a resource and have configured Celery. Is it an unexpected behavior or do we need to launch the paster command manually?

TIA,


Océane VENTURA
Business Development & Innovation
ATOS - Public Sector France
01.73.26.47.92
oceane.ventura at atos.net<https://web.uc.atosorigin.com/OWA/redir.aspx?C=c8280941e8e3427cb8265bf94a8777cb&URL=mailto%3aoceane.ventura%40atos.net>
A3/N4
River Ouest,
80 quai Voltaire
95 877 Bezons Cedex
www.atos.net<https://web.uc.atosorigin.com/OWA/redir.aspx?C=c8280941e8e3427cb8265bf94a8777cb&URL=http%3a%2f%2fwww.atos.net%2f>

[Description : atos_logotype]

De : ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] De la part de Ross Jones
Envoyé : lundi 23 juillet 2012 17:10
À : CKAN Development Discussions
Objet : Re: [ckan-dev] QA Extension : Invalid URL Scheme

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<https://github.com/okfn/ckan/commit/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,

[X][X]
Océane VENTURA
Business Development & Innovation
ATOS - Public Sector France
oceane.ventura at atos.net<mailto:oceane.ventura at atos.net>
River Ouest,
80 quai Voltaire
95 877 Bezons Cedex
www.atos.net<http://www.atos.net/>

________________________________
De : ckan-dev-bounces at lists.okfn.org<mailto:ckan-dev-bounces at lists.okfn.org> [ckan-dev-bounces at lists.okfn.org<mailto:ckan-dev-bounces at lists.okfn.org>] de la part de John Glover [john.glover at okfn.org<mailto: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<mailto: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,

[X][X]
Océane VENTURA
Business Development & Innovation
ATOS - Public Sector France
oceane.ventura at atos.net<mailto:oceane.ventura at atos.net>
River Ouest,
80 quai Voltaire
95 877 Bezons Cedex
www.atos.net<http://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<mailto:ckan-dev at lists.okfn.org>
http://lists.okfn.org/mailman/listinfo/ckan-dev

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org<mailto: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/20120820/4297392a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 78 bytes
Desc: image001.gif
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120820/4297392a/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 816 bytes
Desc: image002.gif
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120820/4297392a/attachment-0005.gif>


More information about the ckan-dev mailing list