[GRASS-dev] grass7 - mac osx- 64bit python

epi massimodisasha at gmail.com
Mon May 20 12:48:01 PDT 2013


Il giorno 20/mag/2013, alle ore 15:39, Anna Petrášová <kratochanna at gmail.com> ha scritto:

> 
> 
> 
> On Mon, May 20, 2013 at 8:21 PM, epi <massimodisasha at gmail.com> wrote:
> thanks Anna!
> 
> that's my bathymetry  
> 
> http://geofemengineering.it//data/nviz_mac_wx-29_cocoa.png
> 
> 
> I tried to changing resolution, use the slope map as color, light settings and other tools , everything was working properly :)
> 
> 
> few question :
> 
> is it possible to "unlock" the layer manager and the map display so that when i move the layer manager the map window doesn't move with it ?
> 
> this behavior is only on Mac. Do also other multiple-window applications behave this way (like gimp)?

I tryied GIMP  2.8.2 it doesn't have this behavior


> 
> an important bug:
> 
> i was looking for possible options in the preference settings to unlock the movement of mapdispaly when the layer manager is mived, 
> but i had to force quit the gui every time i tried to do something in that panel
> 
> when i click on "apply" in the console i have :
> Settings applied to current session but not saved
> 
> then the gui is no more responsive and i forced it to quit
> 
> it is working for me. I have no idea and probably debug messages won't help much. You could put some print statements in the code to localize more the problem (starting at gui_core/preferences.py). 

i try to hack in it .. everything happen after is printed : "Settings applied to current session but not saved"
i'll let you kn ow if i found something

>  
> 
> .. will  be nice to be able to set the transparence for the fringe panels :)
> 
> I see 

:)


> 
> i'll try to export the verbose debug ant test again all the other widgets.
> 
> thanks again.
> 
> BTW, Michael Barton has had recently problem to start grass 7 wxGUI due to new (a few weeks ago) toolboxes system (for menu customization). You doesn't seem to have any problem, is that right?

no i do not have any problem to start it, what i didn't tried is the main wizard at start .. because i set txt in the gisrc preference as default mode, i'll try to change to wx and see if any problem comes up

manu thanks!

Massimo

> 
> 
> Anna
> 
> 
> and generate more useful logs,
> 
> thanks
> 
> Massimo.
> 
> Il giorno 20/mag/2013, alle ore 13:20, Anna Petrášová <kratochanna at gmail.com> ha scritto:
> 
>> Hi,
>> 
>> 
>> On Mon, May 20, 2013 at 3:37 PM, epi <massimodisasha at gmail.com> wrote:
>> Hi,
>> 
>> is one week now that i'm testing a grass7 build, using wx cocoa (svn version built from source)
>> 
>> i'm really happy to say that almost everything is working fine! 
>> 
>> glad to hear that, I quickly tested wxGUI some time ago on wxPython 2.9 on linux so the most apparent bugs should be fixed. Unfortunately most bugs you listed here are not reproducible on my ubuntu with 2.9 classic wxPython.
>> 
>> 
>> 
>> .. few debug reported here :
>> 
>> - profile tool :
>> 	-- the pen widget doesn't draw a line and no profile is plotted but ...
>>             if i select the "measure tool" make a measurement and then without quitting the measurement tool (boucle click on the canvas) i open the profile tool .. then the profile is plotted correctly
>> 
>> hm, I don't have this behavior, it's working properly. The only problem is that the dashed line does not disappear after rerendering.
>> 
>> - add text layer :
>>         -- doesn't change the font size
>> 
>> - map composer run but doesn't have a toolbar
>> 
>> again, both work for me 
>> 
>> nothing is printed in the shell during the guy session, should i set some env var to have more verbose
>> 
>> this is normal, everything goes to gui command console, only when you switch to debug mode it goes to terminal
>>  
>> 
>> - nviz doesn't render the 3d canvas, but there is no crash :) , the rendering-progress-bar load , this the log in the wx console
>> 
>> please try again, I just updated the code for 2.9
>>  
>> 
>> 
>> Traceback (most recent call last):
>>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi
>> ndow.py", line 366, in OnPaint
>> 
>> self.DoPaint()
>>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi
>> ndow.py", line 406, in DoPaint
>> 
>> self.UpdateMap()
>>   File "/usr/local/grass-7.0.svn/etc/gui/wxpython/nviz/mapwi
>> ndow.py", line 1166, in UpdateMap
>> 
>> self.SwapBuffers()
>>   File "/usr/local/lib/wxPython-2.9.4.0/lib/python2.7/site-
>> packages/wx-2.9.4-osx_cocoa/wx/glcanvas.py", line 124, in
>> SwapBuffers
>> 
>> return _glcanvas.GLCanvas_SwapBuffers(*args, **kwargs)
>> wx._core
>> .
>> PyAssertionError
>> :
>> C++ assertion "context" failed at /BUILD/wxPython-
>> src-2.9.4.0/src/osx/cocoa/glcanvas.mm(289) in SwapBuffers():
>> should have current context
>> 
>> 
>> 
>> if there is something i can do to do more testing i will be happy to work on  it.
>> 
>> I cannot do much about the bugs which I can't reproduce, especially when there is no error...
>>  
>> 
>> p.s.
>> with wx 2.9 we have great webkit support
>> @Anna have already tried to work on webkit in wx ?
>> 
>> not yet, I probably missed something when I compiled wx 2.9, it was not working and then I didn't try again.
>> 
>> Thanks and keep testing:)
>> 
>> Anna
>> 
>>  
>> i will start to investigate this to see how to add a new tab to include the Ipython notebook
>> if of interest, at this link there is a simple pyqt app that does something similar : 
>> 
>> https://github.com/damianavila/vIPer/blob/master/viper.py
>> 
>> Massimo.
>> 
>> 
>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130520/aea1d686/attachment-0001.html>


More information about the grass-dev mailing list