[ECODP-dev] Search cloud

Dimitrios Mexis dimitrios.mexis at tenforce.com
Mon Aug 12 07:24:10 UTC 2013


Good morning

just for reference, this is the file attached. And I loaded without any 
indication of any problem.

Regards
Dimitrios

On 8/08/2013 15:21, John Glover wrote:
> Hi Dimitrios,
>
> The search cloud will not display if it cannot get a list of approved 
> terms from the database for some reason. There is no other config 
> option currently to remove it, so there must be a problem with either 
> the saving of the searchcloud data or retrieving it from the database. 
> Can you get a copy of the JSON file that they are uploading? It would 
> be good if you could test that on your instance and verify that it 
> works as expected.
>
> Also, have they made any changes to the database server? For example, 
> if they reloaded an old data dump for testing, they will need to run 
> the paster commands to create the searchcloud tables again. If they 
> have not set up the searchcloud tables then there should be some log 
> messages to that effect in the CKAN log (every time the home page is 
> viewed).
>
> Thanks,
> John
>
>
> On 8 August 2013 12:46, Dimitrios Mexis <dimitrios.mexis at tenforce.com 
> <mailto:dimitrios.mexis at tenforce.com>> wrote:
>
>     Hello,
>
>     PO claims not be able to view anymore the search cloud.
>
>     They state that in their own words :
>     "Well the cloud wasn’t removed and the interface to upload a new
>     terms file is there, I reuploaded the last file for testing
>     purposes but the searchcloud did not reappear. Reuploaded the
>     terms has nothing to do with the display of the cloud and the
>     documentation has no info on how to enable or disable it if there
>     is a way."
>
>     Steps:
>     a)imported again the cloud:
>     from the ecodp.custom.log I see on my own:
>     192.168.35.139 - - [08/Aug/2013:12:42:14 +0200] "GET /data/
>     HTTP/1.0" 200 5725 "https://192.168.35.139/data/searchcloud/save"
>     <https://192.168.35.139/data/searchcloud/save> "Mozilla/5.0
>     (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
>     Chrome/28.0.1500.95 Safari/537.36"
>
>     b) I tried to rerun the following command producing error [they
>     used that one]:
>     /applications/ecodp/users/ecodp/ckan/ecportal/bin/paster
>     --plugin=ckanext-ecportal ecportal
>     searchcloud-generate-unapproved-search-list -c
>     /applications/ecodp/users/ecodp/ckan/conf/portal.ini
>
>     and the correct command:
>     /applications/ecodp/users/ecodp/ckan/ecportal/bin/paster
>     --plugin=ckanext-ecportal ecportal
>     searchcloud-generate-unapproved-search-list -c
>     /applications/ecodp/users/ecodp/ckan/conf/ecportal.ini
>
>     but our search cloud did not disappear. On the logs I don't see
>     something. Only when I run the (a) it fails with a big message on
>     screen and that's it.
>
>     Do you have any suggestion ? [ I have already asked them to clear
>     cache ]
>
>     Regards
>     Dimitrios
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130812/d12aafc0/attachment.html>
-------------- next part --------------
[
["Food ",  200 ],
["Health ",  180 ],
["Transport",  160 ],
["Education ",  120 ],
["Population ",  110 ],
["Government ",  100 ],
["Agriculture ",  90 ],
["Air ",  80 ],
["Labour ",  70 ],
["Finance",  60 ],
["Children ",  60 ],
["Energy",  60 ],
["Gender",  40 ],
["Economy",  40 ],
["Science and technology",  40 ],
["Infrastructure",  30 ],
["Tourism",  20 ],
["Telecommunications",  10 ],
["Employment ",  10 ],
["Maps",  10 ]
]



More information about the ecodp-dev mailing list