Started on something simple which didn't run. gmAbout. It wouldn't run without 
the addition of:

from Gnumed.pycommon import gmI18N

because it seemed to crash on this section: ie the _( 
class cContributorsDlg(wx.Dialog):
        # people who don't want to be listed here:
        # ...
        contributors = _(

Runs now but still gives the following error message which I didn't 
understand.

[EMAIL PROTECTED] wxpython]$ python gmAbout.py
sys:1: DeprecationWarning: Non-ASCII character '\xe4' in file gmAbout.py on 
line 180, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details

didn/t want to check it in because my corrections may not be valid.

Regards

richard



On Thursday 29 September 2005 08:46, Karsten Hilbert wrote:
> On Thu, Sep 29, 2005 at 08:28:20AM +1000, Richard wrote:
> > What is happening re changing all the files to 2.5. Is Ian checking in a
> > global search and replace?
>
> Ian gets the credits for coming up with a global
> search/replace strategy. I have applied some of it to the
> files already and committed that. We now need testing,
> replacing, testing, replacing etc etc.
>
> Feel free to change any wxFoo you find to wx.Foo (except in the
>
> try:
>       import wxversion
>       ...
> except ...:
>       ...
>
> blocks). Be sure to check in anything you change on a timely
> basis so work doesn't get done concurrently. Apply the
> customary caution to checkins.
>
> A good way to find places to fix is to run the client, try
> something, then check the log for errors it complains about.
>
> Karsten
2005-09-29 10:45:08 ------------------------------------------------------------
2005-09-29 10:45:08 [INFO]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:[EMAIL PROTECTED]): SECURITY: initial log level is [INFO]  
2005-09-29 10:45:08 [INFO]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:[EMAIL PROTECTED]): instantiated log file /home/richard/.gmAbout/gmAbout.log with ID /home/richard/.gmAbout/gmAbout.log
2005-09-29 10:45:08 [INFO]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py:[EMAIL PROTECTED]): $Revision: 1.12 $
2005-09-29 10:45:08 [INFO]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py:[EMAIL PROTECTED]): text domain is [gmAbout]
2005-09-29 10:45:08 [INFO]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py:[EMAIL PROTECTED]): ${GMABOUT_DIR} not set
2005-09-29 10:45:08 [WARN]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmI18N.py:[EMAIL PROTECTED]): Giving up and falling back to NullTranslations() class in despair.

Attachment: gmAbout.py
Description: application/python

_______________________________________________
Gnumed-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnumed-devel

Reply via email to