Re: _init_coll_..._Items sizer problem

"Werner F. Bruhin" <[email protected]> Sat, 17 Oct 2009 08:55:47 +0200
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
mindy erbiznez wrote:
> Hi,
> I'm writing an GUI app that uses multiple nested notebooks each with 
> several sizers (~100) and each has a unique name.
> 
> When I attempt to use the frame designer the following exception is raised:
> Boa Error
> Exception: Collection body _init_coll_<mySizerName>_Items not in init, 
> body, fin form
> 
> It's possible for me to alter the name of this function and make the 
> exception go away for this particular sizer, only to have the same 
> exception referencing a different sizer.
> 
> I admit to adding (copy/paste) many of these sizers and related 
> functions by hand rather than using the frame designer, but they are all 
> added correctly (ie: the sizers work and the GUI looks right).
> 
> Is there some sort of meta-file that I'd need to alter to make the frame 
> designer function again.
No there is no meta-file, Boa uses the source code directly.

I am pretty sure that when you did the copy/paste you misnamed something 
and Boa can not find it anymore, it might still be valid Python code and 
might still work but if the code does not comply with the Boa naming 
standard then it will not work (this is only true for the generated 
section of the code).

Check the code again, if you can't find it attach it here and I will try 
and have a look.

Werner


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference