gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] Still no luck with test data


From: Richard Terry
Subject: [Gnumed-devel] Still no luck with test data
Date: Wed, 8 Dec 2004 17:24:02 +1100
User-agent: KMail/1.5.4

Carlos,

Have tried what you suggested to no avail. Note that it bombs out before the 
AMIS test data (which of course I don't have anyway - this installation 
script needs modifying so as if one installs test data it dosn't request that 
- unless of course it is needed, in which case it should be supplied (if 
possible legally).

I once again enclose the log file, but again, it crashes as the same place:
===================================================
2004-12-08 17:09:07 [DATA]  
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPsql.py:address@hidden):
insert into lnk_pat2vacc_reg (fk_patient, fk_regime) values (
        currval('identity_id_seq'),
        (select pk_regime from v_vacc_regimes where regime='Tetanus (STIKO)')
)
2004-12-08 17:09:07 [ERROR] 
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPsql.py:address@hidden): 
../sql/test-data/test_data-James_Kirk.sql:73:
 ERROR:  ExecInsert: Fail to add null value in not null attribute fk_regime
2004-12-08 17:09:07 [ERROR] (./bootstrap-gm_db_system.py:address@hidden): 
failed to import [../sql/test-data/test_data-James_Kirk.sql]
=====================================================

Interestingly if I try and run your multi-sash soap stuff now, I get a 
different set of error messages -doesn't even get to the gnumed logon.

Karsten, perhaps you can enlighten me why the test data won't import. I'm 
trying to get Carlos's SOAP's up and running to see how they function.

Regards

Richard.

================
adding test data
log file is 
[/home/richard/gnumed/gnumed/server/bootstrap/redo-public-test_data.log]
Bootstrapping GnuMed database system...
You are about to install the following GnuMed services:
-------------------------------------------------------
service [historica] => database [gnumed] => server [localhost]
service [historica] => database [gnumed] => server [localhost]
-------------------------------------------------------
This script installs test data into an existing GnuMed database
named "gnumed". Also, the database owner "gm-dbowner" must exist
already.
Do you really want to install this database setup ?
Type yes or no: yes
==> bootstrapping service [historica] (= test data) ...
We are about to check whether we need to create the
database user who owns all GnuMed database objects.

Unless the password for this user is given in the
config file you will be asked to provide it.
If you already ran the bootstrapping script previously
please provide the same password again. Otherwise you
may get connection errors if this database user had
been created previously with a different password.

I need the password for the GnuMed database user [gm-dbowner].
Please type password:
Cannot bootstrap services.
Please check the log file for details.
adding on to standard (public) database to reach maximum database level
the following imports are likely to fail but are non-critical
-------------------
importing AMIS drug data

Attachment: redo-public-test_data.log
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]