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

Hello Martin

I have just downloaded and installed WinGRASS r44203 from here (http://josef.fsv.cvut.cz/wingrass/grass64/) and I tried to run a Python Script that uses a file path in Windows and still, it’s not using the Windows "" file-paths bars. Can anyone confirm me that this is still not working on this version?
Thanks
Monica

Hi,

2010/11/8 Monica Buescu <monicabuescu1985@gmail.com>:

I have just downloaded and installed WinGRASS r44203 from here
(http://josef.fsv.cvut.cz/wingrass/grass64/) and I tried to run a Python
Script that uses a file path in Windows and still, it's not using the
Windows "\" file-paths bars. Can anyone confirm me that this is still not
working on this version?

just to be sure, you are running script from wxGUI command prompt, e.g.

c:\test.py c:\path\to\file

?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hello Martin
I’m running my Python script from its Modules GUI. I insert the path, by-hand…

On Mon, Nov 8, 2010 at 11:04 AM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2010/11/8 Monica Buescu <monicabuescu1985@gmail.com>:

I have just downloaded and installed WinGRASS r44203 from here
(http://josef.fsv.cvut.cz/wingrass/grass64/) and I tried to run a Python
Script that uses a file path in Windows and still, it’s not using the
Windows "" file-paths bars. Can anyone confirm me that this is still not
working on this version?

just to be sure, you are running script from wxGUI command prompt, e.g.

c:\test.py c:\path\to\file

?

Martin


Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hello martin and Grass list
as I replied, I’m not running scripts like that.
For instance, I have a python script named r.in.landsat
I run it as r.inlandsat input=C:\Lsat5_10.tif
But I’m not able to run this because of "" it’s not being recognized as a valid character. I have just installed WinGRASS nightly version from last week and It’s still not available. Is this expected?
Thanks

On Mon, Nov 8, 2010 at 11:04 AM, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2010/11/8 Monica Buescu <monicabuescu1985@gmail.com>:

I have just downloaded and installed WinGRASS r44203 from here
(http://josef.fsv.cvut.cz/wingrass/grass64/) and I tried to run a Python
Script that uses a file path in Windows and still, it’s not using the
Windows "" file-paths bars. Can anyone confirm me that this is still not
working on this version?

just to be sure, you are running script from wxGUI command prompt, e.g.

c:\test.py c:\path\to\file

?

Martin


Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa