[GRASS-dev] global name 'Debug' is not defined in GRASS version: 7.3.svn

hi devs,

tested here in

System Info
GRASS version: 7.3.svn
GRASS SVN revision: r70401
Build date: 2017-01-20
Build platform: x86_64-w64-mingw32
GDAL: 2.1.2
PROJ.4: 4.9.3
GEOS: 3.5.0
SQLite: 3.14.1
Python: 2.7.5
wxPython: 2.8.12.1
Platform: Windows-8-6.2.9200 (OSGeo4W)

just open any module GUI, running the module works,

e.g.

g.copy vector=firestations@PERMANENT,myfire
Copy vector <firestations@PERMANENT> to current mapset as <myfire>
(Sat Jan 21 14:07:48 2017) Command finished (0 sec)

=> but when trying to close the module's GUI:

Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\grass\grass-7.3.svn\gui\wxpython\gu
i_core\forms.py", line 903, in OnCancel

Debug.msg(1, "TaskFrame.OnCancel(): no parent")
NameError
:
global name 'Debug' is not defined

and the GUI stays opened

maybe related to

https://lists.osgeo.org/pipermail/grass-commit/2017-January/041287.html

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: add debug messages and todos for closing code

?

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/global-name-Debug-is-not-defined-in-GRASS-version-7-3-svn-tp5304269.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

Hi,

2017-01-21 14:12 GMT+01:00 Helmut Kudrnovsky <hellik@web.de>:

maybe related to

https://lists.osgeo.org/pipermail/grass-commit/2017-January/041287.html

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: add debug messages and todos for closing code

seems to be like that, fixed in r70403. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa