-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
A new dump of an initial chado database version 1.31 has been created (in the update_chado_dump_1.31 branch). However TBro is not able to install into this schema
phing database-initialize -debug
reveals the following error:
[exec] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "cv_id" violates not-null constraint
[exec] DETAIL: Failing row contains (48298, null, expected_count, null, 106130, 0, 0).' in /tmp/build/tbro/database/cvterms/setup-cvterms.php:169
[exec] Stack trace:
[exec] #0 /tmp/build/tbro/database/cvterms/setup-cvterms.php(169): PDOStatement->execute()
[exec] #1 {main}
[exec] thrown in /tmp/build/tbro/database/cvterms/setup-cvterms.php on line 169
This is due to the fact that the CV "Statistical Terms" is missing in the dump. This might be a problem with the chado installation, the used ontologies or TBro. In any case it would be possible for TBro to check for required CVs and create them if they do not already exist.