[ckan-dev] archiver

Claire Herbert Claire.Herbert at umanitoba.ca
Fri Sep 23 15:32:05 UTC 2016


I am also having problems with archiver. In the instructions (https://github.com/ckan/ckanext-archiver) I get to step 3. When I try to create the database tables with paster, I always receive an error message. I am in my virtual environment. I have tried using the full path to paster and the full path to the production. Ini  file.
For example, the command "paster -plugin=ckanext-archiver archiver init -config=/etc/ckan/default/production.ini"
Produces the following error:

File "/usr/bin/paster", line 4, in <module>
   Command.run()
File "usr/lib/python2.7/dis-packages/paste/script/command.py", line 103, in run
   Command = commands[command_name].load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line2088, in load entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/home/ceos/src/ckanext-archiver/ckanext/archiver/commands.py', line 8 in <module>
    Import ckan.plugins as p
File "usr/local/lib/python2.7/dist-packages/ckan-2.5.2-py2.7.egg/ckan/plugins/__init__.py",line 1, in <module>
   From ckan_plugins.core import*
File "/usr/local/lib/python2.7/dist-packages/ckan-2.5.2-py2.7.egg/ckan/plugins/core.py",line 9, in <module>
   from pyutilib.component.core import PluginGlobals,implements
ImportError:  No module named pyutilib.component.core

Claire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20160923/dbe9aac8/attachment-0002.html>


More information about the ckan-dev mailing list