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

Martin Landa landa.martin at gmail.com
Mon Aug 3 11:20:13 EDT 2009


Hi,

2009/7/24 Markus Neteler <neteler at 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


More information about the grass-dev mailing list