[GRASS-user] BaseException.message has been deprecated as of Python 2.6

Hi all,

I tried to create a new GRASS location with location wizard and gave me this errors:

/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py:63: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message
Traceback (most recent call last):
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gis_set.py”, line 404, in OnWizard
gWizard = location_wizard.LocationWizard(self, self.tgisdbase.GetValue())
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/location_wizard.py”, line 1742, in init
success = self.OnWizFinished()
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/location_wizard.py”, line 1905, in OnWizFinished
success = self.EPSGCreate()
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/location_wizard.py”, line 2120, in EPSGCreate
p = gcmd.Command(cmdlist, stderr=None)
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py”, line 358, in init
_("Error: ") + self.GetError()))
gui_modules.gcmd.CmdError/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py:70: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
message=self.message,

Them I tried delete a location and give me this error:
/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py:63: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
self.message = message

Maybe is about python 2.6? I compiled GRASS 6.4 RC5 in ubuntu hardy with python 2.6

Some advice?
Thanks!!

Jhon Ortiz Trujillo
Bogotá - Colombia
Celular (057) 311 - 5143146


Comparte tus fotos con tus amigos. Más fácil con Windows Live

Hi,

2009/6/20 Jhon Ortiz <eljhonjhon@hotmail.com>:

[...]

Them I tried delete a location and give me this error:
/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py:63:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
self.message = message

note that it's just *warning* not error, anyway fixed in r37991.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa