[GRASS-dev] [GRASS GIS] #1876: pressing "save" on Digitization settings dialog raises error

#1876: pressing "save" on Digitization settings dialog raises error
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Here is the error:

{{{

Traceback (most recent call last):
   File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/gui/wxpython/vdigit/preferences.py", line 664, in OnSave

self.UpdateSettings()
   File "/Applications/GRASS/GRASS-7.0.app/Contents/MacOS/etc
/gui/wxpython/vdigit/preferences.py", line 742, in
UpdateSettings

item = tree.FindItemByData('maplayer', mapLayer)
AttributeError
:
'LayerList' object has no attribute 'FindItemByData'

}}}

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

#1876: pressing "save" on Digitization settings dialog raises error
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by wenzeslaus):

I'm not able to reproduce it. Please, tell me the steps. And for sure, do
svn up because there was some changes.

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

#1876: pressing "save" on Digitization settings dialog raises error
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by cmbarton):

Start digitizing a vector map (in wxPython display). Open preferences
dialog. Click "save" instead of apply.

The dialog does not close and the error text appears in the console. I
don't know whether or not the preferences are actually changed or not.

Michael

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

#1876: pressing "save" on Digitization settings dialog raises error
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by wenzeslaus):

I'm not able to reproduce it. Saving is without an error. There can be an
error like this but I haven't found anything so far in the source code
which can cause it.

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

#1876: pressing "save" on Digitization settings dialog raises error
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: vdigit | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * keywords: => vdigit
  * component: Default => wxGUI

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

#1876: pressing "save" on Digitization settings dialog raises error
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: vdigit | Platform: MacOSX
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * platform: Unspecified => MacOSX

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