Re: [Boa Constr] _init_coll_..._Items sizer problem
Status: Beta
Brought to you by:
riaan
|
From: Werner F. B. <wer...@fr...> - 2009-10-17 06:57:22
|
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 |