[GRASS-user] wxpython: vdigit crash
Craig Leat
craig.leat at gmail.com
Mon Feb 2 14:49:16 EST 2009
Hi
I am using the wxpython gui in GRASS 6.5 and all seems to work well
except the vector digitizer. Any attempt to digitize a new or existing
vector crashes the gui. I have built from source (on Ubuntu 7.10) and
expect that I've done something silly while building. Please give me a
hint as to what I have done wrong.
Thanks
Craig
Ps Debug output is attached.
-------------- next part --------------
GRASS 6.5.svn (spearfish60):~ > export GRASS_WX_DEBUG=3
GRASS 6.5.svn (spearfish60):~ > g.gui wxpython&
[1] 6586
GRASS 6.5.svn (spearfish60):~ > GUI D1/3: GMFrame.NewDisplay(): idx=0
GUI D3/3: CreateTool(): tool=498, label=displaymap bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x939a5e8> >
GUI D3/3: CreateTool(): tool=499, label=rendermap bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9398ca0> >
GUI D3/3: CreateTool(): tool=500, label=erase bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9399488> >
GUI D3/3: CreateTool(): tool=501, label=pointer bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9399678> >
GUI D3/3: CreateTool(): tool=502, label=query bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9399608> >
GUI D3/3: CreateTool(): tool=503, label=pan bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x939a458> >
GUI D3/3: CreateTool(): tool=504, label=zoom_in bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x939a468> >
GUI D3/3: CreateTool(): tool=505, label=zoom_out bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x939a4a0> >
GUI D3/3: CreateTool(): tool=506, label=zoom_back bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x939a4d8> >
GUI D3/3: CreateTool(): tool=507, label=zoommenu bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x939b1a0> >
GUI D3/3: CreateTool(): tool=508, label=analyze bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93a1088> >
GUI D3/3: CreateTool(): tool=509, label=overlay bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93a1098> >
GUI D3/3: CreateTool(): tool=510, label=savefile bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93a1048> >
GUI D3/3: CreateTool(): tool=511, label=printmap bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93a0fa0> >
GUI D2/3: MapFrame.__InitDisplay():
GUI D2/3: Map.ChangeMapSize(): width=760, height=545
GUI D3/3: Command(): cmd='g.region -u -g -p -c', wait=True, returncode=0, alive=False
GUI D3/3: Map.GetRegion(): {'rows': 700.0, 'e': 609000.0, 'cells': 665000.0, 'cols': 950.0, 'center_northing': 4921000.0, 'n': 4928000.0, 'center_easting': 599500.0, 's': 4914000.0, 'w': 590000.0, 'ewres': 20.0, 'nsres': 20.0}
GUI D3/3: BufferedWindow.OnSize():
GUI D2/3: Map.ChangeMapSize(): width=758, height=503
GUI D3/3: BufferedWindow.OnSize():
GUI D2/3: Map.ChangeMapSize(): width=758, height=503
GUI D3/3: BufferedWindow.OnSize():
GUI D2/3: Map.ChangeMapSize(): width=758, height=503
GUI D3/3: BufferedWindow.OnSize():
GUI D2/3: Map.ChangeMapSize(): width=758, height=503
GUI D2/3: Map.ChangeMapSize(): width=758, height=503
GUI D3/3: Map.AdjustRegion(): {'rows': 503.0, 'e': 609000.0, 'cells': 381274.0, 'cols': 758.0, 'center_northing': 4921000.0, 'n': 4928000.0, 'center_easting': 599500.0, 's': 4914000.0, 'w': 590000.0, 'ewres': 25.065963060686016, 'nsres': 27.833001988071569}
GUI D3/3: Map.SetRegion(): n-s resol: 27.833002; n-s resol3: 20; rows: 503; north: 4928000.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 700; west: 590000.0; top: 1; cols: 758; cols3: 950; depths: 1; e-w resol: 25.065963; proj: 1; e-w resol3: 20; east: 609000.0; south: 4914000.0;
GUI D2/3: Map.Render() force=True file=/tmp/tmpwKmKa9.ppm
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D2/3: BufferedWindow.UpdateMap(): render=True, renderVector=True -> time=0.01
GUI D3/3: LayerTree().AddLayer(): ltype=vector
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D3/3: Layer.__init__(): type=vector, cmd='', name=None, active=1, opacity=1, hidden=0
GUI D3/3: Map.AddLayer(): layer=None
GUI D3/3: LayerTree.PropertiesDialog(): ltype=vector
GUI D3/3: Map.ChangeLayer(): layer=None
GUI D3/3: Layer.SetCmd(): cmd=''
GUI D3/3: Map.GetListOfLayers(): numberof=1
GUI D3/3: Map.ChangeLayer(): layer=vector (double click to set properties)
GUI D3/3: Layer.SetCmd(): cmd='d.vect map=myarchsites at user1 type=point,area,face,centroid,line,boundary'
GUI D3/3: Command(): cmd='g.region -u -g -p -c vect=myarchsites at user1', wait=True, returncode=0, alive=False
GUI D3/3: Map.GetRegion(): {'rows': 601.0, 'e': 608355.0, 'cells': 555925.0, 'cols': 925.0, 'center_northing': 4920484.5, 'n': 4926490.0, 'center_easting': 599107.5, 's': 4914479.0, 'w': 589860.0, 'ewres': 19.994594589999998, 'nsres': 19.985024960000001}
GUI D2/3: Map.ChangeMapSize(): width=758, height=503
GUI D3/3: Map.AdjustRegion(): {'rows': 503.0, 'e': 608355.0, 'cells': 381274.0, 'cols': 758.0, 'center_northing': 4920484.5, 'n': 4926490.0, 'center_easting': 599107.5, 's': 4914479.0, 'w': 589860.0, 'ewres': 24.399736147757256, 'nsres': 23.878727634194831}
GUI D3/3: Map.SetRegion(): n-s resol: 23.878728; n-s resol3: 20; rows: 503; north: 4926490.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 700; west: 589860.0; top: 1; cols: 758; cols3: 950; depths: 1; e-w resol: 24.399736; proj: 1; e-w resol3: 20; east: 608355.0; south: 4914479.0;
GUI D3/3: Layer.Render(): type=vector, name=myarchsites at user1
GUI D3/3: Command(): cmd='d.vect map=myarchsites at user1 type=point,area,face,centroid,line,boundary --q', wait=True, returncode=0, alive=False
GUI D3/3: Map.Render() type=vector, layer=myarchsites at user1
GUI D2/3: Map.Render() force=True file=/tmp/tmpwKmKa9.ppm
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D2/3: BufferedWindow.UpdateMap(): render=True, renderVector=True -> time=0.02
GUI D3/3: CreateTool(): tool=521, label=digAddPoint bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9501b68> >
GUI D3/3: CreateTool(): tool=522, label=digAddLine bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94ff710> >
GUI D3/3: CreateTool(): tool=523, label=digAddBoundary bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94ff720> >
GUI D3/3: CreateTool(): tool=524, label=digAddCentroid bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94fd570> >
GUI D3/3: CreateTool(): tool=525, label=digMoveVertex bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94fd580> >
GUI D3/3: CreateTool(): tool=526, label=digAddVertex bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94fd590> >
GUI D3/3: CreateTool(): tool=527, label=digRemoveVertex bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9503688> >
GUI D3/3: CreateTool(): tool=528, label=digSplitLine bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94fda08> >
GUI D3/3: CreateTool(): tool=529, label=digEditLine bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x950b9e8> >
GUI D3/3: CreateTool(): tool=530, label=digMoveLine bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94b1d98> >
GUI D3/3: CreateTool(): tool=531, label=digDeleteLine bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93f4808> >
GUI D3/3: CreateTool(): tool=533, label=digDispCats bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93f4818> >
GUI D3/3: CreateTool(): tool=535, label=digCopyCats bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x93f4828> >
GUI D3/3: CreateTool(): tool=534, label=digDispAttr bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94fe738> >
GUI D3/3: CreateTool(): tool=532, label=digAdditionalTools bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x94fe748> >
GUI D3/3: CreateTool(): tool=536, label=digUndo bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9508c80> >
GUI D3/3: CreateTool(): tool=537, label=digSettings bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x95058e0> >
GUI D3/3: CreateTool(): tool=538, label=digExit bitmap=<wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x9505918> >
GUI D3/3: Map.GetListOfLayers(): numberof=1
GUI D3/3: BufferedWindow.OnSize():
GUI D2/3: Map.ChangeMapSize(): width=758, height=463
GUI D3/3: Map.GetListOfLayers(): numberof=1
GUI D2/3: Map.ChangeMapSize(): width=758, height=463
GUI D3/3: Map.AdjustRegion(): {'rows': 463.0, 'e': 608355.0, 'cells': 350954.0, 'cols': 758.0, 'center_northing': 4920484.5, 'n': 4926490.0, 'center_easting': 599107.5, 's': 4914479.0, 'w': 589860.0, 'ewres': 24.399736147757256, 'nsres': 25.941684665226781}
GUI D3/3: Map.SetRegion(): n-s resol: 25.941685; n-s resol3: 20; rows: 463; north: 4926490.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 700; west: 589860.0; top: 1; cols: 758; cols3: 950; depths: 1; e-w resol: 24.399736; proj: 1; e-w resol3: 20; east: 608355.0; south: 4914479.0;
GUI D3/3: Layer.Render(): type=vector, name=myarchsites at user1
GUI D3/3: Command(): cmd='d.vect map=myarchsites at user1 type=point,area,face,centroid,line,boundary --q', wait=True, returncode=0, alive=False
GUI D3/3: Map.Render() type=vector, layer=myarchsites at user1
GUI D2/3: Map.Render() force=True file=/tmp/tmpwKmKa9.ppm
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D2/3: BufferedWindow.UpdateMap(): render=True, renderVector=True -> time=0.01
GUI D3/3: BufferedWindow.OnSize():
GUI D2/3: Map.ChangeMapSize(): width=758, height=463
GUI D3/3: Map.GetListOfLayers(): numberof=1
GUI D2/3: Map.ChangeMapSize(): width=758, height=463
GUI D3/3: Map.AdjustRegion(): {'rows': 463.0, 'e': 608355.0, 'cells': 350954.0, 'cols': 758.0, 'center_northing': 4920484.5, 'n': 4926490.0, 'center_easting': 599107.5, 's': 4914479.0, 'w': 589860.0, 'ewres': 24.399736147757256, 'nsres': 25.941684665226781}
GUI D3/3: Map.SetRegion(): n-s resol: 25.941685; n-s resol3: 20; rows: 463; north: 4926490.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 700; west: 589860.0; top: 1; cols: 758; cols3: 950; depths: 1; e-w resol: 24.399736; proj: 1; e-w resol3: 20; east: 608355.0; south: 4914479.0;
GUI D3/3: Layer.Render(): type=vector, name=myarchsites at user1
GUI D3/3: Command(): cmd='d.vect map=myarchsites at user1 type=point,area,face,centroid,line,boundary --q', wait=True, returncode=0, alive=False
GUI D3/3: Map.Render() type=vector, layer=myarchsites at user1
GUI D2/3: Map.Render() force=True file=/tmp/tmpwKmKa9.ppm
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D2/3: BufferedWindow.UpdateMap(): render=True, renderVector=True -> time=0.01
GUI D2/3: Map.ChangeMapSize(): width=758, height=463
GUI D3/3: Map.AdjustRegion(): {'rows': 463.0, 'e': 608355.0, 'cells': 350954.0, 'cols': 758.0, 'center_northing': 4920484.5, 'n': 4926490.0, 'center_easting': 599107.5, 's': 4914479.0, 'w': 589860.0, 'ewres': 24.399736147757256, 'nsres': 25.941684665226781}
GUI D3/3: Map.SetRegion(): n-s resol: 25.941685; n-s resol3: 20; rows: 463; north: 4926490.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 700; west: 589860.0; top: 1; cols: 758; cols3: 950; depths: 1; e-w resol: 24.399736; proj: 1; e-w resol3: 20; east: 608355.0; south: 4914479.0;
GUI D3/3: Layer.Render(): type=vector, name=myarchsites at user1
GUI D3/3: Command(): cmd='d.vect map=myarchsites at user1 type=point,area,face,centroid,line,boundary --q', wait=True, returncode=0, alive=False
GUI D3/3: Map.Render() type=vector, layer=myarchsites at user1
GUI D2/3: Map.Render() force=True file=/tmp/tmpwKmKa9.ppm
GUI D3/3: Map.GetListOfLayers(): numberof=0
GUI D2/3: BufferedWindow.UpdateMap(): render=True, renderVector=True -> time=0.01
GUI D3/3: Map.ChangeLayerActive(): name='myarchsites at user1' -> active=0
GUI D3/3: AbstractDigit.__init__(): map=None
GUI D3/3: AbstractDigit.SetMapName map=myarchsites at user1
GUI D2/3: Map.ChangeMapSize(): width=758, height=463
GUI D3/3: Map.AdjustRegion(): {'rows': 463.0, 'e': 608355.0, 'cells': 350954.0, 'cols': 758.0, 'center_northing': 4920484.5, 'n': 4926490.0, 'center_easting': 599107.5, 's': 4914479.0, 'w': 589860.0, 'ewres': 24.399736147757256, 'nsres': 25.941684665226781}
GUI D3/3: Map.SetRegion(): n-s resol: 25.941685; n-s resol3: 20; rows: 463; north: 4926490.0; t-b resol: 1; zone: 13; bottom: 0; rows3: 700; west: 589860.0; top: 1; cols: 758; cols3: 950; depths: 1; e-w resol: 24.399736; proj: 1; e-w resol3: 20; east: 608355.0; south: 4914479.0;
GUI D2/3: Map.Render() force=True file=/tmp/tmpwKmKa9.ppm
[1]+ Done g.gui wxpython
GRASS 6.5.svn (spearfish60):~ >
More information about the grass-user
mailing list