[GRASS-dev] Re: wx gui prompt not working in dev6?

William Kyngesburye woklist at kyngchaos.com
Sun May 24 11:29:38 EDT 2009


On May 24, 2009, at 9:01 AM, Martin Landa wrote:

> Hi,
>
> 2009/5/24 William Kyngesburye <woklist at 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



More information about the grass-dev mailing list