#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
}}}
#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 |
----------------------------------+-----------------------------------------
Comment(by annakrat):
It's somehow related to http://trac.osgeo.org/grass/changeset/63610 which
hasn't been backported. v.external is running in the background and the
code expects 4 columns (`layerName, featureType, projection,
geometryColumn`) but you get only 3.
#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 |
----------------------------------+-----------------------------------------
Comment(by martinl):
Replying to [comment:3 annakrat]:
> It's somehow related to http://trac.osgeo.org/grass/changeset/63610
which hasn't been backported. v.external is running in the background and
the code expects 4 columns (`layerName, featureType, projection,
geometryColumn`) but you get only 3.
Replying to [comment:4 martinl]:
> Replying to [comment:3 annakrat]:
> > It's somehow related to http://trac.osgeo.org/grass/changeset/63610
which hasn't been backported. v.external is running in the background and
the code expects 4 columns (`layerName, featureType, projection,
geometryColumn`) but you get only 3.
>
> I have backport it in r64041.
There are more issues to fix/backport, I will take a look later.
#2537: v.external wxgui wizard: ValueError : need more than 3 values to unpack
----------------------------------+-----------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: v.external postresql | Platform: Linux
Cpu: Unspecified |
----------------------------------+-----------------------------------------
Comment(by mlennert):
Replying to [comment:4 martinl]:
> Replying to [comment:3 annakrat]:
> > It's somehow related to http://trac.osgeo.org/grass/changeset/63610
which hasn't been backported. v.external is running in the background and
the code expects 4 columns (`layerName, featureType, projection,
geometryColumn`) but you get only 3.
>
> I have backport it in r64041.
FYI: it was working in release70 and not in trunk, so I guess by
backporting it will now also not work in release70... I can't check right
now, so this message is meant just to give you a heads up.
#2537: v.external wxgui wizard: ValueError : need more than 3 values to unpack
----------------------------------+-----------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: v.external postresql | Platform: Linux
Cpu: Unspecified |
----------------------------------+-----------------------------------------
Comment(by mlennert):
Replying to [comment:6 mlennert]:
> Replying to [comment:4 martinl]:
> > Replying to [comment:3 annakrat]:
> > > It's somehow related to http://trac.osgeo.org/grass/changeset/63610
which hasn't been backported. v.external is running in the background and
the code expects 4 columns (`layerName, featureType, projection,
geometryColumn`) but you get only 3.
> >
> > I have backport it in r64041.
>
> FYI: it was working in release70 and not in trunk, so I guess by
backporting it will now also not work in release70... I can't check right
now, so this message is meant just to give you a heads up.
I can confirm now that v.external does not work for PostgreSQL databases
in trunk and grass70. v.external -t still gives me the same output.