[poky] Can't run HOB
Wang, Shane
shane.wang at intel.com
Tue Mar 20 06:18:06 PDT 2012
I suspect msg = "".
Can you add print(msg) at the beginning of the function? That's:
=========
def handler_command_failed_cb(self, handler, msg):
print(msg)
if msg:
lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog =
=========
--
Shane
Xu, Dongxiao wrote on 2012-03-20:
> On Mon, 2012-03-19 at 20:20 -0600, Gary Thomas wrote:
>> When I try HOB on my tree, it parses the metadata to around 57%
>> and then brings up what I guess is a warning (sadly, it only shows
>> an empty dialogue with an "OK" button). This seems to happen because
>> I have meta-ti in my bblayers.conf. I also have this statement in
>> my local.conf:
>> # Ignore troublesome TI recipes
>> BBMASK = ".*/meta-ti/recipes-misc/"
>> Maybe HOB is not honouring the BBMASK?
>
> Variables are still handled in bitbake server side, Hob only acts as a
> bridge between user and bitbake server.
>
> The phenomenon is strange since the code piece will detect if the error
> msg is None or not. If it is None, it will not pop up the error dialog.
>
> ===============================================================
> =
> def handler_command_failed_cb(self, handler, msg):
> if msg:
> lbl = "<b>Error</b>\n" lbl = lbl + "%s\n\n" % msg dialog =
> CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_WARNING)
> dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK) response =
> dialog.run() dialog.destroy()
> =============================================================== =
>
> What's does it do if you click the "OK" button?
>
> Thanks,
> Dongxiao
>
>>
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list