From: Robert Yang <liezhi.yang@windriver.com>
To: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>,
<bitbake-devel@lists.openembedded.org>
Subject: Re: AttributeError: 'SignatureGenerator' object has no attribute 'file_checksum_values'
Date: Mon, 30 Jun 2014 11:38:10 +0800 [thread overview]
Message-ID: <53B0DBA2.3010307@windriver.com> (raw)
In-Reply-To: <CAH=VbNfK1qPSY3bBK-T4S9PheUj-P+KLRZMS6ewWGZxkpET5JA@mail.gmail.com>
Hello,
What's version of bitbake are you using, please ?
$ bitbake --version
Have you set BB_SIGNATURE_HANDLER ? You can try to add:
BB_SIGNATURE_HANDLER = 'OEBasicHash'
to con/local.conf.
I think that this has been fixed even if you don't set the
BB_SIGNATURE_HANDLER which means 'noop' in the latest bitbake.
// Robert
On 06/29/2014 05:17 PM, Amit Chaudhuri wrote:
> Hi all,
>
> I am following the "Hello World" example from
> yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#the-hello-world-example.
>
> I have sourced the oe-init-build-env script.
>
> I get an error message when trying to execute the bitbake printhello
> command from my project dir. Command and output here:
>
> amit@linux-erag:~/hello> bitbake printhello
> Parsing recipes: 100%
> |##############################################################################################|
> Time: 00:00:00
> Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0
> skipped, 0 masked, 0 errors.
> NOTE: Resolving any missing task queue dependencies
> NOTE: Preparing runqueue
> ERROR: An uncaught exception occured in runqueue, please see the failure below:
> ERROR: Running idle function
> Traceback (most recent call last):
> File "/home/amit/poky/bitbake/lib/bb/cooker.py", line 1169, in
> buildTargetsIdle(server=<ProcessServer(ProcessServer-2, started)>,
> rq=<bb.runqueue.RunQueue instance at 0x1941050>, abort=False):
> try:
> > retval = rq.execute_runqueue()
> except runqueue.TaskFailure as exc:
> File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 1065, in
> RunQueue.execute_runqueue():
> try:
> > return self._execute_runqueue()
> except bb.runqueue.TaskFailure:
> File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 1020, in
> RunQueue._execute_runqueue():
> else:
> > self.start_worker()
> self.rqexe = RunQueueExecuteScenequeue(self)
> File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 898, in
> RunQueue.start_worker():
> self.teardown_workers()
> > self.worker, self.workerpipe = self._start_worker()
>
> File "/home/amit/poky/bitbake/lib/bb/runqueue.py", line 864, in
> RunQueue._start_worker(fakeroot=False, rqexec=None):
> "hash_deps" : self.rqdata.hash_deps,
> > "sigchecksums" : bb.parse.siggen.file_checksum_values,
> "runq_hash" : self.rqdata.runq_hash,
> AttributeError: 'SignatureGenerator' object has no attribute
> 'file_checksum_values'
>
> NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn't need to be
> rerun and all succeeded.
>
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>
> Bitbake version is:
>
> BitBake Build Tool Core version 1.20.0, bitbake version 1.20.0
>
> OS details:
>
> cat /etc/os-release
> NAME=openSUSE
> VERSION="13.1 (Bottle)"
> VERSION_ID="13.1"
> PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
> ID=opensuse
> ANSI_COLOR="0;32"
> CPE_NAME="cpe:/o:opensuse:opensuse:13.1"
> BUG_REPORT_URL="https://bugs.opensuse.org"
> HOME_URL="https://opensuse.org/"
> ID_LIKE="suse"
>
> The only difference I can see between example and my attempt is the
> layer name (testlayer vs mylayer) and I've checked that I am being
> consistent.
>
> The error message suggests to me that there's a versioning problem on
> the SignatureGenerator.
>
> Can anyone point me in the right direction here?
> Happy to provide additional info (e.g. strace).
>
> Regards,
> Amit
>
prev parent reply other threads:[~2014-06-30 3:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-29 9:17 AttributeError: 'SignatureGenerator' object has no attribute 'file_checksum_values' Amit Chaudhuri
2014-06-30 3:38 ` Robert Yang [this message]
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=53B0DBA2.3010307@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=amit.k.chaudhuri@gmail.com \
--cc=bitbake-devel@lists.openembedded.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.