[Thuban-list] Problem with Thuban in Ubuntu
Bernhard Reiter
bernhard at intevation.de
Wed Apr 25 02:34:21 CEST 2007
On Tuesday 24 April 2007 23:40, Bernhard Reiter wrote:
> On Tuesday 24 April 2007 20:11, Bernhard Reiter wrote:
> > > Traceback (most recent call last):
> > > File "/usr/lib/thuban/Thuban/UI/classgen.py", line 221, in OnOK
> > > if genSel in (GENCOMBOSTR_UNIFORM, \
> > > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
> > > 10: ordinal not in range(128)
> > > ****************
> >
> > genSel is the result of self.genChoice.GetString(index)
> > hmm, given that you will probably use the Spanish translation
> > this would be msgstr "Distribución Uniforme" of course this cannot be
> > decoded to ascii.
> > Ah, I can reproduce this one with the German localisation.
>
> I am currently working on this one.
Fixed, also the other one problem that Samuel reported.
But:
TODO:
20070425 Check for all GetString() calls and reconvert the results
with internal_from_wxstring().
20070425 Check for all string return values, e.g. dlg.GetPaths()
in Thuban/UI/mainwindow.py and use internal_from_wxstring().
--
Managing Director - Owner: www.intevation.net (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070425/b93aea5a/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)