[ckan-dev] error for create databases tables

Sen Wang wangsen1752 at gmail.com
Mon Mar 18 14:45:10 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130318/76944b60/attachment.html>


More information about the ckan-dev mailing list