Skip to content

Instantly share code, notes, and snippets.

@napo
Created June 15, 2012 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save napo/2935639 to your computer and use it in GitHub Desktop.
Save napo/2935639 to your computer and use it in GitHub Desktop.
ckanext-harvest import
paster --plugin=ckanext-harvest harvester initdb --config=/etc/ckan/std/std.ini
Traceback (most recent call last):
File "/usr/local/ckan/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/command.py", line 218, in run
result = self.command()
File "/usr/local/ckan/src/ckanext-harvest/ckanext/harvest/commands/harvester.py", line 104, in command
self.initdb()
File "/usr/local/ckan/src/ckanext-harvest/ckanext/harvest/commands/harvester.py", line 120, in initdb
from ckanext.harvest.model import setup as db_setup
File "/usr/local/ckan/src/ckanext-harvest/ckanext/harvest/model/__init__.py", line 10, in <module>
from ckan.model.meta import (metadata, mapper, Session,
ImportError: cannot import name Table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment