While working on some OSX compile stuff today, I found that the wx gui is not working in dev6 branch. I get:
GRASS 6.5.svn (spearfish60):~ > g.gui wxpython&
[1] 30330
GRASS 6.5.svn (spearfish60):~ > Traceback (most recent call last):
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1617, in <module>
sys.exit(main())
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1610, in main
app = GMApp(workspaceFile)
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1532, in __init__
wx.App.__init__(self, False)
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wx/_core.py", line 7978, in __init__
self._BootstrapApp()
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wx/_core.py", line 7552, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1548, in OnInit
workspace = self.workspaceFile)
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wxgui.py", line 129, in __init__
self.cmdprompt = self.__createCommandPrompt()
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wxgui.py", line 196, in __createCommandPrompt
return prompt.GPrompt(self).GetPanel()
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/gui_modules/prompt.py", line 33, in __init__
self.panel, self.input = self.__create()
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/gui_modules/prompt.py", line 46, in __create
size = (-1, 25))
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/gui_modules/prompt.py", line 140, in __init__
self.dropdown = wx.PopupWindow(self)
File "/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wx/_windows.py", line 1745, in __init__
_windows_.PopupWindow_swiginit(self,_windows_.new_PopupWindow(*args, **kwargs))
NotImplementedError
Note: As you can see, I'm using a bundled wxpython. v2.8.10.1.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Time is an illusion - lunchtime doubly so."
- Ford Prefect
Hi,
2009/5/24 William Kyngesburye <woklist@kyngchaos.com>:
While working on some OSX compile stuff today, I found that the wx gui is
not working in dev6 branch. I get:
"/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/gui_modules/prompt.py",
line 140, in __init__
self.dropdown = wx.PopupWindow(self)
File
"/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wx/_windows.py",
line 1745, in __init__
_windows_.PopupWindow_swiginit(self,_windows_.new_PopupWindow(*args,
**kwargs))
NotImplementedError
this is due the recent attempt to implement interactive prompt for
wxGUI. I disabled this feature on Mac in r37421 (trunk) and r37422
(devbr6) since wx.PopupWindow is not available for this platform.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
On May 24, 2009, at 9:01 AM, Martin Landa wrote:
Hi,
2009/5/24 William Kyngesburye <woklist@kyngchaos.com>:
While working on some OSX compile stuff today, I found that the wx gui is
not working in dev6 branch. I get:
"/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/gui_modules/prompt.py",
line 140, in __init__
self.dropdown = wx.PopupWindow(self)
File
"/Applications/GRASS-6.5.app/Contents/MacOS/etc/wxpython/wx/_windows.py",
line 1745, in __init__
_windows_.PopupWindow_swiginit(self,_windows_.new_PopupWindow(*args,
**kwargs))
NotImplementedError
this is due the recent attempt to implement interactive prompt for
wxGUI. I disabled this feature on Mac in r37421 (trunk) and r37422
(devbr6) since wx.PopupWindow is not available for this platform.
Martin
Working again, thanks.
PS, I updated build_ext.py and nviz/vdigit setup.py to handle OSX framework flags. I also added the GEOSCFLAGS to vdigit setup.py and vdigit runs without also adding GEOSLIBS, but I don't know about other systems. Still need GEOSLIBS in vlib.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."
"Don't you even hate 'em?"
"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."
<Ha, ha> "And it might give 'em all stomach ulcers."
- Tarzan, on war
Hi,
2009/5/24 William Kyngesburye <woklist@kyngchaos.com>:
[...]
without also adding GEOSLIBS, but I don't know about other systems. Still
need GEOSLIBS in vlib.
do you mean?
http://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/Vlib/Makefile#L5
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
Yes, but it's not in dev6 branch.
On May 24, 2009, at 1:29 PM, Martin Landa wrote:
Hi,
2009/5/24 William Kyngesburye <woklist@kyngchaos.com>:
[...]
without also adding GEOSLIBS, but I don't know about other systems. Still
need GEOSLIBS in vlib.
do you mean?
http://trac.osgeo.org/grass/browser/grass/trunk/lib/vector/Vlib/Makefile#L5
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Theory of the Universe
There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.
-Hitchhiker's Guide to the Galaxy 2nd season intro
Hi,
2009/5/24 William Kyngesburye <woklist@kyngchaos.com>:
Yes, but it's not in dev6 branch.
sorry, done in r37440.
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa