[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] dependency problem in test_data.conf (still trying to
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] dependency problem in test_data.conf (still trying to bootstrap) |
Date: |
Fri, 9 Jan 2004 00:08:08 +0100 |
User-agent: |
Mutt/1.3.22.1i |
> I'm getting a dependency problem when trying to bootstrap (in Mandrake 9.1):
>
> $ python bootstrap-gm_db_system.py --conf-file=bootstrap-test_data.conf
>
> gmDemographics-Person-test_data.sql is in the attic... looks like
> a dependency that wasn't cleaned-up when it was deleted.
Very strange. It is in the attic of sql/ but not in the attic
of sql/test-data/ (the latter doesn't even *have* an attic
directory). A delete and re-checkout should clean up the
problem.
> -----
> INSERT INTO gm_schema_revision (filename, version) VALUES('$RCS
> gmDemographics-Person-test_data.sql,v $', '$Revision: 1.2 $')
> 2004-01-08 00:28:49 [ERROR]
> (Psql.py::run:156): ../sql/test-data/gmDemographics-Person-test_data.sql:2
> 3: ERROR: Cannot insert a duplicate key into unique index
> gm_schema_revision_filename_key
Fixed. We now delete any old version already in
gm_schema_revision (due to having been imported previously).
> I tried commenting out the line:
> ---
> gmDemographics-Person-test_data.sql
> ---
> in "bootstrap-test_data.conf"... but it seems there is a more
> complicated dependency.
Like what ?
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346