[GRASS-dev] GRASS 7: v.dissolve AttributeError: 'module' object has no attribute 'vector_columns'

Hi,

using v.dissolve on v.patch output returned:

v.dissolve patch out=patch_dissolve column=CODE_00
Traceback (most recent call last):
  File "/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.dissolve",
line 110, in <module>
    main()
  File "/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.dissolve",
line 86, in main
    coltype = grass.vector_columns(input, layer)[column]
AttributeError: 'module' object has no attribute 'vector_columns'

Would it be possible to catch this error and check if a table is
attached to the map (here it wasn't)? The current message is a bit
cryptic.

Uhm, I just realize that it returns the same error even if the table
is present...

thanks
Markus

Hi,

2009/7/24 Markus Neteler <neteler@osgeo.org>:

v.dissolve patch out=patch_dissolve column=CODE_00
Traceback (most recent call last):
File "/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.dissolve",
line 110, in <module>
main()
File "/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/v.dissolve",
line 86, in main
coltype = grass.vector_columns(input, layer)[column]
AttributeError: 'module' object has no attribute 'vector_columns'

Would it be possible to catch this error and check if a table is
attached to the map (here it wasn't)? The current message is a bit
cryptic.

Uhm, I just realize that it returns the same error even if the table
is present...

fixed in r38598.

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa