[GRASS-dev] wxPyDeprecationWarning in G76 on MacOSX

Michael Barton Michael.Barton at asu.edu
Mon Oct 15 10:36:47 PDT 2018


If I go back to wxPython 3, it has the nasty bug of the 3D menu buttons overwriting the 2D menu buttons and causing the GUI to crash.

Michael

______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ  85287-2402
USA

voice:    480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
www:      http://csdc.asu.edu, http://shesc.asu.edu
                                http://www.public.asu.edu/~cmbarton

From: Anna Petrášová <kratochanna at gmail.com>
Date: Sunday, October 14, 2018 at 6:48 PM
To: Markus Neteler <neteler at osgeo.org>
Cc: GRASS developers list <grass-dev at lists.osgeo.org>, Michael Barton <Michael.Barton at asu.edu>
Subject: Re: [GRASS-dev] wxPyDeprecationWarning in G76 on MacOSX


On Fri, Oct 12, 2018 at 7:08 PM Markus Neteler <neteler at osgeo.org<mailto:neteler at osgeo.org>> wrote:
Hi,

a colleague of used GRASS GIS 7.6 from Michael's Website today on
MacOSX, at startup we notified this warning:

Welcome to GRASS GIS 7.6.svn (r73480M)
GRASS GIS homepage:                      http://grass.osgeo.org<https://urldefense.proofpoint.com/v2/url?u=http-3A__grass.osgeo.org&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=17WWUXkXCJZOT9sJKhdrJxKwJEftxs9zyKJLv8tw6yk&s=j9211DUC1WIy9Ing-myXpgOeemLUFyX3-oZNTQPj0Wc&e=>
This version running through:            Bourne Shell (sh)
...
Launching <wxpython> GUI in the background, please wait...
GRASS 7.6.svn (nc_spm_08_grass7):~ > 23:46:33: Debug: Adding duplicate
image handler for 'Windows bitmap file'
23:46:34: Debug: Adding duplicate image handler for 'Windows bitmap file'
23:46:34: Debug: Adding duplicate animation handler for '1' type
23:46:34: Debug: Adding duplicate animation handler for '2' type
/Applications/GRASS-7.6.app/Contents/Resources/gui/wxpython/gui_core/menu.py:153:
wxPyDeprecationWarning: Call to deprecated item. Use SetToolTip
instead.
  _("Double-click or Ctrl-Enter to run selected module"))

Just reporting, maybe that could be silenced?

I am not sure about the debug statements, regarding the wxPyDeprecationWarnings, see https://trac.osgeo.org/grass/ticket/3587#comment:2<https://urldefense.proofpoint.com/v2/url?u=https-3A__trac.osgeo.org_grass_ticket_3587-23comment-3A2&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=17WWUXkXCJZOT9sJKhdrJxKwJEftxs9zyKJLv8tw6yk&s=c9nfZ2SUTUX28qtfdBli0cDE0ju7zQg6u6KbiNZZafM&e=>.
Perhaps Michael could use wxPython 3 for 7.4 and 7.6?

Anna

thanks,
Markus
_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/grass-dev<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.osgeo.org_mailman_listinfo_grass-2Ddev&d=DwMFaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=17WWUXkXCJZOT9sJKhdrJxKwJEftxs9zyKJLv8tw6yk&s=J3ktFFLDvzswwOHK7e9xYeBYZeKJZOunlgaaOuD-ynQ&e=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20181015/08dad844/attachment-0001.html>


More information about the grass-dev mailing list