[bitbake-devel] Where does the python print goes?

Biao huanmateme at 163.com
Tue Jan 8 02:30:33 UTC 2013


At 2013-01-08 05:39:03,"Richard Purdie" <richard.purdie at linuxfoundation.org> wrote:
>On Fri, 2012-12-21 at 13:49 +0800, Biao wrote:
>> Hi All,
>> 
>> 
>> I have a task in a dum.bb file, after running the task with -vDDD, i
>> can not find where the "I am the python output" goes, it is not in the
>> terminal, not in the log file. Where does the sys.__stdout__.write
>> output to?
>> 
>> 
>> /*----code snap begins---*/
>> python do_dm2 () {
>>         import sys
>>         sys.__stdout__.write("I am the python output\n")
>> }
>> addtask dm2
>> /*----code snap ends---*/
>
>Logfile in ${T} ?

Thanks for your reply.
I tried to grep it in the whole tmp directory, it is not in any log file.
>
>Cheers,
>
>Richard
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20130108/0f1e42a1/attachment-0001.html>


More information about the bitbake-devel mailing list