[Top][All Lists]

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

Re: [Gnumed-devel] More info on segfaulting on startup.

From: kittylitter
Subject: Re: [Gnumed-devel] More info on segfaulting on startup.
Date: Sun, 24 Apr 2005 19:57:54 +0800

On Sun Apr 24 15:29 , Richard Terry  sent:

>Back from hoidays, so thought I'd have a quick look at where the code is 
>crashing as no information is being left in the log file.
>file: run as (python --unicode-gettext=0)
>Routine:def setup_locale():
>line about 154 (not exact as I've put in little break statements but the code 
>that is causing the initial segfault is this line:
>               locale.ERA : 'era',
>commenting this line out still leads to crash after attempting to load some 
>I'm obviously way out of the loop here and something is not set on my machine.
>The cvs was fresh as was gnumed database.
>Attatched is some sort of log.

The problem is that SmartCombo is being configured with pam.keys() instead
of map.keys() , and map.keys() is a list that might not contain all
string objects.

gnumed/gnumed/Gnumed/wxpython/, line 150

changing self.pam.keys()  to  [ str(x) for x in ]
seemed to work.

I recently reinstalled everything onto a debian based system. (sid)
I had to use apt-get to update the system from 
and it managed to load python23 with wxPython preinstalled, 
python23-pgsql  which is pypgsql , and postgresql.

I was able to install the backend using the 
, but am still having difficulty with
I was also able to install by dumping the salaam database, and 
running it on an empty gnumed database.

There were a few tables that were accessed by the client that 
didn't have the correct permissions after the install.
I had to do , psql -h -U gm-dbo gnumed
    grant select on xxxx  to group "gm-doctors" 

where xxxx was config, v_cfg_items, distributed_db , i18n_translations, 
form_defs, form_types .


reply via email to

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