[GRASS-dev] new python gui

Michael Barton michael.barton at asu.edu
Sun Mar 25 20:12:09 EDT 2007


You may have already solved this.

Last night, I did a rename of several core components of wxgrass. gism.py
has been renamed to wxgui.py. I updated all modules calling this I think.
Please download new versions of all (including the scripts) and let me know
if you have problems.

Michael


On 3/24/07 12:53 AM, "Massimo Di Stefano" <massimodisasha at yahoo.it> wrote:

> 
> Hi,
> 
> i'm tring to use the py-gui grass-interface
> not for works, i'm trying it :-)
> really nice !
> i've downloaded the last svn version,
> 
> thanks to all the grass developper!
> 
> the new command p.mon p.rast works fine,
> 
> but i've some problems using "p.mon select=p.."
> to redraw a new image in the same monitor...
> it open a new monitor and not rewrite in the same monitor...
> ...again
> i've noted that in the last svn the command to start the gis.m
> interface
>>> "python gism.py"
> do not works
> while in the last  "Gui"  (wiki grass addons) it works
> 
> it give me  :
> 
> GRASS 6.3.cvs (salerno):~/grassaddons/gui > python gism.py
> Traceback (most recent call last):
>    File "gism.py", line 445, in <module>
>      app = GMApp(0)
>    File "//Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7757,
> in __init__
>      self._BootstrapApp()
>    File "//Library/Frameworks/Python.framework/Versions/2.5/lib/
> python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7354,
> in _BootstrapApp
>      return _core_.PyApp__BootstrapApp(*args, **kwargs)
>    File "gism.py", line 427, in OnInit
>      mainframe = GMFrame(None, -1, "")
>    File "gism.py", line 110, in __init__
>      self.menubar = self.__createMenuBar()
>    File "gism.py", line 166, in __createMenuBar
>      self.menubar.Append(self.__createMenu(menuItems), menuLabel)
>    File "gism.py", line 181, in __createMenu
>      self.__createMenuItem(menu, *eachItem)
>    File "gism.py", line 193, in __createMenuItem
>      rhandler = eval(handler)
>    File "<string>", line 1, in <module>
> AttributeError: 'GMFrame' object has no attribute 'Nomethod'
> GRASS 6.3.cvs (salerno):~/grassaddons/gui >
> 
> i'm on osx 10.4.9
> grass 6.3cvs
> 
> thanks for any comments
> 
> Massimo
> 
> 

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list