On Sat, Aug 2, 2008 at 7:42 AM, Ed Leafe <[EMAIL PROTECTED]> wrote: > On Jul 30, 2008, at 5:59 PM, Nate Lowrie wrote: > >> Open CD, select "new class..." from the file menu. Select Page in the >> dialog. Get this traceback: >> > [snip] > >> File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx >> \dPage.py", li >> ne 71, in _getPagePosition >> ret = self.Parent.Pages.index(self) >> AttributeError: 'LayoutBasePanel' object has no attribute 'Pages' > > > Fixed. In the future, when you see something like this, it should be > obvious that the problem is that the try/except isn't catching the > AttributeError. When I removed the bare excepts, I added what I > thought was the most likely situation where an error was expected, and > in many places I couldn't think of all the possibilites. So if you see > something simple like this, where it is obvious what the problem is, > just fix and commit.
Works for me. Sorry I didn't take a look at this. I just didn't have time when I reported it. Nate L. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
