[GRASS-user] winGrass and v.distance error

Sharon M morrisxs09 at gmail.com
Mon Aug 22 20:07:02 EDT 2011


Hi,

I'm running winGrass build 6.4 r47775-1 on win XP and using v.distance to
identify nearest area for about 7000 points.
Using the v.distance window to enter required parameter values creates and
runs the following command...

v.distance from=txtloc at PERMANENT to=RA at PERMANENT to_type=line,area
upload=cat column=cat to_column=RA_CODE

The v.distance Command Output window shows feedback of the type "More cats
found in to_layer (area=9)" etc, but the command does not upload the cat
values; in fact the command does not finish (left it running for 12 hours
and nothing happened).  v.distance.exe is showing in the windows process
list but using no cpu. If you choose the "Abort Cmd" on the v.distance
window, the command does not abort either.  The only way to stop the process
is exit winGrass and start again.

I've also tried running the command with the -p option and get the same non
completion.

The GIS Layer Manager Command Console window shows the following feedback
after running v.distance...

Exception in thread Thread-32:
Traceback (most recent call last):
  File "C:\OSGeo4w\apps\Python25\lib\threading.py", line
486, in __bootstrap_inner
    self.run()
  File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/goutput.py", line 114, in
run
    self.resultQ.put((requestId, self.requestCmd.run()))
  File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gcmd.py", line 500, in run
    self._redirect_stream()
  File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/gcmd.py", line 529, in
_redirect_stream
    self.stderr.write(line)
  File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/goutput.py", line 930, in
write
    self.message += line.split(':', 1)[1].strip() + '\n'
IndexError: list index out of range


This feedback is confusing because I have wingrass installed in d:\gis,
nothing installed at c:/osgeo4w

Any thoughts on what the issue is please? any workarounds?

Thanks in advance,

Sharon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20110823/8285b226/attachment.html


More information about the grass-user mailing list