[GRASS-dev] Issues of 6.5 build on WinXP

Jan Tošovský j.tosovsky at tiscali.cz
Tue Dec 22 18:09:05 EST 2009


Hello Everyone,

I've tried to compile 6.5 version of Grass (svn at rev. 38990) according to
the following link on my WinXP 32-bit:
http://trac.osgeo.org/grass/wiki/CompileOnWindows

I found there a broken link [1] during gathering all the individual
packages, but this file can be hopefully downloaded from another location
[2].

Thanks to this exhaustive description my build has been finished
successfully. Great work.

But after launching of 6.5 wxPython GUI I've encountered several issues:

1) I cannot add a new vector map layer. Only a dummy one is added without
the standard option dialog. All corresponding messages from the Command
output tab can be found at the bottom of this e-mail. Raster maps are Ok.

2) Encoding issue, probably the same described in the ticket 806 [3]. In all
places where localized strings are used in module dialogs there are strange
characters instead of non western glyphs. I think the ISO 8859-1 encoding is
probably used instead of UTF-8. In menu system all characters are fine.

My previous version 6.4 was installed using an installer without localized
strings so I cannot verify this behaviour there.

3) Freezing of app when the Manual tab is seleced in Kriging module
(Raster|Interpolate surface|Ordinary or block kriging) so the app must be
terminated. The same operation in another modules is Ok.

I'm not a programmer to be able to analyze that, but I'm willing to test
your ideas and fixes on my environment.

Regards,
Jan

__________
[1] http://downloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-3.tar.gz

[2]
http://sourceforge.net/projects/mingw/files/GCC%20Version%203/Current%20Rele
ase_%20gcc-3.4.5-20060117-3/gcc-g%2B%2B-3.4.5-20060117-3.tar.gz/download

[3] http://trac.osgeo.org/grass/ticket/806


Traceback (most recent call last):
  File
"C:/OSGeo4W/apps/grass/grass-6.5.svn/etc/wxpython/wxgui.py",
line 1299, in OnAddVector

self.AddVector(event)
  File
"C:/OSGeo4W/apps/grass/grass-6.5.svn/etc/wxpython/wxgui.py",
line 1401, in AddVector

self.curr_page.maptree.AddLayer('vector')
  File "c:/OSGeo4W/usr/src/grass6-devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/wxgui_utils.py", line 797,
in AddLayer

self.PropertiesDialog(layer, show=True)
  File "c:/OSGeo4W/usr/src/grass6-devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/wxgui_utils.py", line 894,
in PropertiesDialog

parentframe=self)
  File "c:/OSGeo4W/usr/src/grass6-devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menuform.py", line 1763, in
ParseCommand

self.grass_task = self.ParseInterface(cmd)
  File "c:/OSGeo4W/usr/src/grass6-devel/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/menuform.py", line 1731, in
ParseInterface

tree = etree.fromstring(getInterfaceDescription(cmd[0]).deco
de(enc).encode("utf-8"))
  File
"C:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
line 963, in XML

parser.feed(text)
  File
"C:\OSGeo4W\apps\Python25\lib\xml\etree\ElementTree.py",
line 1245, in feed

self._parser.Parse(data, 0)
xml.parsers.expat
.
ExpatError
:
not well-formed (invalid token): line 559, column 58
Traceback (most recent call last):
  File
"C:/OSGeo4W/apps/grass/grass-6.5.svn/etc/wxpython/wxgui.py",
line 368, in OnCBPageClosed

maptree = self.curr_page.maptree
AttributeError
:
'NoneType' object has no attribute 'maptree'



More information about the grass-dev mailing list