Bug #1181

Problem with v.what.rast from the shell of Grass Tools

Added by leolami - almost 5 years ago. Updated almost 4 years ago.

Status:Closed Start Date:
Priority:Low Due date:
Assigned to:Lorenzo Masini % Done:

0%

Category:GRASS
Target version:Version 1.0.3
Platform:Windows Patch supplied:
Platform version: Affected version:master
Status info:0 Causes crash or corruption:No
Resolution:fixed

Description

If I use the command v.what.rast from the shell of the GRASS Tools the shell stop to work and anything happens. To stop the command I must click on the 'Close' buttom of the shell, Ctrl-C doesn't work.

When I close the shell I see that v.what.rast command works well (the column is update), but the shell of GRASS (I have run QGIS from GRASS) says:

v.what.rast vector=punti@piana_prato raster=bo_perm@piana_prato layer=1
column=valore kill shell pid = 3267
final = K
final = K
final = A
ESC ignored: [A
final = A
ESC ignored: [A
final = K
kill shell pid = 3292
final = K
final = K
final = A
ESC ignored: [A
final = A
ESC ignored: [A
final = K
final = K
final = K
final = K
final = K
UNKNOWN control char ignored: 7
UNKNOWN control char ignored: 7
UNKNOWN control char ignored: 7
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
UNKNOWN control char ignored: 7
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
final = K
kill shell pid = 3298

2 categories loaded from table
2 categories loaded from vector
0 categories from vector missing in table
0 duplicate categories in vector
2 records updated
0 update errors
GRASS 6.3.0svn (Toscana):~ >
GRASS 6.3.0svn (Toscana):~ > kill shell pid = 3451

This confirms that the command works but there is something in the code that creates the stop on the sehll of GRASS Tools.

History

Updated by Markus Neteler - over 4 years ago

I tried with QGIS-trunk with Spearfish on Mandriva:

g.copy vect=archsites,myarchsites --o
v.db.addcol myarchsites col="owner varchar(25)" 
v.info -c myarchsites
v.what.vect myarchsites qvect=fields column=owner qcolumn=label

and it got stuck.

Markus

Updated by Paolo Cavallini about 4 years ago

Fixed in 73e86da0 (SVN r10666) on *nix, OSX and minGW. Still to be solved for MSVC.

Updated by Jürgen Fischer about 4 years ago

Replying to [comment:4 pcav]:

Fixed in 73e86da0 (SVN r10666) on *nix, OSX and minGW. Still to be solved for MSVC.

Updated by Paolo Cavallini almost 4 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

So this is closed. A different method should be find to have a proper terminal in windows

Updated by Paolo Cavallini almost 4 years ago

  • Status changed from Closed to Feedback
  • Resolution deleted (fixed)

Updated by Paolo Cavallini almost 4 years ago

  • Status changed from Feedback to New

Updated by Paolo Cavallini almost 4 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Also available in: Atom PDF