[poky] Can't run HOB

Gary Thomas gary at mlbassoc.com
Tue Mar 20 11:42:53 PDT 2012


On 2012-03-20 07:18, Wang, Shane wrote:
> 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 =
> =========

Message attached (it's big).

Note: this setup (my metadata + meta-ti + yocto core) builds images just fine.

> 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
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hob.err
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20120320/dd5fcbb3/attachment.ksh>


More information about the poky mailing list