[ckan-discuss] cannot import c
Roxana Chavarria
roxana.stallman at gmail.com
Tue Feb 5 23:08:13 GMT 2013
I got this error when I tried to create the database tables and the cache
and session directories
(pyenv)localhost:ckan blackmamba$ paster --plugin=ckan db init
2013-02-05 17:04:00,189 WARNI [vdm] Skipping adding property
Package.package_tag_all to revisioned object
2013-02-05 17:04:00,192 WARNI [vdm] Skipping adding property
Package.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,203 WARNI [vdm] Skipping adding property
PackageTag.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,235 WARNI [vdm] Skipping adding property
Group.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,247 WARNI [vdm] Skipping adding property
Member.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,285 WARNI [vdm] Skipping adding property
GroupExtra.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,306 WARNI [vdm] Skipping adding property
PackageExtra.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,349 WARNI [vdm] Skipping adding property
Resource.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,355 WARNI [vdm] Skipping adding property
ResourceGroup.resources_all to revisioned object
2013-02-05 17:04:00,356 WARNI [vdm] Skipping adding property
ResourceGroup.all_revisions_unordered to revisioned object
2013-02-05 17:04:00,395 WARNI [vdm] Skipping adding property
PackageRelationship.all_revisions_unordered to revisioned object
Traceback (most recent call last):
File "/Users/blackmamba/pyenv/bin/paster", line 8, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py",
line 104, in run
invoke(command, command_name, options, args[1:])
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py",
line 143, in invoke
exit_code = runner.run(args)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteScript-1.7.5-py2.7.egg/paste/script/command.py",
line 238, in run
result = self.command()
File "/Users/blackmamba/pyenv/src/ckan/ckan/lib/cli.py", line 124, in
command
self._load_config()
File "/Users/blackmamba/pyenv/src/ckan/ckan/lib/cli.py", line 81, in
_load_config
conf = appconfig('config:' + self.filename)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 261, in appconfig
global_conf=global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 296, in loadcontext
global_conf=global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 320, in _loadconfig
return loader.get_context(object_type, name, global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 454, in get_context
section)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 476, in _context_from_use
object_type, name=use, global_conf=global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 406, in get_context
global_conf=global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 296, in loadcontext
global_conf=global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 328, in _loadegg
return loader.get_context(object_type, name, global_conf)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 620, in get_context
object_type, name=name)
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/PasteDeploy-1.5.0-py2.7.egg/paste/deploy/loadwsgi.py",
line 646, in find_egg_entry_point
possible.append((entry.load(), protocol, entry.name))
File
"/Users/blackmamba/pyenv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py",
line 1954, in load
File "/Users/blackmamba/pyenv/src/ckan/ckan/config/middleware.py", line
26, in <module>
from ckan.config.environment import load_environment
File "/Users/blackmamba/pyenv/src/ckan/ckan/config/environment.py", line
19, in <module>
import ckan.lib.helpers as h
File "/Users/blackmamba/pyenv/src/ckan/ckan/lib/helpers.py", line 35, in
<module>
from pylons import c, g
ImportError: cannot import name c
Roxana
I'm gonna Kill Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-discuss/attachments/20130205/cbc55c0e/attachment.htm>
More information about the ckan-discuss
mailing list