[yocto] dependency gui problem

Richard Purdie richard.purdie at linuxfoundation.org
Tue Jul 5 08:34:09 PDT 2011


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 suspect you were always parsing at least one file because you were
using linux-yocto. I have a "fix" pending for that issue as well as the
fix I've added to bitbake to address this specific problem.

Cheers,

Richard




More information about the yocto mailing list