Hi,

2010/5/21 Glynn Clements <[email protected]>:
>> >        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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to