Skip to content

Instantly share code, notes, and snippets.

Created Jun 15, 2012
What would you like to do?
ckanext-spatial and ckan 1.8(?)
paster --plugin=ckanext-spatial spatial initdb 4326 --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/", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/", line 123, in invoke
exit_code =
File "/usr/local/ckan/local/lib/python2.7/site-packages/paste/script/", line 218, in run
result = self.command()
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/commands/", line 46, in command
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/commands/", line 60, in initdb
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/", line 20, in setup
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/", line 66, in define_spatial_tables
package_extent_table = Table('package_extent', metadata,
NameError: global name 'metadata' is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment