Created
June 15, 2012 09:54
-
-
Save napo/2935688 to your computer and use it in GitHub Desktop.
ckanext-spatial and ckan 1.8(?)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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