[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] running from cvs
From: |
Richard Hosking |
Subject: |
Re: [Gnumed-devel] running from cvs |
Date: |
Fri, 28 Oct 2005 18:23:55 +0800 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050317) |
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 address@hidden if you encounter
problems #
#
#
#################################################################################
GNUmed startup: Activating verbose log level for debugging.
[ERROR] (wxpython/gnumed.py:address@hidden): 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:address@hidden):
SECURITY: initial log level is [INFO]
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:address@hidden):
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:address@hidden):
SECURITY: log level change from [INFO] to [DATA]
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:address@hidden):
SECURITY: adding log target "stdout/stderr"
2005-10-28 18:14:06 [DATA] (wxpython/gnumed.py:address@hidden):
startup locale settings (should be C locale): C
2005-10-28 18:14:06 [ERROR] (wxpython/gnumed.py:address@hidden):
cannot set application locale to user default
2005-10-28 18:14:06 [INFO] (wxpython/gnumed.py:address@hidden): Starting up
as main module ($Revision: 1.87 $).
2005-10-28 18:14:06 [INFO] (wxpython/gnumed.py:address@hidden): 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:address@hidden): 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:address@hidden): Python string
encoding is set to [ascii]
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
$Revision: 1.29 $
2005-10-28 18:14:06 [DATA]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
(<aDir=None>, <aName=None>)
2005-10-28 18:14:06 [DATA]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
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:address@hidden):
parsing config file [tmp-gm-0_2.conf]
2005-10-28 18:14:06 [DATA] (wxpython/gnumed.py:address@hidden): old-style
resource path: /usr/share/gnumed/
2005-10-28 18:14:06 [WARN]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden): group
[client] not found
2005-10-28 18:14:06 [DATA] (wxpython/gnumed.py:address@hidden): new-style
resource path: /usr/share/gnumed/
2005-10-28 18:14:06 [INFO]
(/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py:address@hidden):
$Revision: 1.12 $
It appears that the problem is with python2.3
Thanks for your continuing patience :)
Richard
- [Gnumed-devel] running from cvs, Richard Hosking, 2005/10/27
- Re: [Gnumed-devel] running from cvs, ihaywood, 2005/10/27
- Re: [Gnumed-devel] running from cvs, Sebastian Hilbert, 2005/10/28
- Re: [Gnumed-devel] running from cvs,
Richard Hosking <=
- Re: [Gnumed-devel] running from cvs, Sebastian Hilbert, 2005/10/28
- Re: [Gnumed-devel] running from cvs, Richard Hosking, 2005/10/28
- Re: [Gnumed-devel] running from cvs, Sebastian Hilbert, 2005/10/28
- Re: [Gnumed-devel] running from cvs, Richard Hosking, 2005/10/28
- Re: [Gnumed-devel] running from cvs, Sebastian Hilbert, 2005/10/28
- Re: [Gnumed-devel] running from cvs, Ian Haywood, 2005/10/28
- Re: [Gnumed-devel] running from cvs, Richard Hosking, 2005/10/29
- Re: [Gnumed-devel] running from cvs, Sebastian Hilbert, 2005/10/29
- Re: [Gnumed-devel] running from cvs, Elizabeth Dodd, 2005/10/30
Re: [Gnumed-devel] running from cvs, Karsten Hilbert, 2005/10/28