Skip to content

TBro can not be installed into chado 1.31 dump #14

@iimog

Description

@iimog

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions