Glynn I decided re-start this issue... A few emails ago you mentioned this: I suspect that those in prompt.py should be changed, but I'm not sure about the others.
I tried to find this file but there is no prompt.py. Is there any alternative filename? Thanks Luis On Wed, Oct 20, 2010 at 4:29 PM, Glynn Clements <[email protected]>wrote: > > > Luis Lisboa wrote: > > > > Ok at utils.py at line 21 I placed: > > > > import shlex > > > > and at the bottom of the file (linhe 424) I placed > > > > def split(s): > > > > return shlex.split(s, posix = (sys.platform != "win32")) > > > > > > > > And I still got this error. Did I did something wrong? > > > > > > It isn't sufficient to add the function; you have to change (some of) > > > the existing shlex.split() calls to use utils.split() instead. > > > > SOrry to bother you and the rest of the people. But when you say that > > it'sn't enough, you mean that all shlex.split() shall be substituted > > by utils.split()? is that it? > > Yes. > > Well, not all of them, but the ones which relate to the command > prompt. Others, e.g. parsing of commands from menudata.xml, shouldn't > depend upon the platform. > > -- > Glynn Clements <[email protected]> >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
