Bug 7233 - Hello World fails with error AttributeError: 'SignatureGenerator' object has no attribute 'get_taskdata'
Summary: Hello World fails with error AttributeError: 'SignatureGenerator' object has ...
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-22 14:15 UTC by Aaron Luft
Modified: 2015-01-23 14:57 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Luft 2015-01-22 14:15:36 UTC
Following the Yocto provided bitbake example:
http://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html#obtaining-bitbake

The final step shows correct output, but instead my results are:

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/aluft/bitbake/bitbake/lib/bb/cooker.py", line 1326, in buildTargetsIdle(server=<ProcessServer(ProcessServer-1, started)>, rq=<bb.runqueue.RunQueue instance at 0x2d824d0>, abort=False):
                 try:
    >                retval = rq.execute_runqueue()
                 except runqueue.TaskFailure as exc:
  File "/home/aluft/bitbake/bitbake/lib/bb/runqueue.py", line 1094, in RunQueue.execute_runqueue():
             try:
    >            return self._execute_runqueue()
             except bb.runqueue.TaskFailure:
  File "/home/aluft/bitbake/bitbake/lib/bb/runqueue.py", line 1049, in RunQueue._execute_runqueue():
                 else:
    >                self.start_worker()
                     self.rqexe = RunQueueExecuteScenequeue(self)
  File "/home/aluft/bitbake/bitbake/lib/bb/runqueue.py", line 920, in RunQueue.start_worker():
             self.teardown = False
    >        self.worker, self.workerpipe = self._start_worker()
     
  File "/home/aluft/bitbake/bitbake/lib/bb/runqueue.py", line 882, in RunQueue._start_worker(fakeroot=False, rqexec=None):
                 "fakerootnoenv" : self.rqdata.dataCache.fakerootnoenv,
    >            "sigdata" : bb.parse.siggen.get_taskdata(),
                 "runq_hash" : self.rqdata.runq_hash,
AttributeError: 'SignatureGenerator' object has no attribute 'get_taskdata'
Comment 1 Richard Purdie 2015-01-23 14:40:22 UTC
Thanks for the report, this should be fixed with: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=745cebd635002618d7edd0a109ff07dd2953621a
Comment 2 Aaron Luft 2015-01-23 14:57:49 UTC
Confirmed, resolved and thank you.


$ 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
NOTE: Executing RunQueue Tasks
********************
*                  *
*  Hello, World!   *
*                  *
********************
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.