[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Can't run gnumed at all any more
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Can't run gnumed at all any more |
Date: |
Mon, 11 Apr 2005 19:02:10 +0200 |
User-agent: |
Mutt/1.3.22.1i |
On Mon, Apr 11, 2005 at 02:31:07PM +1000, Richard wrote:
> Not having run or looked at gnuMed for several weeks I thought I'd see what
> was happening but segfaults at startup.
The two most common causes are
- broken wxWidgets/wxPython
- ever so slightly changed wxPython image handling code
> 1) gnumed itself just segfaults at initiation with nothing in the log file
How did you run it ? How far did you get ?
> 3) attatched is the output from trying to run gmDemographics in case that
> gives a hint, plus the terminal messages.
>
> raceback (most recent call last):
> File "gmDemographics.py", line 1188, in ?
> app1.SetWidget(TestPanel, -1)
> File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 2020, in
> SetWidget
> w = widgetClass(self.frame, *args)
> File "gmDemographics.py", line 1183, in __init__
> wizard = NewPatientWizard(self)
> File "gmDemographics.py", line 1149, in __init__
> self.__do_layout()
> File "gmDemographics.py", line 1168, in __do_layout
> self.basic_pat_details = BasicPatDetailsPage(self.__wizard, _('Basic
> patient details'))
> File "gmDemographics.py", line 1088, in __init__
> validator = gmGuiHelpers.cTextObjectValidator(required = True,
> only_digits
> = False))
> File "/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmDateTimeInput.py",
> line 179, in __init__
> self.__tooltip = _(
> File "/usr/lib/python2.3/gettext.py", line 203, in ugettext
> return unicode(message)
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xfc in position 111:
> ordinal not in range(128)
>
> Maybe I missed some advance?
You need to run with --unicode-gettext=0 since your wxPython
is not compiled for Unicode. Neither is mine.
You'll also have to run gmDemographics with --debug if we want
to see debugging related log messages.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346