Opened 14 years ago

Closed 14 years ago

#1232 closed defect (fixed)

gui modeler don't works as aspected

Reported by: epifanio Owned by: martinl
Priority: normal Milestone: 6.4.1
Component: wxGUI Version:
Keywords: modeler Cc: grass-dev@…
CPU: All Platform: All


Hi i'm trying to use the grass modeler in the wx gui, but i have some problems to use it :

the "run" action do not works

i tried on both osx and linux, with grass65 and 70

tring to run the model from the gui don't print any useful log tring to save it as script, the resulting file is not complete :

projectfile :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gxm SYSTEM "grass-gxm.dtd">
    <window pos="316,250" size="640,480" />
        <description>Script generated by wxGUI Graphical Modeler.</description>
    <action id="1" name="g.region" pos="305,115" size="100,50">
        <task name="g.region">
            <parameter name="rast">
            <flag name="p" />
    <data pos="110,120" size="175,50">
        <data-parameter prompt="raster">
        <relation dir="from" id="1" name="rast">

python script generated by grass65 (incomplete) :

#!/usr/bin/env python
# ..... 

import sys
import os
import atexit

import grass.script as grass

python script generated by grass70 (it works from command line):

import sys
import os
import atexit

import grass.script as grass

def cleanup():

def main():
                      flags = 'p',
                      rast = "bugsites")

    return 0

if __name__ == "__main__":
    options, flags = grass.parser()

the save as image also don't works on both grass 65 and 70

Change History (2)

comment:1 by martinl, 14 years ago

Cc: grass-dev@… added
Milestone: 6.4.1
Owner: changed from grass-dev@… to martinl
Status: newassigned

Hopefully fixed in r44570.

comment:2 by martinl, 14 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.