[GRASS-dev] GRASS 6.4 Windows issues

Colin Nielsen colin.nielsen at gmail.com
Thu Mar 19 09:06:47 EDT 2009


Works for me (mingw/msys build on vista), v.patch and v.rast.stats all
work in develbranch_6.

However, they fail when tested on trunk.

The v.patch window opens but then crashes when I run it.

v.rast.stats gives this errror:

Traceback (most recent call last):
  File "C:\MinGW\msys\local\grass-7.0.svn\etc\wxpython\gui_m
odules\mapdisp_window.py", line 536, in OnIdle

self.UpdateMap(render=True)
  File "C:\MinGW\msys\local\grass-7.0.svn\etc\wxpython\gui_m
odules\mapdisp_window.py", line 661, in UpdateMap

self.Draw(self.pdc, self.img, drawid=id)
  File "C:\MinGW\msys\local\grass-7.0.svn\etc\wxpython\gui_m
odules\mapdisp_window.py", line 289, in Draw

pdc.DrawBitmap(bitmap, wx.Point(coords[0], coords[1]), True)
# draw the composite map
  File "c:\MinGW\Python\lib\site-packages\wx-2.8-msw-
unicode\wx\_gdi.py", line 7438, in DrawBitmap

return _gdi_.PseudoDC_DrawBitmap(*args, **kwargs)
TypeError
:
in method 'PseudoDC_DrawBitmap', expected argument 3 of type
'int'
Traceback (most recent call last):
  File
"C:/MinGW/msys/local/grass-7.0.svn/etc/wxpython/wxgui.py",
line 521, in OnMenuCmd

menuform.GUI().ParseCommand(cmd, parentframe=self)
  File "C:\MinGW\msys\local\grass-7.0.svn\etc\wxpython\gui_m
odules\menuform.py", line 1732, in ParseCommand

xml.sax.parseString( getInterfaceDescription(cmd[0]),
handler )
  File "C:\MinGW\msys\local\grass-7.0.svn\etc\wxpython\gui_m
odules\menuform.py", line 1673, in getInterfaceDescription

raise IOError, _("Unable to fetch interface description for
command '%s'.") % cmd
IOError
:
Unable to fetch interface description for command
'v.rast.stats'.


-Colin


On Wed, Mar 18, 2009 at 2:37 PM, Michael Barton <michael.barton at asu.edu> wrote:
> In addition to the v.type.sh issue, there are at least 2 more places where
> commands don't work in Windows.
>
> v.patch won't start. Maybe it is not getting a bat version or something?
>
> v.rast.stats will not work because it calls another script v.db.addcol and
> calling a bash script from within a bash script in Windows seems to be a
> problem.  (note that calling v.db.addcol from the tcltk command processor
> works OK).
>
> Can any of you windows folks check and find a way to fix these? I can have
> people test in my lab.
>
> Michael
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>


More information about the grass-dev mailing list