[GRASS-user] Grass7: wxpython exits on display export to file

Gustavo Martínez gmpuljak at yahoo.com.ar
Thu Apr 30 15:07:21 PDT 2015


El 15/04/15 a las 15:37, Vaclav Petras escibió:
>
> On Wed, Apr 15, 2015 at 1:45 PM, Gustavo Martínez 
> <gmpuljak en yahoo.com.ar <mailto:gmpuljak en yahoo.com.ar>> wrote:
>
>     I've tried to replicate the error with the DEBUG=5 but I couldn't.
>
>
> That's unfortunate, although quite possible.
>
> Note that DEBUG and WX_DEBUG are two separated variables.
>
> Try to run it with DEBUG=5 instead of WX_DEBUG=5, so we have at least 
> some debug output. This still might crash when you say that it crashes 
> without any debug.
>
> Have you tried closing and not closing the vector digitizer (this 
> closes the vector map) before saving the PNG image?
>
>     However, when I add a north arrow it didn't show and there is an
>     error message:
>
>
> This seems like a separate error related to translations. Can you 
> please create a ticket for it? No debug output might be need in this 
> case (the error should be reported right away.
>
> http://trac.osgeo.org/grass/
> (You need to create OSGeo ID to post issues.)
I got the same error again, with more debug output:

GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.076095 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=overlay, layer=legend
GUI D1/5: gcmd.RunCommand(): g.pnmcomp --o 
opacity=1.0,1.0,1.0,1.0,1.0,1.0,1.0 width=798 
mask=/tmp/tmp_idst1.pgm,/tmp/tmpzsOvV4.pgm,/tmp/tmp6ohwB3.pgm,/tmp/tmpIxu5mi.pgm,/tmp/tmpKmyezy.pgm,/tmp/tmprWJxXP.pgm,/tmp/tmpBsXaLc.pgm 
height=527 bgcolor=185:231:246 
input=/tmp/tmp_idst1.ppm,/tmp/tmpzsOvV4.ppm,/tmp/tmp6ohwB3.ppm,/tmp/tmpIxu5mi.ppm,/tmp/tmpKmyezy.ppm,/tmp/tmprWJxXP.ppm,/tmp/tmpBsXaLc.ppm 
output=/home/gustavo/Documentos/gis/prueba/zcp/.tmp/neco/6811.0.ppm
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.051266 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() force=True 
file=/home/gustavo/Documentos/gis/prueba/zcp/.tmp/neco/6811.0.ppm
GUI D5/5: BufferedWindow.Draw(): id=99, pdctype = image, coord=[0, 0, 0, 0]
GUI D3/5: Map.GetListOfLayers(): numberof=1
GUI D5/5: BufferedWindow.Draw(): id=0, pdctype = image, coord=[704, 110, 
64, 240]
GUI D1/5: BufferedWindow.UpdateMap(): render=True, renderVector=True -> 
time=0.092769
GUI D4/5: BufferedWindow.OnPaint(): redrawAll=True
GUI D3/5: Map.ChangeLayer(): layer=gatuzo_I_2015_capt_r5 en zcp
GUI D3/5: Layer.SetCmd(): cmd='d.rast map=lenguado_I_2015_capt_r5 en zcp'
GUI D5/5: LayerTree.GetVisibleLayers(): items=<reversed object at 
0x7f3c7c6131d0>
GUI D5/5: Map.SetLayers(): 
layers=lenguado_I_2015_capt_r5 en zcp,zee_ar en zcp,zcpau_panaves en zcp,grid,america_silueta en zcp,provincias en zcp,grid,
GUI D2/5: Map.ChangeMapSize(): width=798, height=527
GUI D3/5: Map.AdjustRegion(): {u'rows': 527.0, u'e': -49.0, u'cells': 
420546.0, u'cols': 798.0, u'center_northing': -38.0, u'n': -33.0, 
u'center_easting': -56.5, u's': -43.0, u'w': -64.0, u'ewres': 
0.018796992481203006, u'nsres': 0.018975332068311195}
GUI D3/5: Map.SetRegion(): n-s resol: 0.018975; n-s resol3: 
0:00:36.036036; rows: 527; north: -33.0; t-b resol: 1; zone: 0; bottom: 
0.000000000000000; rows3: 999; west: -64.0; top: 1.000000000000000; 
cols: 798; cols3: 1497; depths: 1; e-w resol: 0.018797; proj: 3; e-w 
resol3: 0:00:36.072144; east: -49.0; south: -43.0;
GUI D3/5: Map.GetListOfLayers(): numberof=7
GUI D3/5: Map.GetListOfLayers(): numberof=1
GUI D3/5: Map.GetListOfLayers(): numberof=0
GUI D3/5: Layer.Render(): type=raster, name=lenguado_I_2015_capt_r5 en zcp
GUI D1/5: gcmd.RunCommand(): d.rast --q map=lenguado_I_2015_capt_r5 en zcp
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.099539 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=raster, layer=lenguado_I_2015_capt_r5 en zcp
GUI D3/5: Layer.Render(): type=vector, name=zee_ar en zcp
GUI D1/5: gcmd.RunCommand(): d.vect --q map=zee_ar en zcp fill_color=none
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.117054 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=vector, layer=zee_ar en zcp
GUI D3/5: Layer.Render(): type=vector, name=zcpau_panaves en zcp
GUI D1/5: gcmd.RunCommand(): d.vect --q map=zcpau_panaves en zcp 
fill_color=none
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.106171 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=vector, layer=zcpau_panaves en zcp
GUI D3/5: Layer.Render(): type=grid, name=grid
GUI D1/5: gcmd.RunCommand(): d.grid --q size=5
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.102035 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=grid, layer=grid
GUI D3/5: Layer.Render(): type=vector, name=america_silueta en zcp
GUI D1/5: gcmd.RunCommand(): d.vect --q map=america_silueta en zcp 
fill_color=249:239:182
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.198652 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=vector, layer=america_silueta en zcp
GUI D3/5: Layer.Render(): type=vector, name=provincias en zcp
GUI D1/5: gcmd.RunCommand(): d.vect --q map=provincias en zcp fill_color=none
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.160187 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=vector, layer=provincias en zcp
GUI D3/5: Layer.Render(): type=grid, name=grid
GUI D1/5: gcmd.RunCommand(): d.grid --q -n size=5
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.099633 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=grid, layer=grid
GUI D3/5: Layer.Render(): type=overlay, name=legend
GUI D1/5: gcmd.RunCommand(): d.legend --q 
raster=gatuzo_I_2015_capt_r5 en zcp at=5,50,7,10
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.075189 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=overlay, layer=legend
GUI D1/5: gcmd.RunCommand(): g.pnmcomp --o 
opacity=1.0,1.0,1.0,1.0,1.0,1.0,1.0 width=798 
mask=/tmp/tmp_idst1.pgm,/tmp/tmpzsOvV4.pgm,/tmp/tmp6ohwB3.pgm,/tmp/tmpIxu5mi.pgm,/tmp/tmpKmyezy.pgm,/tmp/tmprWJxXP.pgm,/tmp/tmpBsXaLc.pgm 
height=527 bgcolor=185:231:246 
input=/tmp/tmp_idst1.ppm,/tmp/tmpzsOvV4.ppm,/tmp/tmp6ohwB3.ppm,/tmp/tmpIxu5mi.ppm,/tmp/tmpKmyezy.ppm,/tmp/tmprWJxXP.ppm,/tmp/tmpBsXaLc.ppm 
output=/home/gustavo/Documentos/gis/prueba/zcp/.tmp/neco/6811.0.ppm
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.050202 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() force=True 
file=/home/gustavo/Documentos/gis/prueba/zcp/.tmp/neco/6811.0.ppm
GUI D5/5: BufferedWindow.Draw(): id=99, pdctype = image, coord=[0, 0, 0, 0]
GUI D3/5: Map.GetListOfLayers(): numberof=1
GUI D5/5: BufferedWindow.Draw(): id=0, pdctype = image, coord=[704, 110, 
64, 240]
GUI D1/5: BufferedWindow.UpdateMap(): render=True, renderVector=True -> 
time=0.092196
GUI D4/5: BufferedWindow.OnPaint(): redrawAll=True
GUI D5/5: BufferedWindow.OnLeftDown(): use=pointer
GUI D5/5: BufferedWindow.OnLeftUp(): use=pointer
GUI D5/5: BufferedWindow.OnButtonDClick(): use=pointer
GUI D5/5: BufferedWindow.OnLeftUp(): use=pointer
GUI D3/5: Layer.SetCmd(): cmd='d.legend 
raster=lenguado_I_2015_capt_r5 en zcp at=5,50,7,10'
GUI D3/5: Map.AdjustRegion(): {u'rows': 527.0, u'e': -49.0, u'cells': 
420546.0, u'cols': 798.0, u'center_northing': -38.0, u'n': -33.0, 
u'center_easting': -56.5, u's': -43.0, u'w': -64.0, u'ewres': 
0.018796992481203006, u'nsres': 0.018975332068311195}
GUI D3/5: Map.SetRegion(): n-s resol: 0.018975; n-s resol3: 
0:00:36.036036; rows: 527; north: -33.0; t-b resol: 1; zone: 0; bottom: 
0.000000000000000; rows3: 999; west: -64.0; top: 1.000000000000000; 
cols: 798; cols3: 1497; depths: 1; e-w resol: 0.018797; proj: 3; e-w 
resol3: 0:00:36.072144; east: -49.0; south: -43.0;
GUI D3/5: Map.GetListOfLayers(): numberof=7
GUI D3/5: Map.GetListOfLayers(): numberof=1
GUI D3/5: Map.GetListOfLayers(): numberof=0
GUI D3/5: Map.Render() type=raster, layer=lenguado_I_2015_capt_r5 en zcp
GUI D3/5: Map.Render() type=vector, layer=zee_ar en zcp
GUI D3/5: Map.Render() type=vector, layer=zcpau_panaves en zcp
GUI D3/5: Map.Render() type=grid, layer=grid
GUI D3/5: Map.Render() type=vector, layer=america_silueta en zcp
GUI D3/5: Map.Render() type=vector, layer=provincias en zcp
GUI D3/5: Map.Render() type=grid, layer=grid
GUI D3/5: Layer.Render(): type=overlay, name=legend
GUI D1/5: gcmd.RunCommand(): d.legend --q 
raster=lenguado_I_2015_capt_r5 en zcp at=5,50,7,10
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.084464 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() type=overlay, layer=legend
GUI D1/5: gcmd.RunCommand(): g.pnmcomp --o 
opacity=1.0,1.0,1.0,1.0,1.0,1.0,1.0 width=798 
mask=/tmp/tmp_idst1.pgm,/tmp/tmpzsOvV4.pgm,/tmp/tmp6ohwB3.pgm,/tmp/tmpIxu5mi.pgm,/tmp/tmpKmyezy.pgm,/tmp/tmprWJxXP.pgm,/tmp/tmpBsXaLc.pgm 
height=527 bgcolor=185:231:246 
input=/tmp/tmp_idst1.ppm,/tmp/tmpzsOvV4.ppm,/tmp/tmp6ohwB3.ppm,/tmp/tmpIxu5mi.ppm,/tmp/tmpKmyezy.ppm,/tmp/tmprWJxXP.ppm,/tmp/tmpBsXaLc.ppm 
output=/home/gustavo/Documentos/gis/prueba/zcp/.tmp/neco/6811.0.ppm
GUI D2/5: gcmd.RunCommand(): command started
GUI D3/5: gcmd.RunCommand(): decoding string
GUI D1/5: gcmd.RunCommand(): get return code 0 (0.043822 sec)
GUI D3/5: gcmd.RunCommand(): print error
GUI D3/5: gcmd.RunCommand(): print read error
GUI D3/5: Map.Render() force=False 
file=/home/gustavo/Documentos/gis/prueba/zcp/.tmp/neco/6811.0.ppm
GUI D5/5: BufferedWindow.Draw(): id=99, pdctype = image, coord=[0, 0, 0, 0]
GUI D3/5: Map.GetListOfLayers(): numberof=1
GUI D5/5: BufferedWindow.Draw(): id=0, pdctype = image, coord=[704, 110, 
56, 239]
GUI D1/5: BufferedWindow.UpdateMap(): render=False, renderVector=False 
-> time=0.05439
GUI D4/5: BufferedWindow.OnPaint(): redrawAll=True
GUI D3/5: BaseToolbar.OnTool(): id = 727



-- 
Gustavo Martínez
Skype: gmpuljak
Linkedin: http://ar.linkedin.com/in/gustavomartínezpuljak

“Que la tierra se vaya haciendo camino ante tus pasos,
que el viento sople siempre a tus espaldas,
que el sol brille cálido sobre tu cara,
que la lluvia caiga suavemente sobre tus campos y,
hasta tanto volvamos a encontrarnos,
que Dios te lleve en la palma de su mano.”

------------ pr�xima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150430/bc5c00e7/attachment-0001.html>


More information about the grass-user mailing list