gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] Going nuts with gnumed install on Fedora 1


From: Ian Haywood
Subject: Re: [Gnumed-devel] Going nuts with gnumed install on Fedora 1
Date: Thu, 11 Mar 2004 11:18:25 +1100

On Sat, 6 Mar 2004 13:04:55 -0600
Salvatore Enrico Indiogine <address@hidden> wrote:

> Greetings!
> 
> I _think_ I am following the instructions on installing gnumed but it does 
> not 
> work.  I got the latest CVS (yesterday) and am following the instructions in 
> gnumed/gnumed/client/doc/
> 
> The client gui does not start:
> 
> address@hidden wxpython]$ pwd;./gnumed.sh
> /home/enrico/gnumed/gnumed/client/wxpython
> 
> CRITICAL ERROR: Cannot load GnuMed Python modules ! - Program halted.

GNUMed is under active development, so is a bit of a moving target when it 
comes to documentation.
./gnumed.sh is now (since 3 days ago) for running from installed versions, for 
when we have a stable release
(Real Soon Now)

You should run "gm-from-cvs.py" in the same directory when running from a CVS 
tree.

> The pyPgSQL test fails:
> 
> python PgSQLTestCases.py
> 
> ======================================================================
> ERROR: Check_values (__main__.PgResultSetTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> DatabaseError: Ivalid format for PgVersion construction.

Seems like you need to talk to the Fedora guys, this is unrelated to your above 
problem (but would still stop
you from running gnumed of course)

> I could have problems because Fedora default Python is 2.2 but I also 
AFAIK Gnumed should work on 2.2 (although I use 2.3 myself, I keep the 2.2 docs
to make sure 2.3 feature don't slip into the code)

> I am going to create a Debian-knoppix partition on my computer and try again. 
>  
> Do we have Debian instructions?

apt-get install postgresql python2.3-pygresql libwxgtk2.4-python

will meet all your dependencies, then edit /etc/postgres/pg_hba.conf and 
replace its contents with:

local    all   postgres                                        ident sameuser
local    all         all                                             md5
host    all         all     127.0.0.1   255.255.255  md5

then go to gnumed/gnumed/server/bootstrap
and run bootstrap-gm_db_system.py
you need to run it 4 times, options 5, 4, 3 and 6 in that order. [*]

then run gm-from-cvs.py as I said.

In doing this, be mindful that gnumed has very limited functionality at present 
(but increasing),
it's a lot of effort for little gain, unless you want to help develop gnumed 
further.

Ian


[*] this really should be improved, I will try to write one config that does 
the lot, and reduce the 
number of options.

-- 
PGP public key E750652E at wwwkeys.pgp.net
9BF0 67B7 F84F F7EE 0C42  C063 28FC BC52 E750 652E

Attachment: pgpltKOvyFbJe.pgp
Description: PGP signature


reply via email to

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