[Thuban-list] Re: Thuban development release 1.1.0

Jan-Oliver Wagner jan at intevation.de
Tue Jul 19 12:53:08 CEST 2005


On Thu, Jul 14, 2005 at 09:46:10PM -0300, Serviopa wrote:
> I've compilded it in Mandriva 2005 LE with wxPython 2.6.1. When I try to
> start
> it, I get this error:
> 
> Traceback (most recent call last):
> File "/usr/local/bin/thuban", line 20, in ?
> import Thuban.UI.main
> File "/usr/local/lib/thuban/Thuban/UI/main.py", line 18, in ?
> from application import ThubanApplication
> File "/usr/local/lib/thuban/Thuban/UI/application.py", line 35, in ?
> import view
> File "/usr/local//lib/thuban/Thuban/UI/view.py", line 41, in ?
> from renderer import ScreenRenderer, ExportRenderer, PrinterRenderer
> File "/usr/local//lib/thuban/Thuban/UI/renderer.py", line 35, in ?
> from Thuban.UI.classifier import ClassDataPreviewer
> File "/usr/local//lib/thuban/Thuban/UI/classifier.py", line 41, in ?
> from Thuban.UI.classgen import ClassGenDialog
> File "/usr/local/lib/thuban/Thuban/UI/classgen.py", line 43, in ?
> GENCOMBOSTR_UNIFORM = _("Uniform Distribution")
> File "/usr/local//lib/thuban/Thuban/__init__.py", line 56, in _
> return _translation_function(s)
> File "/usr/local//lib/thuban/Thuban/UI/__init__.py", line 38, in
> thuban_wx_translation
> t = t.encode(Thuban._internal_encoding, "replace")
> LookupError: unknown encoding: pt_pt
> 
> My system's locale is pt_BR, not pt_pt, so why Thuban try to use pt_pt?
> Also,
> how to bypass it?

does thuban show up when you enter:

$ LANG=C ./thuban.py

?

	Jan
-- 
Jan-Oliver Wagner               http://intevation.de/~jan/
Intevation GmbH                      http://intevation.de/
Kolab Konsortium               http://kolab-konsortium.de/
FreeGIS                                http://freegis.org/




More information about the Thuban-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)