On Friday 28 October 2005 12:23, Richard Hosking wrote:

Hi !

I need more info here. Which operating system / distribution ? Which version 
of python and wxpython ...

Please run check-prereqisites.sh

I think right now you use python 2.3
wxpython 2.6
gnumed from cvs.



> Sebastian
> Thanks for your response
> I have managed to get the downloadable client to work - this appears to
> use the older wxpython 2.4 so there were no problems.
so your are not using wx2.4 any more ? So your goal is to run gnumed from 
cvs ? 

> The problem arises 
> at the start of the relevant file  where there is a try/exception block.
> import wxversion fails so the the exception is to use wxPython
> Of course the classnames are different without wx at the start.
>
> I have installed 2.6 after a battle with the various dependencies.
which distribution, which installation provider ?
deb, rpm, compiled yourself ?

> With the new install I have encountered a new problem with locale - the
> shell output was:
ok.
>
> linuxlaptop:/home/richard/gnumed/gnumed/client# ./gm-0_2-from-cvs.sh
> create symbolic link `Gnumed' to `client'
> removed `gm-0_2-from-cvs.log'
> `gm-0_2.conf' -> `tmp-gm-0_2.conf'
>
> ###########################################################################
>###### #
> #
> # log file is [/home/richard/gnumed/gnumed/client/gm-0_2-from-cvs.log]
> #
> #
> # please email this file to [EMAIL PROTECTED] if you encounter
> problems          #
> #
> #
> ###########################################################################
>######
>
> GNUmed startup: Activating verbose log level for debugging.
looking good so far.
> [ERROR] (wxpython/gnumed.py:[EMAIL PROTECTED]): cannot set application
> locale to user default
> GNUmed startup: Determining GNUmed base directory ...
> - environment variable GNUMED_DIR not set
>   (only necessary if nothing else works, though)
> GNUmed startup: Determining GNUmed resource directory ...
> Traceback (most recent call last):
>   File "wxpython/gnumed.py", line 388, in ?
>     from Gnumed.pycommon import gmI18N, gmGuiBroker
>   File "/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py", line
> 318, in ?
>     __get_system_locale()
>   File "/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py", line
> 132, in __get_system_locale
>     system_locale = locale.setlocale(locale.LC_MESSAGES, '')
>   File "/usr/lib/python2.3/locale.py", line 381, in setlocale
>     return _setlocale(category, locale)
> locale.Error: unsupported locale setting

 I see. please open a shell and start python by typing python

[EMAIL PROTECTED]:~> python
Python 2.4 (#1, Mar 22 2005, 21:42:42)
[GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Now type:
import locale
system_locale = locale.setlocale(locale.LC_MESSAGES, '')

In my case it produces no error. I suspect in your case it does. Let me know.

Sebastian
-- 
Sebastian Hilbert 
Leipzig / Germany
[www.openmed.org]  -> PGP welcome, HTML ->/dev/null
ICQ: 86 07 67 86   -> No files, no URL's
VoIP: callto://[EMAIL PROTECTED]
My OS: Suse Linux. Geek by Nature, Linux by Choice


_______________________________________________
Gnumed-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnumed-devel

Reply via email to