Send grass-windows mailing list submissions to grass-windows@lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.osgeo.org/mailman/listinfo/grass-windows or, via email, send a message with subject or body 'help' to grass-windows-requ...@lists.osgeo.org You can reach the person managing the list at grass-windows-ow...@lists.osgeo.org When replying, please edit your Subject line so it is more specific than "Re: Contents of grass-windows digest..." Today's Topics: 1. Re: Can't run any modules with WinGRASS (Markus Neteler) 2. Re: i.class (Markus Neteler) 3. Re: Running grass Python Scripts (Markus Neteler) 4. Re: Problem with usage of the console (Markus Neteler) 5. Re: r.series & g.mlist (Markus Neteler) 6. Re: Problem with usage of the console (Layman123) ---------------------------------------------------------------------- Message: 1 Date: Sat, 16 Apr 2011 19:58:30 +0200 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] Can't run any modules with WinGRASS To: Mingyu Yang <mingyuy...@gmail.com> Cc: grass-windows@lists.osgeo.org Message-ID: <banlktinjfrniot+goddrsgm_roew_83...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 28, 2011 at 12:07 PM, Mingyu Yang <mingyuy...@gmail.com> wrote: > Dear All: > > I am a quite novice with GRASS, with basic GIS experience in ArcView and > Idrisi. > > Right now I need GRASS to generate a time cost based on r.walk. I download > the WinGRASS 6.4 and install it in a Win 7 operation system, followed the > tutorial/reference in the Wiki. > > The installation process is quite smooth. But after enter into the GUI, I > can not run any modules. For example, after DEM data (in spearfish60) are > properly loaded into a workplace, the layer can be display well, however > when I click on the raster--->terrain analysis---->slope and aspect, it > should prompt out a dialog window (as shown in most tutorials), but my GRASS > shows nothing. > > In the command console, it shows error as: > > Traceback (most recent call last): > File "C:/GRASS/etc/wxpython/wxgui.py", line 429, in > OnMenuCmd > cmd = self.GetMenuCmd(event) > File "C:/GRASS/etc/wxpython/wxgui.py", line 414, in > GetMenuCmd > input = > menuform.GUI().GetCommandInputMapParamKey(cmdlist[0]) > File "C:\GRASS\etc\wxpython\gui_modules\menuform.py", line > 2142, in GetCommandInputMapParamKey > tree = etree.fromstring(getInterfaceDescription(cmd)) > File "C:\GRASS\Python25\lib\xml\etree\ElementTree.py", > line 963, in XML > parser.feed(text) > File "C:\GRASS\Python25\lib\xml\etree\ElementTree.py", > line 1245, in feed > self._parser.Parse(data, 0) > xml.parsers.expat > . > ExpatError > :not well-formed (invalid token): line 48, column 4 This might be an encoding issue. Are you running GRASS in English or in a different locale? > Due to no experiences to Unix and Python, I was quite frustrated with this > problem. > > So is there anyone in WinGRASS development team can provide me some > indication and help me to fix this problem? > I really appreciate your response. Two ideas: - run GRASS in English language - a few things have been fixed since GRASS 6.4.0, recently 6.4.1 was published, could you try it? http://grass.osgeo.org/grass64/binary/mswindows/native/WinGRASS-6.4.1-1-Setup.exe Best Markus ------------------------------ Message: 2 Date: Sat, 16 Apr 2011 19:59:35 +0200 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] i.class To: Eduardo Klein <ekl...@usb.ve> Cc: grass-windows@lists.osgeo.org Message-ID: <BANLkTi=aJs4LWvJU=QQw_fZwri+cE=n...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Wed, Mar 23, 2011 at 6:36 PM, Eduardo Klein <ekl...@usb.ve> wrote: > Hi, > > I'm trying to find a way to run i.class on windows. What should I do > (install/configure) to open the digitizing window? Currently, the only way is to use the cygwinGRASS version on Windows. Yet the old i.class interface has not been ported to the wxGUI. Markus ------------------------------ Message: 3 Date: Sat, 16 Apr 2011 20:00:24 +0200 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] Running grass Python Scripts To: Franz Schiller <franzschiller1...@gmail.com> Cc: grass-windows@lists.osgeo.org Message-ID: <banlktingmma9d5ecsojszeuqofxwzce...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Mon, Mar 14, 2011 at 11:01 AM, Franz Schiller <franzschiller1...@gmail.com> wrote: > Greetings > I have installed WinGRAS6.4 and a friend of mine, using Ubuntu, developed a > GRASS Python Script that I want to test (just test it). Since all my Scripts > are in Bash Script what do I have to do to have my winGRASS to run this > script? > 1- place the script in <winGRASSroot>/scripts > 2- Create a file in <winGRASSroot>/bin ? and what is the command that shall > be in this file? Essentially the script has to be in the path in the GRASS session. Nothing else should be needed. Markus ------------------------------ Message: 4 Date: Sat, 16 Apr 2011 20:01:02 +0200 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] Problem with usage of the console To: Layman123 <romanhorn...@web.de> Cc: grass-windows@lists.osgeo.org Message-ID: <BANLkTikuEvA0PZAVVgU42kkL=1osdcn...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Sun, Mar 13, 2011 at 12:22 AM, Layman123 <romanhorn...@web.de> wrote: > Hi, > > Being a real newbie to GRASS, I have a very fundamental problem. I was > following a tutorial on GRASS and in one step something has to be written in > the console. As I try to type in the console nothing happened. The cursor > just keeps blinking. Does somebody have an idea, what could cause this? I'm > using Windows Vista. You will need to tell us in a more detailed way, what you tried. Markus ------------------------------ Message: 5 Date: Sat, 16 Apr 2011 20:02:45 +0200 From: Markus Neteler <nete...@osgeo.org> Subject: Re: [GRASS-windows] r.series & g.mlist To: rasmus borgstr?m <r...@gras.ku.dk> Cc: grass-windows@lists.osgeo.org Message-ID: <banlktimusv3howdt_mfeyruzvtjx4go...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 On Fri, Mar 11, 2011 at 2:43 PM, rasmus borgstrøm <r...@gras.ku.dk> wrote: > Hi > > I have a problem creating average maps with r.series and g.mlist in my sh > executed by msys sh.exe on windows xp with GRASS 6.4.0: > > What is the syntax error here: > r.series input="`g.mlist pattern='*TSM*' separator=comma`" > output=TSM.average method=average I don't know but I suspect that the backticks ` are perhaps not supported by msys sh.exe? > This command works fine when run seperately: > g.mlist pattern=*TSM* separator=comma > > Any suggestions? Due to my Windows ignorance I have none, hopefully someone else in the list knows how to do it. Markus ------------------------------ Message: 6 Date: Sat, 16 Apr 2011 12:08:18 -0700 (PDT) From: Layman123 <romanhorn...@web.de> Subject: [GRASS-windows] Re: Problem with usage of the console To: grass-windows@lists.osgeo.org Message-ID: <1302980898390-6279599.p...@n2.nabble.com> Content-Type: text/plain; charset=us-ascii The matter has resolved itself. I was trying to type in the commands in the black box and didn't realise the other window with the output in it was the console... Thank you for the answer anyway! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-with-usage-of-the-console-tp6165227p6279599.html Sent from the Grass - Win mailing list archive at Nabble.com. ------------------------------ _______________________________________________ grass-windows mailing list grass-windows@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-windows End of grass-windows Digest, Vol 55, Issue 2 ********************************************