[GRASS-dev] [GRASS GIS] #1526: "Diplay/update attributes" can freeze GUI

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: grass-dev@…
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Digitize "Diplay/update attributes" button (wxPython)

if value type is incorrect (example 'a' in [integer] field ) pressing
Submit button freezes wxPython GUI

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

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: martinl
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.3
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * milestone: 6.4.2 => 6.4.3

Comment:

Could you try GRASS 6.5 from (1) - this bug has been probably fixed in
r50007?

[1] http://wingrass.fsv.cvut.cz/grass65/

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

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: martinl
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by martinl):

  * milestone: 6.4.3 => 6.4.2

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

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: martinl
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by martinl):

It's freezing on
[source:grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gcmd.py#L617
gcmd] (`RunCommand` called from
[source:grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/dbm_dialogs.py#L298
dbm_dialogs])

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

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: martinl
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by artegion):

Yes, with 6.5 it works.

(defect with multiple layer ( Ticket #1522 ) remains but it is another
thread...)

Replying to [comment:1 martinl]:
> Could you try GRASS 6.5 from (1) - this bug has been probably fixed in
r50007?
>
> [1] http://wingrass.fsv.cvut.cz/grass65/

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

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: martinl
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by martinl):

Replying to [comment:4 artegion]:
> Yes, with 6.5 it works.

it's just the coincidence, in G65 simply command which doesn't terminate
is not called. The SQL statement is checked first and then the command
(`db.execute sql=`) is launched. The problem is that the process launched
doesn't terminate in this case.

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

#1526: "Diplay/update attributes" can freeze GUI
----------------------+-----------------------------------------------------
Reporter: artegion | Owner: martinl
     Type: defect | Status: new
Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Keywords: | Platform: MSWindows XP
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by martinl):

Replying to [comment:5 martinl]:
> Replying to [comment:4 artegion]:
> > Yes, with 6.5 it works.
>
> it's just the coincidence, in G65 simply command which doesn't terminate
is not called. The SQL statement is checked first and then the command
(`db.execute sql=`) is launched. The problem is that the process launched
doesn't terminate in this case.

probably not related to wxGUI at all, hopefully fixed in r50051. Can you
confirm it?

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

#1526: "Diplay/update attributes" can freeze GUI
---------------------------+------------------------------------------------
  Reporter: artegion | Owner: martinl
      Type: defect | Status: closed
  Priority: blocker | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.2 RCs
Resolution: fixed | Keywords:
  Platform: MSWindows XP | Cpu: x86-64
---------------------------+------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => fixed

Comment:

> probably not related to wxGUI at all, hopefully fixed in r50051. Can you
confirm it?

tested with (1), seems to work. Closing this ticket, feel free to re-open
if needed.

(1)
http://wingrass.fsv.cvut.cz/grass64/WinGRASS-6.4.SVN-r50051-1-Setup.exe

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