[GRASS-dev] grass modeler debug

Hello All,

i'm tring to use the grass modeler tool

first i have to say a "great thank You" to Martin and All who are
working on it ! it is a really nice tool !!!

using it i encountered few problems,
i tried it with both grass65 (grass6_devel from svn)
and with grass70 (grass_trunk) on a 64 bit debian (sid) linux.

I just make a simple model to perform a command like :

'g.region rast=myrast -p'

but i can't have it working thru the gui.

clic on the "run button" i have no output
instead i have an error log in the "Command console output window" :

### log ###

Traceback (most recent call last):
  File "/usr/local/grass-7.0.svn/etc/gui/wxpython/gui_module
s/gmodeler.py", line 955, in OnRunModel

if item.GetLoopId():
AttributeError
:
'ModelAction' object has no attribute 'GetLoopId'

######

tring to save the model as a python script i have :

### script generated by the grass modeler ###

import sys
import os
import atexit

import grass.script as grass

def cleanup():
    pass

def main():
    grass.run_command("g.region",
                      flags = 'p',
                      rast = "elevation.10m")

    return 0

if __name__ == "__main__":
    options, flags = grass.parser()
    atexit.register(cleanup)
    sys.exit(main())

############

tring to run the script directly in the grass shell i have it running :

GRASS 7.0.svn (spearfish60):~ > ./trygrassmod.py
projection: 1 (UTM)
zone: 13
datum: nad27
ellipsoid: clark66
north: 4928000
south: 4914020
west: 590010
east: 609000
nsres: 10
ewres: 10
rows: 1398
cols: 1899
cells: 2654802
GRASS 7.0.svn (spearfish60):~ >

i also tried to save the model as a image, but no image is generated
(and no log are printed out)

thanks for any hints, tell me if you need more detailed log

ciao,

Massimo.