[GRASS-dev] Re: [GRASS-user] Error when importing data in Windows with Python Script

Luis Lisboa luislisboa1975 at gmail.com
Wed Oct 20 09:40:58 EDT 2010


Hi Glynn
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?
Thanks
Luis

On Wed, Oct 20, 2010 at 2:05 AM, Glynn Clements <glynn at gclements.plus.com>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.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20101020/4e63f47c/attachment.html


More information about the grass-dev mailing list