<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body style="direction: ltr;" bgcolor="#ffffff" text="#000000">
maven apache wrote:
<blockquote
 cite="mid:b6ae15040906110710v7e043a15i493dce713b5aafe2@mail.gmail.com"
 type="cite">
  <div>Hi:</div>
  <div>I followed the doc from the web resrouce:</div>
  <div><a moz-do-not-send="true"
 href="https://svn.wald.intevation.org/svn/pywps/tags/pywps-3.1.0/pywps/Grass.py">https://svn.wald.intevation.org/svn/pywps/tags/pywps-3.1.0/pywps/Grass.py</a><br>
  </div>
  <div>And I think what we are doing is similar to theirs,so I thought
the confignation of grass maybe correct for us.<br>
  </div>
</blockquote>
Is there some special reason you need to create the GRASS directory
structure programatically each time? Can't you just start GRASS once
the straight-forward way to make the required location, mapset and
files, then use the instructions here:<br>
<a class="moz-txt-link-freetext" href="http://grass.osgeo.org/wiki/GRASS_and_Shell">http://grass.osgeo.org/wiki/GRASS_and_Shell</a><br>
to run your grass commands from a shell/python script?<br>
<br>
-- <br>
Micha<br>
 <br>
<blockquote
 cite="mid:b6ae15040906110710v7e043a15i493dce713b5aafe2@mail.gmail.com"
 type="cite">
  <div class="gmail_quote">2009/6/11 Nikos Alexandris <span dir="ltr">&lt;<a
 moz-do-not-send="true"
 href="mailto:nikos.alexandris@felis.uni-freiburg.de">nikos.alexandris@felis.uni-freiburg.de</a>&gt;</span><br>
  <blockquote
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
 class="gmail_quote"><br>
maven:<br>
    <div class="im">&gt; And I know the reason of the problem now.<br>
    <br>
    </div>
Which is?<br>
    <div class="im"><br>
    <br>
&gt; However as what you said,I should create a new location and mapset
if<br>
&gt; necessary,it does not work.<br>
&gt; I create two folders nLocation/nmapset and create a wind file in
the<br>
&gt; nmapset dir, however when I run the grass gui,I also can not
seclect<br>
&gt; the new location to enter.<br>
    <br>
    </div>
Sorry, I never create manually those directories and the WIND file. I<br>
always use the "recommended" way, that is through GRASS.<br>
    <br>
Read _A)_ or/ and _B)_ in:<br>
    <a moz-do-not-send="true"
 href="http://grass.osgeo.org/grass64/manuals/html64_user/helptext.html"
 target="_blank">http://grass.osgeo.org/grass64/manuals/html64_user/helptext.html</a><br>
    <div class="im"><br>
    <br>
&gt; It throw the error message:the selection location [nlocation ]is
not<br>
&gt; valide. Is the procedure I create the new location is wrong? I<br>
&gt; followed the maual<br>
    <br>
    </div>
Which manual?<br>
    <font color="#888888"><br>
Nikos<br>
    <br>
    </font></blockquote>
  </div>
  <br>
  <br>
This mail was received via Mail-SeCure System.<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>

This mail was received via Mail-SeCure System.


  </pre>
</blockquote>
<br>
</body>
</html>