Opened 10 years ago
Closed 10 years ago
#2541 closed defect (duplicate)
wxgui vector import wizard: ValueError : too many values to unpack
Reported by: | mlennert | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 7.0.0 |
Component: | wxGUI | Version: | svn-releasebranch70 |
Keywords: | wxGUI vector import | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Reported on the users mailing list:
"Hi,
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- packages/wx-2.8-gtk2-unicode/wx/lib/filebrowsebutton.py", line 140, in OnChanged self.changeCallback(evt) File "/home/user/grass70/grass-7.0.0svn/gui/wxpython/gu i_core/gselect.py", line 1920, in OnUpdate self._reloadLayers() 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(',')) ValueError : 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 wxPython: 2.8.12.1 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.
Note:
See TracTickets
for help on using tickets.
Sorry, didn't see that this was reported in #2539 already.