[GRASS-dev] new python gui

Massimo Di Stefano massimodisasha at yahoo.it
Sat Mar 24 03:53:54 EDT 2007


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




More information about the grass-dev mailing list