Re: [yocto] dependency gui problem

2011-07-05 Thread Richard Purdie
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() > >

Re: [yocto] dependency gui problem

2011-07-01 Thread NiQingliang
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-0

Re: [yocto] dependency gui problem

2011-07-01 Thread Cui, Dexuan
NiQingliang wrote: > I have not found the email adress of bitbake's developer, does anyone > know? It is bitbake-devel mailing list bitbake-de...@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/bitbake-devel Thanks, -- Dexuan

Re: [yocto] dependency gui problem

2011-07-01 Thread Cui, Dexuan
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(e

Re: [yocto] dependency gui problem

2011-06-30 Thread NiQingliang
I have not found the email adress of bitbake's developer, does anyone know? On Fri, 2011-07-01 at 11:13 +0800, 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)

Re: [yocto] dependency gui problem

2011-06-30 Thread NiQingliang
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):

Re: [yocto] dependency gui problem

2011-06-30 Thread NiQingliang
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 don't think these two events need different process. if isinstance(event, bb.event.CacheLoadCompleted): gtk.gd

Re: [yocto] dependency gui problem

2011-06-30 Thread NiQingliang
Oh, sorry, I have fixed some bug in my description:-) I'm using python2.7 I have setup a new file named "python" in build dir, whose content like that: #!/bin/bash /usr/bin/env python2 $@ and add the build dir in env var "PATH". If the python version error, I don't think I can see the GUI of bi

Re: [yocto] dependency gui problem

2011-06-30 Thread NiQingliang
I'm using python2.7 I have setup a new file named "python" in build dir, whose content like that: #!/bin/bash /usr/bin/env python2 $@ and add the build dir in env var "PATH". If the python version error, I don't think I can see the GUI of bitbake. after manually closed gui, the shell output is

Re: [yocto] dependency gui problem

2011-06-30 Thread Saul Wold
On 06/29/2011 08:18 PM, NiQingliang wrote: I have added "-DDD -v", after close window "loading cache" manually, the bitbake exited, and then I can see some DEBUG info on shell, but there is no clue. how to dig out where it hangs:-( Can you capture the log and send it. I noticed you are runni

Re: [yocto] dependency gui problem

2011-06-29 Thread NiQingliang
I have added "-DDD -v", after close window "loading cache" manually, the bitbake exited, and then I can see some DEBUG info on shell, but there is no clue. how to dig out where it hangs:-( On Thu, 2011-06-30 at 10:57 +0800, Cui, Dexuan wrote: > NiQingliang wrote: > > once builded, is after execut

Re: [yocto] dependency gui problem

2011-06-29 Thread Cui, Dexuan
NiQingliang wrote: > once builded, is after executed "bitbake core-image-minimal" and > generated the final image. I tried that just now on recent poky.git's master branch but can't reproduce the issue. :-( You may need to dig out where it hangs... > On Thu, 2011-06-30 at 10:18 +0800, Cui, Dexuan

Re: [yocto] dependency gui problem

2011-06-29 Thread NiQingliang
once builded, is after executed "bitbake core-image-minimal" and generated the final image. On Thu, 2011-06-30 at 10:18 +0800, Cui, Dexuan wrote: > , and set env, follow cmd works normally. > > bitbake -g -u depexp core-image-minimal > > > > but once builded, the cmd works abnormal, the symptom li

Re: [yocto] dependency gui problem

2011-06-29 Thread Cui, Dexuan
NiQingliang wrote: > after make build dir, and set env, follow cmd works normally. > bitbake -g -u depexp core-image-minimal > > but once builded, the cmd works abnormal, the symptom like that: What does "once builded" mean? > the "loading cache" window goes 100% quickly, but after that, the > wi

[yocto] dependency gui problem

2011-06-29 Thread NiQingliang
help thanks! after make build dir, and set env, follow cmd works normally. bitbake -g -u depexp core-image-minimal but once builded, the cmd works abnormal, the symptom like that: the "loading cache" window goes 100% quickly, but after that, the window always be there, and the parent wind