[GRASS-dev] access to grass (trunk 7.0.svn ) vector map from python

Glynn Clements glynn at gclements.plus.com
Tue Jun 15 18:45:54 EDT 2010


Fernando Pacheco wrote:

> I modified the code as you have suggested. But I encounter a new problem. If
> I run a simple program from the command line like this:
> http://osgeo.pastebin.com/pPqkcvk3 get the following error:

> "python: malloc.c:4628: _int_malloc: Assertion `(unsigned long)(size) >=
> (unsigned long)(nb)' failed."

That's the error which I saw before fixing the wrappers.

> I updated the code to the 42566 version but I still have the same problem. Any
> suggestions?. I will keep trying!. Thank you. Fernando.

Did you run "make clean" after updating? Makefiles aren't treated as
prerequisites, so an incremental build won't cause the wrappers to be
regenerated.

It should suffice to run:

	make -C lib/python/ctypes clean
	make -C lib/python/ctypes

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list