From: Tim L. <tl...@ve...> - 2003-04-04 20:22:29
|
> hanging in OnDirListingResults in gui.py -- an infinite loop in "while > cookie!=0" statement. Yes, cookie never goes to zero. If I force it to zero after the first iteration, the routine completes and the correct file system info is displayed. I can only conclude that the following statement does not work on the Mac OS X platform (cookie never changes): child,cookie=self.GetNextChild(item,cookie) Instead, I changed the loop completion test as follows: nc=self.GetChildrenCount(item,0) while nc>0: l.append(child) child,cookie=self.GetNextChild(item,cookie) nc-=1 With the above change one can now expand/contract the file directory info. But, there are some window refresh and update problems. Tim |