[GRASS-dev] [GRASS GIS] #2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
-------------------------+--------------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit | Platform: MacOSX
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
On mac OSX 10.10.2:
python 2.7.9 (64 bit)
wxmac 3.0.2 (64 bit)
wxpython 3.0.2 (64 bit)

grass built fine with no errors, load a raster and start to digitize a new
vector.
After the first vector feature is digitized the prompt to insert the
attribute value is shown correctly but after hit enter to submit the
vector feature record, the entire GUI freeze.
No more action can be done, a force quit of the entire wxpython gui is
needed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644&gt;
GRASS GIS <http://grass.osgeo.org>

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
---------------------------------+------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit, wxPython 3 | Platform: MacOSX
      Cpu: Unspecified |
---------------------------------+------------------------------------------
Changes (by annakrat):

  * keywords: v.digit => v.digit, wxPython 3

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
---------------------------------+------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit, wxPython 3 | Platform: MacOSX
      Cpu: Unspecified |
---------------------------------+------------------------------------------

Comment(by epifanio):

When the gui freeze i can't see anything printed in the shell and all the
gui windows are not functionals. The only way is to force quite it. Is
there a way to debug this ? perhaps add some print statement at some point
in the wxpytho/v.digit code to see where it blocks ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
---------------------------------+------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit, wxPython 3 | Platform: MacOSX
      Cpu: Unspecified |
---------------------------------+------------------------------------------

Comment(by annakrat):

Replying to [comment:2 epifanio]:
> When the gui freeze i can't see anything printed in the shell and all
the gui windows are not functionals. The only way is to force quite it. Is
there a way to debug this ? perhaps add some print statement at some point
in the wxpytho/v.digit code to see where it blocks ?

In gui/wxpython/dbmgr/dialogs.py OnSubmit method. I can't see anything
what could be causing the problem there so far. I am unable to test it on
Mac now. Does only Submit button causes the problems, or Close as well?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
---------------------------------+------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit, wxPython 3 | Platform: MacOSX
      Cpu: Unspecified |
---------------------------------+------------------------------------------

Comment(by epifanio):

After digitizing a first feature and the dialog to submit or cancel is
shown. Anything i press (close, cancel or submit) will freeze the gui.
I'll try to look into gui/wxpython/dbmgr/dialogs.py

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
---------------------------------+------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit, wxPython 3 | Platform: MacOSX
      Cpu: Unspecified |
---------------------------------+------------------------------------------

Comment(by annakrat):

Replying to [comment:4 epifanio]:
> After digitizing a first feature and the dialog to submit or cancel is
shown. Anything i press (close, cancel or submit) will freeze the gui.
I'll try to look into gui/wxpython/dbmgr/dialogs.py

I suspect there is problem with modality of the dialog, in the case of
this dialog it is implemented in a weird way, you might want to look also
in vdigit/mapwindow.py search for DisplayAttributesDialog.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#2644: osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector
---------------------------------+------------------------------------------
Reporter: epifanio | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.1.0
Component: wxGUI | Version: svn-trunk
Keywords: v.digit, wxPython 3 | Platform: MacOSX
      Cpu: Unspecified |
---------------------------------+------------------------------------------

Comment(by epifanio):

i made a video to show the issue, i'll look into the files to see if i can
see something, thanks!

http://144.76.93.231/shared/debugging/v_digit.mp4

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2644#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>