Re: [Boa Constr] KeyError: 'ms' in Designer
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2006-09-06 09:47:36
|
Hi Tim, Tim Black wrote: > Werner or others on the list, > > I'm getting the error in the attached 'log.txt' when I start a Designer > session with the attached *.py file. I believe I've left the > Boa-generated code untouched, but expect this kind of error is caused by > my changing the generated code. Any ideas what might be causing the error? I'm not sure what the root cause is for this issue but from the generated code it seems self.boxSizerCSSImagesDisplay was renamed to self.boxSizerDisplayCSSandImages but the collection method was not renamed. (I cannot reproduce this) So to get your code working again change line 125 from: self._init_coll_boxSizerCSSImagesDisplay_Items(self.boxSizerDisplayCSSandImages) to self._init_coll_boxSizerDisplayCSSandImages_Items(self.boxSizerDisplayCSSandImages) and also change: def _init_coll_boxSizerCSSImagesDisplay_Items ... to self._init_coll_boxSizerDisplayCSSandImages_Items ... If you figure out the steps to reproduce the problem, please send me a note. Cheers, Riaan. |