Opened 16 years ago

Closed 15 years ago

#1181 closed bug (fixed)

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

Reported by: leolami Owned by: rugginoso
Priority: major: does not work as expected Milestone: Version 1.0.3
Component: GRASS Version: Trunk
Keywords: Cc: cavallini@…, neteler
Must Fix for Release: Yes Platform: Windows
Platform Version: Awaiting user input: no

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.

Change History (10)

comment:1 by leolami, 16 years ago

Cc: cavallini@… added

comment:2 by pcav, 16 years ago

Must Fix for Release: NoYes

comment:3 by neteler, 16 years ago

Cc: neteler added
Summary: Probelm with v.what.rast from the shell of Grass ToolsProblem with v.what.rast from the shell of Grass Tools

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

comment:4 by pcav, 15 years ago

Fixed in r10665 on *nix, OSX and minGW. Still to be solved for MSVC.

in reply to:  4 comment:5 by jef, 15 years ago

Replying to pcav:

Fixed in r10665 on *nix, OSX and minGW. Still to be solved for MSVC.

The shell (still) is not used on windows. So I think this bug never applied to Windows build. qtermwidget doesn't work on windows (no fork() there - neither for MinGW nor MSVC). So I wonder how this applies to minGW, but not MSVC.

comment:6 by pcav, 15 years ago

Platform: DebianWindows

comment:7 by pcav, 15 years ago

Resolution: fixed
Status: newclosed

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

comment:8 by pcav, 15 years ago

Resolution: fixed
Status: closedreopened

comment:9 by pcav, 15 years ago

Owner: changed from nobody to rugginoso
Status: reopenednew

comment:10 by pcav, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.