From: NiQingliang <niqingliang@insigma.com.cn>
To: Saul Wold <sgw@linux.intel.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: dependency gui problem
Date: Fri, 1 Jul 2011 11:22:21 +0800 [thread overview]
Message-ID: <1309490541.25082.3.camel@localhost.localdomain> (raw)
In-Reply-To: <1309490029.25082.1.camel@localhost.localdomain>
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):
> 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 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@insigma.com.cn
> > > > BLOG: http://niqingliang2003.wordpress.com
> > > >
> > >
> > > --
> > > 倪庆亮
> > > TEL: 13588371863
> > > E-MAIL: niqingliang@insigma.com.cn
> > > BLOG: http://niqingliang2003.wordpress.com
> > >
> > >
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > 倪庆亮
> > TEL: 13588371863
> > E-MAIL: niqingliang@insigma.com.cn
> > BLOG: http://niqingliang2003.wordpress.com
> >
> >
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
> --
> 倪庆亮
> TEL: 13588371863
> E-MAIL: niqingliang@insigma.com.cn
> BLOG: http://niqingliang2003.wordpress.com
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
倪庆亮
TEL: 13588371863
E-MAIL: niqingliang@insigma.com.cn
BLOG: http://niqingliang2003.wordpress.com
next prev parent reply other threads:[~2011-07-01 3:19 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 2:12 dependency gui problem NiQingliang
2011-06-30 2:18 ` Cui, Dexuan
2011-06-30 2:29 ` NiQingliang
2011-06-30 2:57 ` Cui, Dexuan
2011-06-30 3:18 ` NiQingliang
2011-06-30 23:55 ` Saul Wold
2011-07-01 1:34 ` NiQingliang
2011-07-01 1:47 ` NiQingliang
2011-07-01 2:45 ` NiQingliang
2011-07-01 3:13 ` NiQingliang
2011-07-01 3:22 ` NiQingliang [this message]
2011-07-01 8:46 ` Cui, Dexuan
2011-07-01 8:44 ` Cui, Dexuan
2011-07-01 8:56 ` NiQingliang
2011-07-05 15:34 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309490541.25082.3.camel@localhost.localdomain \
--to=niqingliang@insigma.com.cn \
--cc=sgw@linux.intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.