Errors from db.ssql script
seanh opened this issue · 2 comments
seanh commented
Hi @srkunze, I'm trying to install this using the latest ckan master on ubuntu 12.04. I got as far as this step from the README:
apply db.sql file to add necessary tables
and got this error:
(pyenv)vagrant@precise32:~/pyenv/src/ckanext-semantic$ sudo -u postgres psql -d ckantest -f db.sql
psql:db.sql:1: ERROR: table "dataset_statistics_configuration" does not exist
psql:db.sql:2: ERROR: table "similarity_configuration" does not exist
psql:db.sql:9: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "dataset_statistics_configuration_pkey" for table "dataset_statistics_configuration"
CREATE TABLE
psql:db.sql:19: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "pkey_entity_uri_similarity_method_uri" for table "similarity_configuration"
CREATE TABLE
Did I do something wrong?
srkunze commented
I am sorry, Sean. The first two lines (drop the tables) only were there to easily remove and recreate the tables. I just removed them now.
seanh commented
Ok, I think it's worked now