[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] gnumed on darwin
From: |
Hilmar Berger |
Subject: |
Re: [Gnumed-devel] gnumed on darwin |
Date: |
Thu, 19 Sep 2002 20:03:36 +0200 (CEST) |
On Fri, 20 Sep 2002, Tony Lembke wrote:
> 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
> >>>
_() is an alias for functions in gmI18N - IMHO gmLabels could be the
first module using I18N, thereby raising the error if gmI18N has not been
imported yet (just a guess - seems that my gmGuiMain is different ?).
>
>
> _______________________________________________
> Gnumed-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gnumed-devel
>