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. 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.
With the new install I have encountered a new problem with locale - the
shell output was:
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.
[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
removed `tmp-gm-0_2.conf'
logfile is not very informative:
2005-10-28 18:14:06
------------------------------------------------------------
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:[EMAIL PROTECTED]):
SECURITY: initial log level is [INFO]
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:[EMAIL PROTECTED]):
instantiated log file
/home/richard/gnumed/gnumed/client/gm-0_2-from-cvs.log with ID
/home/richard/gnumed/gnumed/client/gm-0_2-from-cvs.log
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:[EMAIL PROTECTED]):
SECURITY: log level change from [INFO] to [DATA]
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:[EMAIL PROTECTED]):
SECURITY: adding log target "stdout/stderr"
2005-10-28 18:14:06 [DATA] (wxpython/gnumed.py:[EMAIL PROTECTED]):
startup locale settings (should be C locale): C
2005-10-28 18:14:06 [ERROR] (wxpython/gnumed.py:[EMAIL PROTECTED]):
cannot set application locale to user default
2005-10-28 18:14:06 [INFO] (wxpython/gnumed.py:[EMAIL PROTECTED]): Starting up
as main module ($Revision: 1.87 $).
2005-10-28 18:14:06 [INFO] (wxpython/gnumed.py:[EMAIL PROTECTED]): command line
is: {'--debug': '', '--conf-file': 'tmp-gm-0_2.conf', '--log-file':
'gm-0_2-from-cvs.log'}
2005-10-28 18:14:06 [INFO] (wxpython/gnumed.py:[EMAIL PROTECTED]): Python 2.3.5
(#2, Sep 4 2005, 22:01:42)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2 (posix)
2005-10-28 18:14:06 [INFO] (wxpython/gnumed.py:[EMAIL PROTECTED]): Python string
encoding is set to [ascii]
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:[EMAIL PROTECTED]):
$Revision: 1.29 $
2005-10-28 18:14:06 [DATA]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:[EMAIL PROTECTED]):
(<aDir=None>, <aName=None>)
2005-10-28 18:14:06 [DATA]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:[EMAIL PROTECTED]):
found config file [--conf-file=tmp-gm-0_2.conf]
2005-10-28 18:14:06 [DATA]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:[EMAIL PROTECTED]):
parsing config file [tmp-gm-0_2.conf]
2005-10-28 18:14:06 [DATA] (wxpython/gnumed.py:[EMAIL PROTECTED]): old-style
resource path: /usr/share/gnumed/
2005-10-28 18:14:06 [WARN]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:[EMAIL PROTECTED]): group
[client] not found
2005-10-28 18:14:06 [DATA] (wxpython/gnumed.py:[EMAIL PROTECTED]): new-style
resource path: /usr/share/gnumed/
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py:[EMAIL PROTECTED]):
$Revision: 1.12 $
It appears that the problem is with python2.3
Thanks for your continuing patience :)
Richard
_______________________________________________
Gnumed-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnumed-devel