[ckan-dev] New to CKAN (and Python)

Sajan Ravindran sajanravindran at gmail.com
Thu Feb 13 18:26:22 UTC 2014


I am not really about it, Scott. But I remember running into a similar
problem with "fantastic" after doing a 2.2 package install. Things started
working after activating the virtualenv and navigating to ckan source
directory ( /usr/lib/ckan/default/src/ckan ) for executing paster commands.


On Thu, Feb 13, 2014 at 1:02 PM, Muse, Scott
<SCOTT.MUSE at libertymutual.com>wrote:

>  Hi Sajan,
>
>
>
> Yes, using this command: . /usr/lib/ckan/default/bin/activate.
>
>
>
> Is static a part of WebOB 1.0.8?
>
>
>
> Thanks,
>
>
>
> -Scott
>
>
>
> *From:* ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] *On Behalf Of *Sajan
> Ravindran
> *Sent:* Thursday, February 13, 2014 12:17 PM
> *To:* CKAN Development Discussions
> *Subject:* Re: [ckan-dev] New to CKAN (and Python)
>
>
>
> Hi Scott,
>
> Was wondering, did you activate the virtualenv?
>
> Regards,
>
> Sajan
>
>
>
> On Thu, Feb 13, 2014 at 9:36 AM, Muse, Scott <SCOTT.MUSE at libertymutual.com>
> wrote:
>
> Hi,
>
> I'm trying to install CKAN for the first time and am at step 6 Create
> database tables:
>
> I'm running this command: paster db init -c
> /etc/ckan/default/development.ini
>
> With this results:
>
> 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/lib/python2.6/site-packages/paste/script/command.py",
> line 103, in run
>     command = commands[command_name].load()
>   File
> "/usr/lib/ckan/default/lib/python2.6/site-packages/pkg_resources.py", line
> 2029, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/cli.py", line 11, in
> <module>
>     import ckan.lib.fanstatic_resources as fanstatic_resources
>   File "/usr/lib/ckan/default/src/ckan/ckan/lib/fanstatic_resources.py",
> line 6, in <module>
>     from fanstatic import Library, Resource, Group, get_library_registry
>   File
> "/usr/lib/ckan/default/lib/python2.6/site-packages/fanstatic/__init__.py",
> line 30, in <module>
>     from fanstatic.publisher import (Publisher, Delegator, make_publisher,
>   File
> "/usr/lib/ckan/default/lib/python2.6/site-packages/fanstatic/publisher.py",
> line 7, in <module>
>     import webob.static
> ImportError: No module named static
>
> WebOb==1.0.8 has been installed successful: Requirement already satisfied
> (use --upgrade to upgrade): WebOb==1.0.8 in
> /usr/lib/ckan/default/lib/python2.6/site-packages
>
> Any help you can provide would be greatly appreciated.
>
> Thanks,
>
> -Scott
> _______________________________________________
> 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/20140213/cd1e1666/attachment-0003.html>


More information about the ckan-dev mailing list