[ckan-dev] archiver

David Read david.read at hackneyworkshop.com
Tue Sep 27 13:14:27 UTC 2016


Claire,

If you've activated your virtual environment now and when you
installed ckan dependencies, then I'd have thought you'd be using:

/usr/lib/ckan/default/bin/paster

rather than

/usr/bin/paster

But I could be wrong. Did your ckan work without extensions install?

David

On 23 September 2016 at 16:32, Claire Herbert
<Claire.Herbert at umanitoba.ca> wrote:
> 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
>
>
> _______________________________________________
> 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
>



More information about the ckan-dev mailing list