Re: [GRASS-user] Problem with vdigit in 64 release

2009-02-16 Thread kries

Hi,

there seems to be a problem with cairo rendering:



> GUI D3/3: Command(): cmd='g.gisenv', wait=True, returncode=0, alive=False
> GUI D3/3: Command(): cmd='g.proj -p', wait=True, returncode=0, alive=False
> GUI D3/3: CreateTool(): tool=498, label=displaymap bitmap= proxy of  >
> GUI D3/3: CreateTool(): tool=499, label=rendermap bitmap= proxy of  > 
> GUI D3/3: CreateTool(): tool=500, label=erase bitmap= proxy of  > 
> GUI D3/3: CreateTool(): tool=501, label=pointer bitmap= proxy of  >   
> GUI D3/3: CreateTool(): tool=502, label=query bitmap= proxy of  > 
> GUI D3/3: CreateTool(): tool=503, label=pan bitmap= of  >   
> GUI D3/3: CreateTool(): tool=504, label=zoom_in bitmap= proxy of  >   
> GUI D3/3: CreateTool(): tool=505, label=zoom_out bitmap= proxy of  >  
> GUI D3/3: CreateTool(): tool=506, label=zoom_back bitmap= proxy of  > 
> GUI D3/3: CreateTool(): tool=507, label=zoommenu bitmap= proxy of  >  
> GUI D3/3: CreateTool(): tool=508, label=analyze bitmap= proxy of  >   
> GUI D3/3: CreateTool(): tool=509, label=overlay bitmap= proxy of  >   
> GUI D3/3: CreateTool(): tool=510, label=savefile bitmap= proxy of  >  
> GUI D3/3: CreateTool(): tool=511, label=printmap bitmap= proxy of  >  
> 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': 12073.0, 'e': 655681.695,
> 'cells': 101811609.0, 'cols': 8433.0, 'center_northing':
> 615211.348, 'n': 1218877.2, 'center_easting': 234044.549,
> 's': 11545.5, 'w': -187592.601, 'ewres': 99.99695244995,
> 'nsres': 100.00262569}  
> 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': 655681.695,
> 'cells': 381274.0, 'cols': 758.0, 'center_northing': 615211.348,
> 'n': 1218877.2, 'center_easting': 234044.549, 's': 11545.5, 'w':
> -187592.601, 'ewres': 1112.4990765171503, 'nsres':
> 2400.2618290258447}   
> GUI D3/3: Map.SetRegion(): n-s resol: 2400.261829; n-s resol3:
> 18864.5578125; rows: 503; north: 1218877.2; t-b resol: 1; zone: 0; bottom:
> -0.5; rows3: 64; west: -187592.6; top: 0.5; cols: 758; cols3: 128; depths:
> 1; e-w resol: 1112.499077; proj: 99; e-w resol3: 6588.08046875; east:
> 655681.7; south: 11545.5;  
> GUI D3/3: Command(): cmd='g.pnmcomp in= mask= opacity=
> background=255:255:255 width=758 height=503 output=/tmp/tmpxfxQ_E.ppm',
> wait=True, returncode=0, alive=False  
>   
>
> GUI D2/3: Map.Render() force=True file=/tmp/tmpxfxQ_E.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  

Re: [GRASS-user] Problem with vdigit in 64 release

2009-02-16 Thread kries

hi,

I had some trouble with my system. Glibc wouldn't compile and I thought a
messed up system might be the cause of my problems with grass. I finally
fixed it, but my grass problems haven't changed.

will come up with more debug info asap.

thanks,
kries
-- 
View this message in context: 
http://n2.nabble.com/Problem-with-vdigit-in-64-release-tp2321670p2334565.html
Sent from the Grass - Users mailing list archive at Nabble.com.

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Problem with vdigit in 64 release

2009-02-13 Thread Martin Landa
Hi,

2009/2/13 kries :
> I always do a 'make clean && make libsclean && distclean' prior to compiling

make distclean is enough.

> I have a symbolic link to _gdi_.so
> /usr/lib/libgdi.so ->
> /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so

you don't need that. Wxvdigit uses local copy of PseudoDC.

>> Traceback (most recent call last):
>>   File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/t
>> oolbars.py", line 1067, in OnSelectMap
>>
>> self.StartEditing(self.layers[selection])
>>   File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/t
>> oolbars.py", line 1099, in StartEditing
>>
>> self.parent.digit = Digit(mapwindow=self.parent.MapWindow)
>>   File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/v
>> digit.py", line 685, in __init__
>>
>> VDigit.__init__(self, mapwindow)
>>   File "/usr/local/grass-6.4.0svn/etc/wxpython/gui_modules/v
>> digit.py", line 223, in __init__
>>
>> mapwindow)
>>   File "/usr/local/grass-6.4.0svn/etc/wxpython/vdigit/grass6
>> _wxvdigit.py", line 327, in __init__
>>
>> this = _grass6_wxvdigit.new_Digit(*args)
>> TypeError
>> :
>> in method 'new_Digit', argument 2 of type 'wxWindow *'
>>
>
> any ideas? thanks,

well, see my last reply. Try to put some more debug messages,
recompile wxvdigit module, etc.

Martin

-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user