[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] gnumed on darwin
From: |
Tony Lembke |
Subject: |
[Gnumed-devel] gnumed on darwin |
Date: |
Fri, 20 Sep 2002 00:22:16 +1000 |
Any suggestions as to what may be happenning here?
As a test, trying to import gmGuiMain
Get an error related to 'import gmLabels', although running 'import
gmLabels' separately works fine ??
Looks like gmSQLListControl (imported by gmSQLSimpleSearch) is trying
to run gmLabels.py rather than import it??
[localhost:gnumed/client/wxpython] tlembke% python
Python 2.2.1 (#4, May 23 2002, 15:33:00)
[GCC 2.95.2 19991024 (release)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gmGuiMain
23:59:35: Debug: /usr/local/lib/libwx_macd-2.3.rsrc
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "gmGuiMain.py", line 45, in ?
import gmGuiBroker, gmPG, gmSQLSimpleSearch, gmSelectPerson,
gmConf, gmLog, gmPlugin, gmCfg
File
"/Users/tlembke/gnumed/gnumed/client/wxpython/gmSQLSimpleSearch.py",
line 22, in ?
import gmSQLListControl
File "gmSQLListControl.py", line 21, in ?
import gmPG, gmLabels, gmLog
File "/Users/tlembke/gnumed/gnumed/client/wxpython/gmLabels.py", line
34, in ?
Patients = (_("lastname"), _("firstnames"), _("called"),
_("d.o.b"), _("street"), _("city"), _("urid"))
NameError: name '_' is not defined
>>> import gmSQLSimpleSearch
>>> import gmSQLListControl
>>> import gmLabels
>>>
- [Gnumed-devel] gnumed on darwin,
Tony Lembke <=