On Tue, 9 Oct 2007 21:58:53 +0100, Bill Bedford wrote:
> On Tue, 9 Oct 2007 12:50:43 -0400, Ed Leafe wrote:
>>      OK, so you get the context menu, make a selection, and before  
>> anything else shows up, there is a delay and then a segfault. Here's  
>> a quick and dirty way of finding out where in the process it's  
>> getting hosed: replace ClassDesignerFormMixin.onRunLayoutWiz() with  
>> the following:
> 
> I tried your code and got this
> 
> [stratford:~/Python/daboide] billbedf% python ClassDesigner.py
> Dabo Info Log: Tue Oct  9 21:37:01 2007: 1 database connection 
> definition(s) loaded.
> Dabo Info Log: Tue Oct  9 21:37:01 2007: User interface already set to 
> 'wx', so dApp didn't touch it.
> Dabo Info Log: Tue Oct  9 21:37:01 2007: wxPython Version: 2.8.4.2 
> wxMac (unicode)

I've up graded to dabo .82 but still get a bus error when I select 'Add 
Controls from Data Environment'. I played around with Pdb yesterday and 
got this traceback. I don't know if it will help.

append p <class 'wizards.QuickLayoutWizard.PgConnectionSelect'>
append p <class 'wizards.QuickLayoutWizard.PgSelect'>
> 
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Dabo-0.8.2-py2.5.egg/dabo/ui/uiwx/dListControl.py(409)sort()
-> self.SortItems(sortFunction)
(Pdb) s
--Call--
> 
//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_controls.py(4816)SortItems()
-> def SortItems(*args, **kwargs):
(Pdb) a
args = (<dListControl (baseclass dabo.ui.dListControl, id:-1474)>, 
<bound method dListControl._listControlSort of <dListControl (baseclass 
dabo.ui.dListControl, id:-1474)>>)
kwargs = {}
(Pdb) s
> 
//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_controls.py(4818)SortItems()
-> return _controls_.ListCtrl_SortItems(*args, **kwargs)
(Pdb) s
Bus error

-- 
Bill Bedford

"Nothing is as important as model railways and even that isn't very 
important" 

-some wiseguy somewhere 


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to