Quoting Richard Terry <[EMAIL PROTECTED]>:

> 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

Hmm, looks like one of our Teutonic friends has been using their crazy
non-standard extensions to the Latin alphabet again. ;-)

Put 
# -*-  coding: latin-1 -*-
in the top line and Python should be happy.

Ian


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

Reply via email to