[Pyobjc-dev] re: SIGSEGVs
Brought to you by:
ronaldoussoren
From: Sean G. <se...@bl...> - 2003-08-16 19:35:43
|
Hello all, I have a project that has a few NSTableDataSource subclasses, and an NSOutlineViewDataSource, which is in an NSDrawer. I assign attributes to each of these views, some of which refer to each other, and their respective Views. Most of the time, I am getting SIGSEGVs. Sometimes, everything works fine, and I am able to get through a test session with my program. If I take all the View and DataSource code out, it all seems to work fine. Have any of you heard of something like this? Here is how I define my DataSources: class ProfileViewDataSource( NSObject, NSOutlineViewDataSource ): class DownloadViewDataSource( NSObject, NSTableDataSource, Job.JobListener, Job.JobSchedulerListener ): class DLQueueViewDataSource( NSObject, NSTableDataSource ): Here is the standard init( ) that I am using for these classes: def init( self ): self = super( ProfileViewDataSource, self ).init( ) #init code.. return self Thank you for your time, Sean |