[yocto] dependency gui problem

NiQingliang niqingliang at insigma.com.cn
Thu Jun 30 19:45:29 PDT 2011


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.gdk.threads_enter()
                pbar.update(progress_total, progress_total)
                gtk.gdk.threads_leave()
                continue
            .......
            if isinstance(event, bb.event.ParseCompleted):
                pbar.hide()
                continue

On Fri, 2011-07-01 at 09:47 +0800, NiQingliang wrote:
> 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 bitbake.
> 
> after manually closed gui, the shell output is like attachement.
> 
> and I tried like this:
> if I change some file in poky's recipes for the conf file, the
> "processing recipes" window will work normally, and I can see the
> progress bar
> rolling.
> 
> but if I issue the cmd second time, "loading cache" window will hang.
> 
> 
> On Fri, 2011-07-01 at 09:34 +0800, NiQingliang wrote:
> > 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 like attachement.
> >
> > and I tried like this:
> > if I change some file in poky's recipes for the conf file, the "loading
> > cache" window will work normally, and I can see the progress bar
> > rolling.
> >
> > but if I issue the cmd second time, it will hang.
> >
> >
> > On Fri, 2011-07-01 at 07:55 +0800, Saul Wold wrote:
> > > 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 running on
> > > ArchLinux, can you confirm which version of Python you are using and
> > > which version of Poky you have?
> > >
> > > You have to be using 2.6 or 2.7 Python.
> > >
> > > Sau!
> > >
> > > > On Thu, 2011-06-30 at 10:57 +0800, Cui, Dexuan wrote:
> > > >> 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 wrote:
> > > >>>> , 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?
> > > >>
> > > >> Thanks,
> > > >> -- Dexuan
> > > >
> >
> > --
> > 倪庆亮
> > TEL:    13588371863
> > E-MAIL: niqingliang at insigma.com.cn
> > BLOG:   http://niqingliang2003.wordpress.com
> >
> 
> --
> 倪庆亮
> TEL:    13588371863
> E-MAIL: niqingliang at insigma.com.cn
> BLOG:   http://niqingliang2003.wordpress.com
> 
> 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
倪庆亮
TEL:    13588371863
E-MAIL: niqingliang at insigma.com.cn
BLOG:   http://niqingliang2003.wordpress.com





More information about the yocto mailing list