#1448: run model menu item does not seem to work
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Default | Version: svn-trunk
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
I made and saved a model using the graphical modeler. The model works
fine. I can load the saved model into the graphical modeler and it works
fine.
If I select "run model" from the file menu and select this saved model,
nothing happens. No error and nothing produced.
#1448: run model menu item does not seem to work
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by cmbarton):
#1448: run model menu item does not seem to work
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: modeler | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by martinl):
There is an error (check 'command output' if you have no debug level
defined).
{{{
File "/usr/local/src/grass64_release/dist.i686-pc-linux-
gnu/etc/wxpython/gui_modules/gmodeler.py", line 1751, in _setPen
pen = self.GetPen()
File "/usr/lib/python2.6/dist-
packages/wx-2.8-gtk2-unicode/wx/lib/ogl/_basic.py", line 2069, in GetPen
return self._pen
AttributeError: 'ModelAction' object has no attribute '_pen'
}}}
Hopefully fixed in r48307 (trunk) and r48308 (devbr6). After some testing
it could be backported to `relbr64`.
#1448: run model menu item does not seem to work
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: modeler | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by cmbarton):
Tested in trunk. Now it runs without an error. But it does not respect the
'parameterization' checkbox when run this way. That is, it does not open a
dialog for file selection or module options when the relevant
parameterization box is checked. When loaded and run in the modeler GUI
window, it does present dialogs for parameterized options. I don't know
if this is by design or not.
#1448: run model menu item does not seem to work
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: martinl
Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-trunk
Keywords: modeler | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by martinl):
Replying to [comment:4 cmbarton]:
> Tested in trunk. Now it runs without an error. But it does not respect
the 'parameterization' checkbox when run this way. That is, it does not
open a dialog for file selection or module options when the relevant
parameterization box is checked. When loaded and run in the modeler GUI
window, it does present dialogs for parameterized options. I don't know
if this is by design or not.
hopefully fixed in r48342 (trunk) and r48343 (develbr6).
Tested and it seems to work fine. I ran into an error initially that I
traced to the fact that the output argument for r.blend has changed in
GRASS 7 from "output" to "output_prefix" . A more accurate name for the
argument but it breaks backward compatibility (permitted across version
changes of course).
Thanks again for making this very nice tool for GRASS. I've already been
recommending it as a way to get started writing Python scripts. I'll go
ahead and close this.
BTW, how does the variables section work for the modeler?