On 27/03/08 14:12, Martin Landa wrote:
Hi,
2008/3/27, Moritz Lennert <[EMAIL PROTECTED]>:
[snip]
Is there a way to activate a "debug" mode in wxgrass to log what happens
behind the screen ?
yes,
export GRASS_WX_DEBUG=[0-5]
log attached.
export GRASS_DEBUG=[0-5]
I didn't see anything different with GRASS_DEBUG, however when I try
with g.gisenv set=DEBUG=3, wxgrass freezes when I try to display a
vector map. To reproduce: start wxgrass, display a vector map, set
'g.gisenv set=DEBUG=3', push on 'Re-render map' button.
Moritz
GUI D3/3: Command(): cmd='v.db.connect -g --q [EMAIL PROTECTED]', wait=True,
returncode=0, alive=False
GUI D3/3: Command(): cmd='db.describe -c --q table=myroads driver=dbf
database=/home/mlennert/GRASS/DATA/spearfish60/user1/dbf', wait=True,
returncode=0, alive=False
GUI D3/3: Command(): cmd='v.what -a --q [EMAIL PROTECTED]
east_north=597824.465558,4924152.078385 distance=298.119122', wait=True,
returncode=0, alive=False
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D3/3: MapLayer.__init__(): type=vector, cmd='d.vect [EMAIL PROTECTED]
color=255:255:0: fcolor=255:255:0: width=2 -i cats=49', name=qlayer, active=1,
opacity=1, hidden=1
GUI D3/3: Command(): cmd='g.tempfile pid=10213', wait=True, returncode=0,
alive=False
GUI D3/3: Map.AddLayer(): layer=qlayer
GUI D2/3: Map.ChangeMapSize(): width=638, height=421
GUI D3/3: Map.AdjustRegion(): {'rows': 421.0, 'e': 609000.0, 'cells': 268598.0,
'cols': 638.0, 'center_northing': 4920855.0, 'n': 4928010.0, 'center_easting':
599490.0, 's': 4913700.0, 'w': 589980.0, 'ewres': 29.811912225705328, 'nsres':
33.990498812351547}
GUI D3/3: Map.SetRegion(): n-s resol: 33.990499; n-s resol3: 30; rows: 421;
north: 4928010.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 477; west:
589980.0; top: 1; cols: 638; cols3: 634; depths: 1; e-w resol: 29.811912; proj:
1; e-w resol3: 30; east: 609000.0; south: 4913700.0;
GUI D3/3: MapLayer.Render(): type=vector
GUI D3/3: Command(): cmd='g.tempfile pid=10213', wait=True, returncode=0,
alive=False
GUI D3/3: Command(): cmd='d.vect [EMAIL PROTECTED] --q', wait=True,
returncode=0, alive=False
GUI D3/3: Map.Render() type=vector, [EMAIL PROTECTED]
GUI D3/3: MapLayer.Render(): type=vector
GUI D3/3: Command(): cmd='g.tempfile pid=10213', wait=True, returncode=0,
alive=False
GUI D3/3: Command(): cmd='d.vect [EMAIL PROTECTED] color=255:255:0:
fcolor=255:255:0: width=2 -i cats=49 --q', wait=True, returncode=0, alive=False
GUI D3/3: Map.Render() type=vector, layer=qlayer
GUI D3/3: Command(): cmd='g.pnmcomp
in=/home/mlennert/GRASS/DATA/spearfish60/user1/.tmp/geog-pc40/10213.2.ppm,/home/mlennert/GRASS/DATA/spearfish60/user1/.tmp/geog-pc40/10213.3.ppm
mask=/home/mlennert/GRASS/DATA/spearfish60/user1/.tmp/geog-pc40/10213.2.pgm,/home/mlennert/GRASS/DATA/spearfish60/user1/.tmp/geog-pc40/10213.3.pgm
opacity=1.0,1.0 background=255:255:255 width=638 height=421
output=/home/mlennert/GRASS/DATA/spearfish60/user1/.tmp/geog-pc40/10213.0',
wait=True, returncode=0, alive=False
GUI D2/3: Map.Render() force=True
file=/home/mlennert/GRASS/DATA/spearfish60/user1/.tmp/geog-pc40/10213.0
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D3/3: BufferedWindow.GetOverlay(): numberof=0
GUI D3/3: Map.AdjustRegion(): {'rows': 421.0, 'e': 609000.0, 'cells': 268598.0,
'cols': 638.0, 'center_northing': 4920855.0, 'n': 4928010.0, 'center_easting':
599490.0, 's': 4913700.0, 'w': 589980.0, 'ewres': 29.811912225705328, 'nsres':
33.990498812351547}
GUI D3/3: Map.SetRegion(): n-s resol: 33.990499; n-s resol3: 30; rows: 421;
north: 4928010.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 477; west:
589980.0; top: 1; cols: 638; cols3: 634; depths: 1; e-w resol: 29.811912; proj:
1; e-w resol3: 30; east: 609000.0; south: 4913700.0;
GUI D2/3: BufferedWindow.UpdateMap(): render=True, renderVector=True ->
time=0.02
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev