Skip to content

Instantly share code, notes, and snippets.

@napo
Created Jun 15, 2012
Embed
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/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-spatial/ckanext/spatial/commands/spatial.py", line 46, in command
self.initdb()
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/commands/spatial.py", line 60, in initdb
db_setup(srid)
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/model.py", line 20, in setup
define_spatial_tables(srid)
File "/usr/local/ckan/src/ckanext-spatial/ckanext/spatial/model.py", 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