You are absolutely right Antonio. Do anyone knows how to have Special Characters in Module (e.g. á, é).
Thanks PS- At my WinGRASS I had those special characters 2010/1/26 António Rocha <[email protected]> > > Kim, probably you have a special character in your module/Option (such as > á, à , ã or something). Right? > > Because I'm using Ubuntu 9.10 and I have already coded a NDVI function, > very similar to yours, and it's working just fine. as soon as I put a > character like those, I get an error like > *(python:3562): Pango-CRITICAL **: pango_layout_get_cursor_pos: assertion > `index >= 0 && index <= layout->length' failed* > and huge wxPython GUI error in command window. > > Antonio > >> >> >> ------------------------------------------------------------------------ >> >> Subject: >> Re: [GRASS-dev] Scripting in Linux >> From: >> Kim Besson <[email protected]> >> Date: >> Tue, 26 Jan 2010 15:39:59 +0000 >> To: >> Glynn Clements <[email protected]>, [email protected] >> >> To: >> Glynn Clements <[email protected]>, [email protected] >> CC: >> >> >> Yeah sure... >> The following was printed in TERMINAL: >> (python:2176): Gtk-CRITICAL **: gtk_widget_event: assertion >> `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed >> >> And at the command output it was: >> <?xml version="1.0" encoding="ANSI_X3.4-1968"?> >> <!DOCTYPE task SYSTEM "grass-interface.dtd"> >> <task name="i.ndvi"> >> <description> >> NDVI Calculus >> </description> >> <keywords> >> DW-E, raster, imagery, vegetation >> </keywords> >> <parameter name="bandnir" type="string" required="yes" multiple="no"> >> <description> >> raster input map (Near Infrared) >> </description> >> <gisprompt age="old" element="cell" prompt="raster" /> >> </parameter> >> <parameter name="bandred" type="string" required="yes" multiple="no"> >> <description> >> raster input map (Red) >> </description> >> <gisprompt age="old" element="cell" prompt="raster" /> >> </parameter> >> <parameter name="ndvi" type="string" required="yes" multiple="no"> >> <description> >> raster output NDVI map >> </description> >> <gisprompt age="new" element="cell" prompt="raster" /> >> </parameter> >> <flag name="overwrite"> >> <description> >> Allow output files to overwrite existing files >> </description> >> </flag> >> <flag name="verbose"> >> <description> >> Verbose module output >> </description> >> </flag> >> <flag name="quiet"> >> <description> >> Quiet module output >> </description> >> </flag> >> </task> >> (Tue Jan 26 15:38:40 2010) Command finished (0 sec) >> >> >> This gives us any light? >> >> 2010/1/26 Glynn Clements <[email protected] <mailto: >> [email protected]>> >> >> >> Kim Besson wrote: >> >> > But, for instance, I have just made a NDVI script (i.ndvi) and I >> added the >> > file to my script folder but I got the following error: >> >> > SAXParseException >> > : >> > <unknown>:5:3: not well-formed (invalid token) >> > >> > Could you tell me what's wrong? Am I suppose to do something else? >> >> Can you post the output from "i.ndvi --interface-description" ? >> >> -- >> Glynn Clements <[email protected] >> <mailto:[email protected]>> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> grass-dev mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/grass-dev >> >> >> __________ Information from ESET NOD32 Antivirus, version of virus >> signature database 4807 (20100126) __________ >> >> The message was checked by ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> >> > > > > __________ Information from ESET NOD32 Antivirus, version of virus > signature database 4807 (20100126) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
