[ckan-dev] {Disarmed} CKAN visualisation problem
Birgit Plietzsch
bp10 at st-andrews.ac.uk
Fri Nov 15 16:40:06 UTC 2013
Hello
I am forwarding this message on behalf of my colleague Athos Georgiou who is currently experiencing problems posting to this list
Kind regards
Birgit
----------------------------------------
When I select preview dataset within the Ckan datasets section, the loading animation continues indefinitely. After some searching I found a discussion which describes the problem here:https://github.com/okfn/ckan/pull/1221 even though I do not get an error.
Having followed a response which lead here:https://github.com/okfn/ckan/commit/c8a483a77f82c4c8a545c569e87cd7843a3d92dcI have checked my action.py python file but have not found anything to indicate what could be causing the issue. I have enabled the filestore plugin in the config file but I suspect that the code in the next two lines may provide a hint on the issue as it involves database tables and user access to them.
ckan.datastore.write_url = postgresql://ckan_default:pass@localhost/datastore_default
ckan.datastore.read_url = postgresql://datastore_default:pass@localhost/datastore_default
I have checked my postgress databases and they confirm to the official CKAN source installation guide and file store setup found here: http://docs.ckan.org/en/latest/install-from-source.html
Also, I have enabled the datastore plugin and can confirm that files are uploaded and downloaded without issues.
Additionally, I have attached the first few lines of code from the execution of the paster command
(default)www-data at rescomp-dev-2:/etc/ckan/default$ paster serve /etc/ckan/default/development.ini Starting server in PID 13321.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
2013-11-14 12:24:28,978 INFO [ckan.lib.base] /dataset render time 1.012 seconds
2013-11-14 12:24:29,112 INFO [ckan.lib.base] /api/i18n/en render time 0.002 seconds
2013-11-14 12:24:30,938 INFO [ckan.lib.base] /dataset/asdawer render time 0.347 seconds
2013-11-14 12:24:31,012 INFO [ckan.lib.base] /api/i18n/en render time 0.002 seconds
2013-11-14 12:24:33,588 INFO [ckan.lib.base] /dataset/asdawer/resource/34fc51ef-08ee-4afc-b096-9a0a8cb3da2c render time 0.183 seconds
2013-11-14 12:24:33,664 INFO [ckan.lib.base] /dataset/b0365bae-7693-4594-bf3f-7d78442a5b2b/resource/34fc51ef-08ee-4afc-b096-9a0a8cb3da2c/preview render time 0.046 seconds
2013-11-14 12:24:33,686 INFO [ckan.lib.base] /api/i18n/en render time 0.003 seconds
2013-11-14 12:24:33,847 INFO [ckan.lib.base] /api/i18n/en render time 0.002 seconds
The code above includes a newly uploaded file. The last 2 lines are shown when I click Explore/Preview and the loading icon remains in the loading animation until I click another form or button.
Any insight on what could be causing this indefinite loading animation?
Athos Georgiou
Application Developer - Research Computing
IT Services, University of St Andrews, St Andrews, Fife, KY16 9AL
Tel: 01334 4644731 E-mail: ag242 at st-andrews.ac.uk<mailto:ag242 at st-andrews.ac.uk>
The University of St Andrews is a charity registered in Scotland (No SC013532)
--
Dr Birgit Plietzsch
Research Computing Team Leader, IT Services University of St Andrews, St Andrews, Fife, KY16 9AL
T: 01334 462315 | F: 01334 462759 | E: bp10 at st-andrews.ac.uk<mailto:bp10 at st-andrews.ac.uk> | W: http://www.st-andrews.ac.uk/its
Research Computing blog: http://research-computing.wp.st-andrews.ac.uk/
The University of St Andrews is a charity registered in Scotland: No SC013532
--
Dr Birgit Plietzsch
Research Computing Team Leader, IT Services
University of St Andrews, St Andrews, Fife, KY16 9AL
T: 01334 462315 | F: 01334 462759 | E: bp10 at st-andrews.ac.uk | W: http://www.st-andrews.ac.uk/its
Research Computing blog: http://research-computing.wp.st-andrews.ac.uk/
The University of St Andrews is a charity registered in Scotland: No SC013532
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131115/29933067/attachment-0002.html>
More information about the ckan-dev
mailing list