[GRASS-dev] [GRASS GIS] #717: Vector digitizer tool in wx-Python GUI crashes after changing mapsets.

#717: Vector digitizer tool in wx-Python GUI crashes after changing mapsets.
------------------------------+---------------------------------------------
Reporter: voncasec | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: vector digitizer | Platform: Linux
      Cpu: x86-64 |
------------------------------+---------------------------------------------
After digitizing vector features in Mapset1 for example, I close the
digitizing tool, change my mapset to Mapset2 and re-open the digitizing
tool to digitize new features in my second mapset. However, after
selecting "New Vector Map" to digitize and giving it a name, I receive the
following error:

'''Vector digitizer error.'''

Unable to open vector map <test@Mapset2> for editing.

Data are probably corrupted, try to run v.build to rebuild the topology
(Vector->Develop vector map->Create/rebuild topology).

running v.build does not repair the newly created (featureless) vector
layer. The only fix I have found is to exit out of grass and restart using
the mapset2.

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

#717: Vector digitizer tool in wx-Python GUI crashes after changing mapsets.
----------------------+-----------------------------------------------------
Reporter: voncasec | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: g.mapset | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by hamish):

  * keywords: vector digitizer => g.mapset

Comment:

changing mapsets mid-session from the GUI should throw up a big "are you
really sure you want to do this?" dialog, maybe in all caps for dramatic
effect. it's much safer to open another grass session.
I question if it should be offered from the gui menus at all.

Hamish

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

#717: Vector digitizer tool in wx-Python GUI crashes after changing mapsets.
----------------------+-----------------------------------------------------
Reporter: voncasec | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: g.mapset | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * owner: grass-dev@… => martinl
  * status: new => assigned

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

#717: Vector digitizer tool in wx-Python GUI crashes after changing mapsets.
----------------------+-----------------------------------------------------
Reporter: voncasec | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: 6.4.0 RCs
Keywords: g.mapset | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------

Comment(by martinl):

Replying to [comment:1 hamish]:
> changing mapsets mid-session from the GUI should throw up a big "are you
really sure you want to do this?" dialog, maybe in all caps for dramatic
effect. it's much safer to open another grass session.

Let's fix digitizer rather then removing this functionality from the wxGUI
menu.

> I question if it should be offered from the gui menus at all.

I am pretty sure it should be offered...

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

#717: Vector digitizer tool in wx-Python GUI crashes after changing mapsets.
----------------------+-----------------------------------------------------
Reporter: voncasec | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: 6.4.0 RCs
Keywords: g.mapset | Platform: Linux
      Cpu: x86-64 |
----------------------+-----------------------------------------------------
Changes (by martinl):

  * milestone: 6.4.0 => 6.4.2

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