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…
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?
It doesn’t matter whether I choose the cat column or another attribute column, the same issue occurs.
l haven’t had a chance to test using the NC data however before raising the issue I did test using spearfish and the “fields” and “archsites” maps - this worked, but there are only 25 records.
What I did discover when aborting the v.distance command and closing winGrass is it finally wrote the data to the dbf file. It seems the command had to be aborted and winGrass shutdown, then the data was written out - I hope this gives someone a lead on the issue.
Sharon
On Tue, Aug 23, 2011 at 9:28 PM, Helmut Kudrnovsky <hellik@web.de> wrote: