Opened 4 years ago

Closed 3 years ago

#2644 closed defect (worksforme)

osx - wxpython 3 64 bit - v.digit gui freeze when digitizing new vector

Reported by: epifanio Owned by: grass-dev@…
Priority: critical Milestone: 7.2.0
Component: wxGUI Version: svn-trunk
Keywords: v.digit, wxPython 3 Cc:
CPU: Unspecified Platform: MacOSX

Description

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.

Change History (10)

comment:1 Changed 4 years ago by annakrat

Keywords: wxPython 3 added

comment:2 Changed 4 years ago 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 ?

comment:3 in reply to:  2 Changed 4 years ago by annakrat

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

comment:4 Changed 4 years ago 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

comment:5 in reply to:  4 Changed 4 years ago by annakrat

Replying to 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?.

comment:6 Changed 4 years ago 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

comment:7 Changed 3 years ago by neteler

Milestone: 7.1.07.2.0

Milestone renamed

comment:8 Changed 3 years ago by martinl

The last comment is more than one year old, what is the status of this ticket?

comment:9 Changed 3 years ago by cmbarton

Running my test binary with wxPython 3.0.2.0 and 64bit Python 2.7 the vector digitizer seems to work fine. Perhaps this was fixed in the current wxPython version?

comment:10 in reply to:  9 Changed 3 years ago by martinl

Resolution: worksforme
Status: newclosed

Replying to cmbarton:

Running my test binary with wxPython 3.0.2.0 and 64bit Python 2.7 the vector digitizer seems to work fine. Perhaps this was fixed in the current wxPython version?

Hard to say. Anyway closing the ticket.

Note: See TracTickets for help on using tickets.