[GRASS-dev] ctypes problem with Vect_open_old

Martin Landa landa.martin at gmail.com
Thu Dec 30 15:45:20 EST 2010


Hi,

testing simple ctypes script

"""
#!/usr/bin/python

from grass.lib.grass  import *
from grass.lib.vector import *

map = Map_info()

Vect_open_old(map, "lakes", "")
"""

I am getting

D1/1: Vect__open_old(): name = (null) mapset = (null) layer= (null) update = 0
Segmentation fault

Seems that strings are getting lost somewhere.

Martin

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


More information about the grass-dev mailing list