Hello, I changed code a bit to not fail so hard in r53238 (6.4) and r53239 (7). Added one extra string 'unknown'
Still sometimes it will report wrong data, as Python's getdefaultlocale is broken (by design?). On my system it sometimes returns ('lv_LV', 'ISO8859-13') (as somewhere ISO encoding is set to be default for lv_LV), still my system doesn't support provided ISO encoding and attempt to use it in i.e. setlocale would cause only a failure. Maris. 2012/9/20 Markus Neteler <nete...@osgeo.org>: > Hi, > > in GRASS 6, I currently get in > > Help -> "About GRASS" > > Traceback (most recent call last): > File "/home/neteler/grass64/dist.x86_64-unknown-linux- > gnu/etc/wxpython/lmgr/frame.py", line 741, in OnAboutGRASS > > win = AboutWindow(self) > File "/home/neteler/grass64/dist.x86_64-unknown-linux- > gnu/etc/wxpython/gui_core/ghelp.py", line 483, in __init__ > > lang = '.'.join(locale.getdefaultlocale()) > TypeError > : > sequence item 0: expected string, NoneType found > > Markus > _______________________________________________ > grass-dev mailing list > grass-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev