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

Markus Neteler neteler at osgeo.org
Fri Jul 24 11:08:46 EDT 2009


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


More information about the grass-dev mailing list