Re: database not suitable for use

Jerzy Luszawski <[email protected]> Thu, 15 Feb 2024 22:18:13 +0100
Newsgroups gmane.comp.gnu.medical.devel
Message-ID <20240215221813.5259d882@jl-desktop>
> Am Thu, Feb 15, 2024 at 11:18:38AM +0100 schrieb Bruno Maire:
> 
> > Hi
> > I would like to run gnumed from git.
> > However I always get 'database not suitable for use'
> > Log attached.
> > What am I doing wrong?  
> 
> I don't think you are doing anything wrong.
> 
> Does GNUmed show any dialogs before it refuses to start up ?
> 
> Karsten

Hello,

Check this part of the log:

2024-02-15 11:03:29  DEBUG     gm.db         [139668927156288 MainThread]  (/home/gnumed/gnumed/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__get_schema_hash_by_gm_func() #605): version: 9999
2024-02-15 11:03:29  DEBUG     gm.db         [139668927156288 MainThread]  (/home/gnumed/gnumed/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::__get_schema_hash_by_gm_func() #608): hash: 3a9dc575763bcfa852f80bd52b2ff902
2024-02-15 11:03:29  ERROR     gm.db         [139668927156288 MainThread]  (/home/gnumed/gnumed/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible() #516): database schema version mismatch
2024-02-15 11:03:29  ERROR     gm.db         [139668927156288 MainThread]  (/home/gnumed/gnumed/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible() #517): expected: 0 (not released, testing only)
2024-02-15 11:03:29  ERROR     gm.db         [139668927156288 MainThread]  (/home/gnumed/gnumed/gnumed/gnumed/Gnumed/pycommon/gmPG2.py::database_schema_compatible() #521): detected: <unknown> (3a9dc575763bcfa852f80bd52b2ff902)



-- 
Regards,
Jerzy Luszawski