On Jun 6, 2010, at 2:34 AM, Glynn Clements wrote:

> 
> William Kyngesburye wrote:
> 
>> That works, dist/etc/python/grass/lib now fully populated, no make
>> errors (besides the ignored CPP unknown architecture errors).
> 
> Does the wxGUI NVIZ module work?

I got an error starting the GUI:

GRASS 7.0.svn (spearfish60):~ > Traceback (most recent call last):
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", 
line 1602, in <module>
    sys.exit(main())
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", 
line 1595, in main
    app = GMApp(workspaceFile)
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", 
line 1517, in __init__
    wx.App.__init__(self, False)
  File 
"/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",
 line 7978, in __init__
    self._BootstrapApp()
  File 
"/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py",
 line 7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", 
line 1538, in OnInit
    workspace = self.workspaceFile)
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", 
line 135, in __init__
    self.notebook  = self.__createNoteBook()
  File "/Applications/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py", 
line 218, in __createNoteBook
    self.search = MenuTreeWindow(parent = self)
  File 
"/Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin10.3.1/etc/gui/wxpython/gui_modules/ghelp.py",
 line 214, in __init__
    self.tree = MenuTree(parent = self, data = menudata.ManagerData())
  File 
"/Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin10.3.1/etc/gui/wxpython/gui_modules/ghelp.py",
 line 426, in __init__
    super(MenuTree, self).__init__(parent, **kwargs)
  File 
"/Users/Shared/src/GRASS/svn/trunk/dist.i386-apple-darwin10.3.1/etc/gui/wxpython/gui_modules/ghelp.py",
 line 348, in __init__
    super(ItemTree, self).__init__(parent, id, ctstyle = ctstyle, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'ctstyle'


P.S.  in testing this, I found that the configured prefix is hardwired into the 
grass70 startup python script.  I often make a bindist, which leaves a complete 
runable app package in the macosx folder that I will run, instead of make 
install-ing.  GRASS won't run at all outside of its configured path :(

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to