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

epi massimodisasha at gmail.com
Mon May 20 06:37:01 PDT 2013


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! 



.. 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
- add text layer :
        -- doesn't change the font size

- map composer run but doesn't have a toolbar


nothing is printed in the shell during the guy session, should i set some env var to have more verbose

- nviz doesn't render the 3d canvas, but there is no crash :) , the rendering-progress-bar load , this the log in the wx console


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.

p.s.
with wx 2.9 we have great webkit support
@Anna have already tried to work on webkit in wx ?
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/79067628/attachment-0001.html>


More information about the grass-dev mailing list