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

Anna Petrášová kratochanna at gmail.com
Mon May 20 10:20:04 PDT 2013


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/a34b58b5/attachment-0001.html>


More information about the grass-dev mailing list