[GRASS-dev] [GRASS GIS] #2537: v.external wxgui wizard: ValueError : need more than 3 values to unpack

GRASS GIS trac at osgeo.org
Fri Jan 9 01:21:08 PST 2015


#2537: v.external wxgui wizard: ValueError : need more than 3 values to unpack
----------------------------------+-----------------------------------------
 Reporter:  mlennert              |       Owner:  grass-dev@…              
     Type:  defect                |      Status:  new                      
 Priority:  normal                |   Milestone:  7.0.0                    
Component:  wxGUI                 |     Version:  svn-trunk                
 Keywords:  v.external postresql  |    Platform:  Linux                    
      Cpu:  Unspecified           |  
----------------------------------+-----------------------------------------
 In freshly updated and compiled trunk and release70, I get the following
 error when I

  * open the v.external wizard in wxGUI
  * chose Database as 'Type of source'
  * chose PostgreSQL as 'Format'
  * chose a PostGIS database

 {{{
 Traceback (most recent call last):
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/gui/wxpython/gui_core/gselect.py", line
 1362, in <lambda>

 lambda evt:
 self.SetSourceType(self.sourceMapByIdx[evt.GetInt()]))
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/gui/wxpython/gui_core/gselect.py", line
 1767, in SetSourceType

 self._reloadLayers()
   File
 "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/gui/wxpython/gui_core/gselect.py", line
 1945, in _reloadLayers

 layerName, featureType, projection, geometryColumn =
 map(lambda x: x.strip(), line.split(','))
 ValueError
 :
 need more than 3 values to unpack
 }}}

 This is on Debian Testing.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2537>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list