gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] fixes to gmAbout


From: ihaywood
Subject: Re: [Gnumed-devel] fixes to gmAbout
Date: Thu, 29 Sep 2005 10:42:53 +0800
User-agent: Internet Messaging Program (IMP) 3.2.1

Quoting Richard Terry <address@hidden>:

> 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.
> 
> address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]