[ckan-dev] Ckanext-qa doesn't display any information.
Jesús Redondo
redondogarciajesus at gmail.com
Tue Mar 11 20:15:46 UTC 2014
Hello Ross,
You're right, I didn't run the paster command. I have tried, but
unfortunately an error was displayed:
NOTE: the command has been run like this: *paster qa update
--config=/etc/ckan/default/production.ini*
and with the virtualenv was on.
*Traceback (most recent call last): File
"/usr/lib/ckan/default/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')() File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 104, in run invoke(command, command_name, options, args[1:]) File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 143, in invoke exit_code = runner.run(args) File
"/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/script/command.py",
line 238, in run result = self.command() File
"/usr/lib/ckan/default/src/ckanext-qa/ckanext/qa/commands.py", line 50, in
command self._load_config() File
"/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 79, in
_load_config raise AssertionError('Config filename %r does not exist.' %
self.filename)AssertionError: Config filename
'/usr/lib/ckan/default/src/ckanext-qa/development.ini' does not exist.*
I have searched for the file "development.ini" but no results were return.
Is the path where I run the command correct? I don't know why this is
failing.
Thanks for the help.
Jesús Redondo
On Tue, Mar 11, 2014 at 2:29 PM, Ross Jones <ross at servercode.co.uk> wrote:
> Hi,
>
> Did you run the update command that's mentioned at
> https://github.com/ckan/ckanext-qa#using-the-qa-extension ?
>
> paster qa update --config=/path/to/.ini
>
> If you did, did it give any output? If you didn't and it now works, you
> might want to run it from a cron task or something similar.
>
> Ross
>
>
> On 11 Mar 2014, at 13:23, Jesús Redondo <redondogarciajesus at gmail.com>
> wrote:
>
> Hello,
>
> I am trying to install ckanext-qa plugin in a 2.0.2 CKAN instance. The
> instance is accessible via:
>
> http://www.caceresabierto.es
>
> I have installed ckanext-archiver (
> https://github.com/ckan/ckanext-archiver), which is prerequisite, then
> qa-extension (https://github.com/ckan/ckanext-qa) and finally I have
> configured the production.ini and restarted apache2.
>
> The plugins activated are the following:
>
> ckan.plugins = stats recline_preview noregistration resource_proxy
> pdf_preview archiver qa
>
> And the URL of the site is:
> ckan.site_url = http://www.caceresabierto.es
>
> The problem is that no changes have occur in the CKAN portal:
>
> 1) The datasets don't show any info about the 5 stars of openness.
>
> For instance, I don't see any difference in
> http://www.caceresabierto.es/dataset/farmacias-caceres, no matter if the
> plugin is on or off.
>
> I expected to see something similar to what is shown here:
> http://ckan.org/2012/02/09/ckans-qa-extension-just-got-better/
> or here: http://data.gov.uk/dataset/land-registry-monthly-price-paid-data(I guess they are using this same extension).
>
>
> 2) If I use /qa path to check the openness of the datasets, no datasets
> are found.
> http://www.caceresabierto.es/qa/dataset/five_stars
>
> I expected to see something like this but with dataset instead of
> organisations:
> http://data.gov.uk/data/reports/qa/organisation/scores
>
> I would appreciate any help with this. Thanks,
>
> Jesús Redondo
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140311/d1e56d0a/attachment-0003.html>
More information about the ckan-dev
mailing list