[yocto] dependency gui problem

Cui, Dexuan dexuan.cui at intel.com
Fri Jul 1 01:44:58 PDT 2011


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



More information about the yocto mailing list