[GRASS-dev] wxPyDeprecationWarning in G76 on MacOSX

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
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?

thanks,
Markus

I already filed a bug report on that awhile back

Michael Barton
School of Human Evolution &Social Change
Center for Social Dynamics & Complexity
Arizona State University

...Sent from my iPad

On Oct 12, 2018, at 4:08 PM, Markus Neteler <neteler@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: https://urldefense.proofpoint.com/v2/url?u=http-3A__grass.osgeo.org&d=DwIBaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=J5fALCbODVWmTu80uupfcOlSztwM2HTjdkSfE4h6g1w&s=hRsoNkXvfYGdgRLpYnKL1pmb59teCubWH0oNAuNLKhA&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?

thanks,
Markus

I can’t tell where the Debug statements are coming from.

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

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)

www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On Oct 12, 2018, at 4:07 PM, Markus Neteler <neteler@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: https://urldefense.proofpoint.com/v2/url?u=http-3A__grass.osgeo.org&d=DwIBaQ&c=l45AxH-kUV29SRQusp9vYR0n1GycN4_2jInuKy6zbqQ&r=lk-7X7CEOMDN8GaGVhiDsuO6gEp1wbG6nfT1XEEEtR0&m=J5fALCbODVWmTu80uupfcOlSztwM2HTjdkSfE4h6g1w&s=hRsoNkXvfYGdgRLpYnKL1pmb59teCubWH0oNAuNLKhA&e=
This version running through: Bourne Shell (sh)

Launching 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?

thanks,
Markus

On Fri, Oct 12, 2018 at 7:08 PM Markus Neteler <neteler@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
This version running through: Bourne Shell (sh)

Launching 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.
Perhaps Michael could use wxPython 3 for 7.4 and 7.6?

Anna

thanks,
Markus


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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@gmail.com
Date: Sunday, October 14, 2018 at 6:48 PM
To: Markus Neteler neteler@osgeo.org
Cc: GRASS developers list grass-dev@lists.osgeo.org, Michael Barton Michael.Barton@asu.edu
Subject: Re: [GRASS-dev] wxPyDeprecationWarning in G76 on MacOSX

On Fri, Oct 12, 2018 at 7:08 PM Markus Neteler <neteler@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
This version running through: Bourne Shell (sh)

Launching 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.

Perhaps Michael could use wxPython 3 for 7.4 and 7.6?

Anna

thanks,
Markus


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev