[GRASS-user] Re: Problem with running Python script in GRASS

2010-05-07 Thread LeeDaniel

Hi everyone,

Just a quick status update:

Being so new to the whole GRASS scene (and the Open Source scene in the
first place) but wanting very much to work with these systems, I installed
Linux and had the difficulties I described above. As an answer to the
question if anything else happened when I tried to run a Python script using
GRASS 6.4: I listed everything that happened, sadly there was no further
information that the system gave me.

I've now learned a little bit about writing shell scripts and have
successfully translated the Python script into the shell format. Now it
seems to be running without problems. It's quite a large computation, but
right now it's going great in Linux.

My other question, though, is how to get newer versions of GRASS. I also
considered going over to GRASS 7, it seems to be planned to deal a lot
better with Python, but wasn't able to find it on the official GRASS page.
Did I just overlook it, or is it available through some other source? I
found some sources in the Internet but didn't quite trust them.

Best,
Daniel
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Problem-with-running-Python-script-in-GRASS-tp5007296p5018865.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: Problem with running Python script in GRASS

2010-05-07 Thread Glynn Clements

LeeDaniel wrote:

 My other question, though, is how to get newer versions of GRASS. I also
 considered going over to GRASS 7, it seems to be planned to deal a lot
 better with Python, but wasn't able to find it on the official GRASS page.
 Did I just overlook it, or is it available through some other source? I
 found some sources in the Internet but didn't quite trust them.

http://grass.osgeo.org/download/software.php

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Re: Problem with running Python script in GRASS

2010-05-06 Thread Glynn Clements

LeeDaniel wrote:

 Thanks for the answer. Yeah, that's really strange. Now I've installed Linux
 on top of Windows and tried running it there. I seem to get a step further.
 Rather than spitting out that strange error message I get the following: 
 
 child process exited abnormally

Do you get any more detail than that?

That error indicates that an external command failed. In that
situation, it's helpful to know *which* external command failed.

Also, it's worth checking whether the script works without the GUI,
e.g. typing r.solar help from the command line.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: Problem with running Python script in GRASS

2010-05-05 Thread LeeDaniel

Hello,

Thanks for the answer. Yeah, that's really strange. Now I've installed Linux
on top of Windows and tried running it there. I seem to get a step further.
Rather than spitting out that strange error message I get the following: 

child process exited abnormally

And another window pops up, titled dialog0.

Nothing more to report other than that... But now that I'm in Linux it
should work better, right? Does anybody have a fix or an idea of what it
could be? Thanks so much!

The desperate
Daniel
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Problem-with-running-Python-script-in-GRASS-tp5007296p5011558.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user