[ckan-dev] CKAN preview problem

p.romain at cg33.fr p.romain at cg33.fr
Wed Dec 4 16:57:43 UTC 2013


Hi,

I am currently in the process of upgrading my CKAN instance to version 
2.1.
All ran smoothly following the excellent documentation but...the 
resources's preview doesn't seem to work.

In my configuration file I have activated the following plungins
ckan.plugins = stats text_preview recline_preview datastore resource_proxy

The local filestore is defined in the same file 
# Local file storage:
ofs.impl = pairtree
ofs.storage_dir = /home/opendata/filestore

However when upload a csv resource to a dataset and selecting the preview 
button to preview it, I get the following message

This resource can not be previewed at the moment. Click here for more 
information

The file is accessible at this internal url URL: 
http://srvmv-automne:5000/storage/f/2013-12-04T16%3A51%3A33.412Z/liste-sites-viticoles-cdt33.csv 
 and displays on the browser when I click on this link

The error message is
Could not load preview: DataProxy returned an error (Data transformation 
failed. error: An error occured while connecting to the server: Unable to 
fetch URL: 
http://srvmv-automne:5000/storage/f/2013-12-04T16%3A51%3A33.412Z/liste-sites-viticoles-cdt33.csv
) 

I am missing something in the configuration or installation process ?

Thanks in advance for any appreciated help

Best,
Pascal Romain
@datalocale


__________________________________________________________________

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Ce message ne constitue pas un document officiel. Seuls les documents revêtus de la signature du Président du Conseil Général ou d'un de ses délégataires sont de nature à engager le Département. 
Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération et le Département de la Gironde décline toute responsabilité au titre de ce message s'il a été altéré, déformé, falsifié.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131204/cac16c9e/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 7254 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131204/cac16c9e/attachment-0002.jpe>


More information about the ckan-dev mailing list