Skip to content

Instantly share code, notes, and snippets.

@jdee
Created October 26, 2010 14:40
Show Gist options
  • Select an option

  • Save jdee/647023 to your computer and use it in GitHub Desktop.

Select an option

Save jdee/647023 to your computer and use it in GitHub Desktop.
ee failure during db_rebuild_full
== GeocodeForCsv: migrating ==================================================
rake trisano:ee:load_defaults
(in /home/jdee/github/csinitiative/trisano/webapp)
Loading EE defaults
Loading addiitonal EE privileges
Adding EE privs to existing roles
Load geocode csv fields
rake aborted!
PGError: ERROR: relation "csv_field_translations" does not exist
LINE 1: INSERT INTO csv_field_translations (id, csv_fi...
^
: INSERT INTO csv_field_translations (id, csv_field_id, locale, long_name, short_name, created_at, updated_at)
SELECT nextval('csv_field_translations_id_seq'), a.id, 'test', 'x' || a.long_name, NULL, now(), now()
FROM csv_fields a LEFT JOIN csv_field_translations b
ON (
b.locale = 'test' AND
a.id = b.csv_field_id
)
WHERE b.csv_field_id IS NULL;
(See full trace by running task with --trace)
rake aborted!
An error has occurred, this and all later migrations canceled:
Command failed with status (1): [rake trisano:ee:load_defaults...]
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/home/jdee/.rvm/rubies/ree-1.8.7-2010.02/b...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment