[ckan-discuss] Run paster of ckanext-qa plugin using CKAN 1.6

ckan at fwd.at ckan at fwd.at
Thu Apr 5 19:34:46 BST 2012


Hello,

I've tried to install the CKAN-Extensions QA-Plugin (ckanext-qa) on Ubuntu
10.04 LTS with CKAN 1.6.

I installed the archiver first:
sudo -u ckanstd /var/lib/ckan/std/pyenv/bin/pip install -E
/var/lib/ckan/std/pyenv -e
git+http://github.com/okfn/ckanext-archiver.git#egg=ckanext-archiver
--log=/tmp/pip-log.txt

next the qa plugin:
sudo -u ckanstd /var/lib/ckan/std/pyenv/bin/pip install -E
/var/lib/ckan/std/pyenv -e
git+https://github.com/okfn/ckanext-qa.git#egg=ckanext-qa
--log=/tmp/pip-log.txt

After this, calling the QA-Plugin from the CKAN frontend works as expected
(after activating it using ckan.plugins=qa).
So it seems, it has been installed successfully
(http://your-ckan-instance/qa).

However, when I then try to run the paster qa update, I get the following
error:
(documentation: https://github.com/okfn/ckanext-qa)

user at pc:/var/lib/ckan/std/pyenv/src/ckanext-qa# paster qa update
--config=/etc/ckan/std/std.ini
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 73, in
run
    commands = get_commands()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 115, in
get_commands
    plugins = pluginlib.resolve_plugins(plugins)
  File "/usr/lib/pymodules/python2.6/paste/script/pluginlib.py", line 81, in
resolve_plugins
    pkg_resources.require(plugin)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 648, in
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 546, in
resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests==0.6.4: Not Found for:
ckanext_qa
(did you run python setup.py develop?)

Has anybody yet successfully run the paster command with the ckanext-qa
Plugin and can provide me with a hint?
Thank you very much & Best regards,
Johannes





More information about the ckan-discuss mailing list