[GRASS-dev] [GRASS GIS] #2541: wxgui vector import wizard: ValueError : too many values to unpack

GRASS GIS trac at osgeo.org
Fri Jan 9 05:15:12 PST 2015

#2541: wxgui vector import wizard: ValueError : too many values to unpack
 Reporter:  mlennert             |       Owner:  grass-dev@…              
     Type:  defect               |      Status:  new                      
 Priority:  critical             |   Milestone:  7.0.0                    
Component:  wxGUI                |     Version:  svn-releasebranch70      
 Keywords:  wxGUI vector import  |    Platform:  Unspecified              
      Cpu:  Unspecified          |  
 Reported on the users mailing list:


 I'm getting the following error on attempting to import a shape file,
 without success, with v.in.ogr:

 From the command console:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-
 line 140, in OnChanged

   File "/home/user/grass70/grass-7.0.0svn/gui/wxpython/gu
 i_core/gselect.py", line 1920, in OnUpdate

   File "/home/user/grass70/grass-7.0.0svn/gui/wxpython/gu
 i_core/gselect.py", line 1945, in _reloadLayers

 layerName, featureType, projection = map(lambda x:
 x.strip(), line.split(','))
 too many values to unpack

 And after clicking Import, I receive the following popup message:
 No layers selected. Operation canceled

 The above relates to 7.0.0svn:
 System Info
 GRASS version: 7.0.0svn
 GRASS SVN Revision: 63929
 Build Date: 2015-01-02
 Build Platform: i686-pc-linux-gnu
 GDAL/OGR: 1.11.1
 PROJ.4: 4.9.0
 GEOS: 3.4.2
 SQLite: 3.7.9
 Python: 2.7.3
 Platform: Linux-3.2.0-31-generic-pae-i686-with-LinuxMint-13-maya

 I've tried with a couple of shapefiles.


 I can confirm this bug.

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

More information about the grass-dev mailing list