[GRASS-dev] RE: [GRASS-user] Question with Python-SWIG example
[SEC=UNCLASSIFIED]
Martin Landa
landa.martin at gmail.com
Sun May 23 13:25:55 EDT 2010
Hi,
2010/5/21 Glynn Clements <glynn at gclements.plus.com>:
>> > c_input = c_char_p(input)
>> > c_mapset = c_char_p("")
>> > mapset = grass.G_find_raster2(c_input, c_mapset)
[...]
> That error is coming from your debugging statements; you're probably
> doing something like:
>
> print "String.from_param(): " + obj
>
> Using:
>
> print "String.from_param(): %s" % obj
> or:
> print "String.from_param():" + str(obj)
>
> should work.
right, sorry for the mess. I am getting
ring.from_param(): $Revision: 41297 $
String.__init__(): $Revision: 41297 $
String.from_param(): $Revision: 41297 $
String.__init__(): $Revision: 41297 $
String.from_param(): example7.py
String.__init__(): example7.py
String.from_param(): c_char_p(3077260516)
String.from_param(): c_char_p(3077423276)
WARNING: Illegal filename <
�
�j�>. Character <
> not allowed.
String.from_param(): �
�
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list