Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-11 Thread Glynn Clements
Michael Barton wrote: > We tried starting GRASS in a dos window rather than msys using the > command line option. This was a big improvement. We can run basic python > scripts and start an interactive python session. So now we move on to > new issues about running scripts. > > 1) scripts that ca

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-10 Thread Michael Barton
ww.public.asu.edu/~cmbarton] > > > > > > > > > > > > > > > > > Begin forwarded message: > > > > From: Glynn Clements <[gl...@gclements.plus.com]> > > Date: April 2, 2010 3:54:22 PM MST > > To: Mic

Re: Fwd: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-03 Thread Helmut Kudrnovsky
>>- >>Von: Michael Barton >>In a related question, maybe more for Colin, does GRASS 7 work in >>Windows? If so, what is the setup to allow it to run the scripts in >>Python? > > >GRASS 7 works in Windows using a similar batch file to that which I >posted for 6.x. However, the I

Re: Fwd: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-03 Thread Helmut Kudrnovsky
.2010 01:14:31 An: "Colin (Nielsen) Wren" ,Helmut Kudrnovsky Betreff: Fwd: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows? Colin and Helmut, Is there some way that these suggestions can be implemented as default be

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-02 Thread Glynn Clements
Michael Barton wrote: > OK. This helps. We were trying it in the "MSys' (broken and deprecated) > rxvt program". > > Like I said, I'm not familiar enough with Windows to realize that this > would not work. I'm trying to help get python GRASS scripts to work > under Windows. So testing it from MS

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-01 Thread Colin (Nielsen) Wren
I have also been using grass7 on windows using the msys shell (installed in a path without spaces). The GUI works fine though I haven't tried this kind of python script. nb. I am not using a self-installed Python, but the copy that comes with the windows native installer. If the windows PATH or PY

[GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-01 Thread Helmut Kudrnovsky
Michael Barton schrieb: > In a related question, maybe more for Colin, does GRASS 7 work in Windows? > If so, what is the setup to allow it to run the scripts in Python? I'm compiling from time to time Grass7 in the osgeo4w-stack on a WinVista32-box for myself. AFAICT grass7 on WinVista is w

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-01 Thread Michael Barton
OK. This helps. We were trying it in the "MSys' (broken and deprecated) rxvt program". Like I said, I'm not familiar enough with Windows to realize that this would not work. I'm trying to help get python GRASS scripts to work under Windows. So testing it from MSys is not the way to go. Should w

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-04-01 Thread Glynn Clements
Michael Barton wrote: > We've tried the things below and are not getting anywhere. I don't know > if we simply don't understand something (I'm not a Windows person, but > the 2 students copied are) or there is something more we need to do. > > So far, we've installed Python from python.org. We'v

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-31 Thread Michael Barton
Hi Glynn, We've tried the things below and are not getting anywhere. I don't know if we simply don't understand something (I'm not a Windows person, but the 2 students copied are) or there is something more we need to do. So far, we've installed Python from python.org. We've installed it where

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-18 Thread Michael Barton
Thanks. Will try this. Michael C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC) fax: 480-965-7671 SHESC

Re: [GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-18 Thread Glynn Clements
Michael Barton wrote: > A couple of students are trying to run python in wingrass now, following > your directions below. They installed python, but we're not sure where > to put #4 in your steps. > > >> 4. PYTHONPATH needs to be set to %WINGISBASE%\etc\python > > > It seems like it ought to g

[GRASS-dev] Fwd: [GRASS-user] How to embed a grass script (for example v.db.addcol) into a Pythonscript on windows?

2010-03-17 Thread Michael Barton
Glynn, A couple of students are trying to run python in wingrass now, following your directions below. They installed python, but we're not sure where to put #4 in your steps. >> 4. PYTHONPATH needs to be set to %WINGISBASE%\etc\python It seems like it ought to go into the "grass64svn" initia