[ckan-dev] error for create databases tables

Vitor Baptista vitor at vitorbaptista.com
Tue Mar 19 20:02:34 UTC 2013


Hi Sen,

Have you created a virtualenv for ckan? If so, is it activated? Fanstatic
is a dependency specified in pip-requirements.txt, so it should have been
installed.

If you're still unable to continue, could you paste the output of pip
freeze?

Cheers,
Vitor Baptista.
Hello

I install the logiciel as the option2(from source) into system ubuntu
10.04. When I execute

paster --plugin=ckan db init

to create a db, it failed:

root at laptop:~/pyenv/src/ckan# paster --plugin=ckan db init
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 83, in
run
    command = commands[command_name].load()
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1948, in
load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/root/pyenv/src/ckan/ckan/lib/cli.py", line 10, in <module>
    import ckan.lib.fanstatic_resources as fanstatic_resources
  File "/root/pyenv/src/ckan/ckan/lib/fanstatic_resources.py", line 6, in
<module>
    from fanstatic import Library, Resource, Group, get_library_registry
ImportError: No module named fanstatic

Can anyone can help me to solve this problem? THANKS


_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
http://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130319/82ab471e/attachment-0001.html>


More information about the ckan-dev mailing list