Opened 9 years ago

Closed 9 years ago

#2541 closed defect (duplicate)

wxgui vector import wizard: ValueError : too many values to unpack

Reported by: mlennert Owned by: grass-dev@…
Priority: critical Milestone: 7.0.0
Component: wxGUI Version: svn-releasebranch70
Keywords: wxGUI vector import Cc:
CPU: Unspecified Platform: Unspecified


Reported on the users mailing list:


I'm getting the following error on attempting to import a shape file, without success, with

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/", line 1920, in OnUpdate

  File "/home/user/grass70/grass-7.0.0svn/gui/wxpython/gu
i_core/", 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.

Cheers, Richard"

I can confirm this bug.

Change History (1)

comment:1 by mlennert, 9 years ago

Resolution: duplicate
Status: newclosed

Sorry, didn't see that this was reported in #2539 already.

Note: See TracTickets for help on using tickets.