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

Luis Lisboa luislisboa1975 at gmail.com
Wed Nov 3 06:29:55 EDT 2010


Hello Martin and GRASS community
I'm willing to integrate this "fix/work around" in my GRASS installation. I
have customized my winGRASS6.4.1 (from early September) with some scripts
and some changes in WxGUI. So, I would like to know what you have
implemented/changed in the code in order to try to implement in my version.
I just need to know what files you have changed/fixed and them using Diff, I
can try to spot the differences

Thanks
Best regards
Luis
On Sat, Oct 30, 2010 at 6:10 PM, Martin Landa <landa.martin at gmail.com>wrote:

> 2010/10/30 Martin Landa <landa.martin at gmail.com>:
> >>        import shlex
> >>
> >>        def split(s):
> >>            return shlex.split(s, posix = (sys.platform != "win32"))
> >
> > we need to find less Python specific way. The 'posix' parameter has
> > been added in Python 2.6 [1]. OSGeo4W uses Python 2.5, so it will not
> > work.
>
> small workaroud in r44109 (try the next wingrass build). Martin
>
> --
> Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20101103/9c51621e/attachment-0001.html


More information about the grass-dev mailing list