Opened 10 years ago

Closed 8 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 by annakrat, 10 years ago

Keywords: wxPython 3 added

comment:2 by epifanio, 10 years ago

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 reply to:  2 comment:3 by annakrat, 10 years ago

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 by epifanio, 10 years ago

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

in reply to:  4 comment:5 by annakrat, 10 years ago

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 by epifanio, 10 years ago

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 by neteler, 9 years ago

Milestone: 7.1.07.2.0

Milestone renamed

comment:8 by martinl, 8 years ago

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

comment:9 by cmbarton, 8 years ago

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?

in reply to:  9 comment:10 by martinl, 8 years ago

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.