* Bitbake -c cleansstates error after the Poky "bitbake/msg.py: Drop manually created domain lists" patch
@ 2011-08-15 14:14 Samuel Stirtzel
2011-08-15 14:37 ` Samuel Stirtzel
0 siblings, 1 reply; 3+ messages in thread
From: Samuel Stirtzel @ 2011-08-15 14:14 UTC (permalink / raw)
To: yocto
Hi, after Richard Purdie dropped the domain stuff from bitbake/msg.py
I get error messages while running bitbake -c cleansstates.
The following error message shows up:
-
ERROR: Running idle function
Traceback (most recent call last):
File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/server/process.py",
line 122, in ProcessServer.idle_commands(delay=0.1):
try:
> retval = function(self, data, False)
if retval is False:
File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/cooker.py",
line 1062, in buildTargetsIdle(server=<ProcessServer(ProcessServer-1,
started)>, rq=<bb.runqueue.RunQueue instance at 0x9c3c560>,
abort=False):
try:
> retval = rq.execute_runqueue()
except runqueue.TaskFailure as exc:
File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/runqueue.py",
line 936, in RunQueue.execute_runqueue():
self.rqexe = RunQueueExecuteDummy(self)
> if self.rqdata.prepare() == 0:
self.state = runQueueComplete
File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/runqueue.py",
line 590, in RunQueueData.prepare():
if target[1] not in taskData.tasks_lookup[fnid]:
> bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s
does not exist for target %s" % (target[1], target[0]))
AttributeError: 'module' object has no attribute 'domain'
-
Seems like "bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s does not
exist for target %s" % (target[1], target[0]))" should be responsible
for the error.
Looks simple to fix, and I would write a patch, but I don't know the
code and have no idea where this message should be passed to.
Regards
Samuel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bitbake -c cleansstates error after the Poky "bitbake/msg.py: Drop manually created domain lists" patch
2011-08-15 14:14 Bitbake -c cleansstates error after the Poky "bitbake/msg.py: Drop manually created domain lists" patch Samuel Stirtzel
@ 2011-08-15 14:37 ` Samuel Stirtzel
2011-08-15 16:32 ` Richard Purdie
0 siblings, 1 reply; 3+ messages in thread
From: Samuel Stirtzel @ 2011-08-15 14:37 UTC (permalink / raw)
To: yocto
Sorry, I forgot to include the link to the patch:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89
2011/8/15 Samuel Stirtzel <s.stirtzel@googlemail.com>:
> Hi, after Richard Purdie dropped the domain stuff from bitbake/msg.py
> I get error messages while running bitbake -c cleansstates.
> The following error message shows up:
> -
> ERROR: Running idle function
> Traceback (most recent call last):
> File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/server/process.py",
> line 122, in ProcessServer.idle_commands(delay=0.1):
> try:
> > retval = function(self, data, False)
> if retval is False:
> File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> line 1062, in buildTargetsIdle(server=<ProcessServer(ProcessServer-1,
> started)>, rq=<bb.runqueue.RunQueue instance at 0x9c3c560>,
> abort=False):
> try:
> > retval = rq.execute_runqueue()
> except runqueue.TaskFailure as exc:
> File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/runqueue.py",
> line 936, in RunQueue.execute_runqueue():
> self.rqexe = RunQueueExecuteDummy(self)
> > if self.rqdata.prepare() == 0:
> self.state = runQueueComplete
> File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/runqueue.py",
> line 590, in RunQueueData.prepare():
> if target[1] not in taskData.tasks_lookup[fnid]:
> > bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s
> does not exist for target %s" % (target[1], target[0]))
>
> AttributeError: 'module' object has no attribute 'domain'
> -
> Seems like "bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s does not
> exist for target %s" % (target[1], target[0]))" should be responsible
> for the error.
> Looks simple to fix, and I would write a patch, but I don't know the
> code and have no idea where this message should be passed to.
>
>
>
> Regards
> Samuel
>
Regards
Samuel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bitbake -c cleansstates error after the Poky "bitbake/msg.py: Drop manually created domain lists" patch
2011-08-15 14:37 ` Samuel Stirtzel
@ 2011-08-15 16:32 ` Richard Purdie
0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-15 16:32 UTC (permalink / raw)
To: Samuel Stirtzel; +Cc: yocto
On Mon, 2011-08-15 at 16:37 +0200, Samuel Stirtzel wrote:
> Sorry, I forgot to include the link to the patch:
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=a6c48298b17e6a5844b3638b422fe226e3b67b89
>
> 2011/8/15 Samuel Stirtzel <s.stirtzel@googlemail.com>:
> > Hi, after Richard Purdie dropped the domain stuff from bitbake/msg.py
> > I get error messages while running bitbake -c cleansstates.
> > The following error message shows up:
> > -
> > ERROR: Running idle function
> > Traceback (most recent call last):
> > File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/server/process.py",
> > line 122, in ProcessServer.idle_commands(delay=0.1):
> > try:
> > > retval = function(self, data, False)
> > if retval is False:
> > File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/cooker.py",
> > line 1062, in buildTargetsIdle(server=<ProcessServer(ProcessServer-1,
> > started)>, rq=<bb.runqueue.RunQueue instance at 0x9c3c560>,
> > abort=False):
> > try:
> > > retval = rq.execute_runqueue()
> > except runqueue.TaskFailure as exc:
> > File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/runqueue.py",
> > line 936, in RunQueue.execute_runqueue():
> > self.rqexe = RunQueueExecuteDummy(self)
> > > if self.rqdata.prepare() == 0:
> > self.state = runQueueComplete
> > File "/var/oe-core/setup-scripts/sources/bitbake/lib/bb/runqueue.py",
> > line 590, in RunQueueData.prepare():
> > if target[1] not in taskData.tasks_lookup[fnid]:
> > > bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s
> > does not exist for target %s" % (target[1], target[0]))
> >
> > AttributeError: 'module' object has no attribute 'domain'
> > -
> > Seems like "bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s does not
> > exist for target %s" % (target[1], target[0]))" should be responsible
> > for the error.
> > Looks simple to fix, and I would write a patch, but I don't know the
> > code and have no idea where this message should be passed to.
Sorry about that, there are fixes in the appropriate places now.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-15 16:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 14:14 Bitbake -c cleansstates error after the Poky "bitbake/msg.py: Drop manually created domain lists" patch Samuel Stirtzel
2011-08-15 14:37 ` Samuel Stirtzel
2011-08-15 16:32 ` Richard Purdie
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.