[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-14 Thread Glynn Clements
Johannes Radinger wrote: I tried no to put 'set PYTHONPATH=%GISBASE%\etc\python;%PYTHONPATH%' into the env.bat file of my selfcompiled GRASS6.5SVN on Windows. Anyway it took me a while to get the 'real' correct line I think (as mentioned in the wiki) In the env.bat file

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-13 Thread Johannes Radinger
Hello, I tried no to put 'set PYTHONPATH=%GISBASE%\etc\python;%PYTHONPATH%' into the env.bat file of my selfcompiled GRASS6.5SVN on Windows. Anyway it took me a while to get the 'real' correct line I think (as mentioned in the wiki) In the env.bat file

Re: [GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-10 Thread Anne Ghisla
On Thu, 08 Dec 2011 13:03:36 +0100 Johannes Radinger jradin...@gmx.at wrote: Hi, Glynn Clements gl...@gclements.plus.com escribió: Johannes Radinger wrote: I tried to run the script now manually with --help from the command line. For simplicicity I only tried v.krige.py, a

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-08 Thread Johannes Radinger
Hi, Original-Nachricht Datum: Wed, 7 Dec 2011 21:23:13 + Von: Glynn Clements gl...@gclements.plus.com An: Johannes Radinger jradin...@gmx.at CC: grass-dev@lists.osgeo.org, grass-wind...@lists.osgeo.org Betreff: Re: [GRASS-windows] compiling WINGrass Python Scripts -

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-08 Thread Helmut Kudrnovsky
Where do I have to set this permanently in Windows? Do I have modify a certain file? have a look in C:\Program Files (x86)\GRASS 6.4.SVN\etc\env.bat Helmut -- View this message in context:

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-08 Thread Glynn Clements
Johannes Radinger wrote: You need: set PYTHONPATH=%GISBASE%\etc\python;%PYTHONPATH% 7.0 does this automatically, but 6.x doesn't. Where do I have to set this permanently in Windows? Do I have modify a certain file? I'd need to use also my system python (2.6) and its modules

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-07 Thread Johannes Radinger
Hi, I tried to run the script now manually with --help from the command line. For simplicicity I only tried v.krige.py, a python script that already comes with the GRASS 6.5 SVN install. I tried to differnent types but both with problems: 1) with the .py ending:

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-07 Thread Glynn Clements
Johannes Radinger wrote: I tried to run the script now manually with --help from the command line. For simplicicity I only tried v.krige.py, a python script that already comes with the GRASS 6.5 SVN install. v.krige.py isn't a normal Python script; it has its own GUI. I also tried to run

[GRASS-dev] Re: [GRASS-windows] compiling WINGrass Python Scripts - ExpatError

2011-12-05 Thread Glynn Clements
Johannes Radinger wrote: self._parser.Parse(, 1) # end of data xml.parsers.expat . ExpatError : no element found: line 1, column 0 I don't know what that exactly means?? I tried to compile the script with two different line endings (UNIX coding and Windows