according my understanding, the parseXX serials events is used for
"parsing recipes" window, and the cacheXX serials events is used for
"loading cache" window. The two windows is mutual-excluded.

thanks!!!

I will ask the bitbake developer, and will show you if I got the answer.

On Fri, 2011-07-01 at 16:44 +0800, Cui, Dexuan wrote:
> NiQingliang wrote:
> > I have changed that code section, and solved my problem, but I don't
> > know if it is the right way.
> >
> >             if isinstance(event, bb.event.CacheLoadCompleted):
> >                  pbar.hide()
> >                  continue
> >             .......
> >             if isinstance(event, bb.event.ParseCompleted):
> >                  pbar.hide()
> >                  continue
> >
> > On Fri, 2011-07-01 at 10:45 +0800, NiQingliang wrote:
> >> I have looked the fiel depexp.py, and have some doubt:
> >>
> >> why in "ParseCompleted", the progress bar will hide, but in
> >> "CacheLoadCompleted", it will not???????
> I guess there should be a ParseCompleted event after the CacheLoadCompleted 
> event(?), but on your host, the ParseCompleted doesn't happen somehow?
> 
> I'm not sure your change is ok, because if it's a generic issue, why can't I 
> reproduce the issue?
> 
> >> I don't think these two events need different process.
> >>
> >>             if isinstance(event, bb.event.CacheLoadCompleted):
> >>                 gtk.gdk.threads_enter()
> >>                 pbar.update(progress_total, progress_total)
> >>                 gtk.gdk.threads_leave()
> >>                 continue
> >>             .......
> >>             if isinstance(event, bb.event.ParseCompleted):
> >>                 pbar.hide() continue
> >>
> 
> Thanks,
> -- Dexuan

-- 
倪庆亮
TEL:    13588371863
E-MAIL: [email protected]
BLOG:   http://niqingliang2003.wordpress.com


_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to