All of lore.kernel.org
 help / color / mirror / Atom feed
* Where does the python print goes?
@ 2012-12-21  5:49 Biao
  2013-01-07 21:39 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Biao @ 2012-12-21  5:49 UTC (permalink / raw)
  To: bitbake-dev

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]

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


Best Regards,
Biao

[-- Attachment #2: Type: text/html, Size: 687 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where does the python print goes?
  2012-12-21  5:49 Where does the python print goes? Biao
@ 2013-01-07 21:39 ` Richard Purdie
  2013-01-08  2:30   ` Biao
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2013-01-07 21:39 UTC (permalink / raw)
  To: Biao; +Cc: bitbake-dev

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

Cheers,

Richard





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Where does the python print goes?
  2013-01-07 21:39 ` Richard Purdie
@ 2013-01-08  2:30   ` Biao
  0 siblings, 0 replies; 3+ messages in thread
From: Biao @ 2013-01-08  2:30 UTC (permalink / raw)
  To: Richard Purdie; +Cc: bitbake-dev

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]


At 2013-01-08 05:39:03,"Richard Purdie" <richard.purdie@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
>
>

[-- Attachment #2: Type: text/html, Size: 1502 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-08  3:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21  5:49 Where does the python print goes? Biao
2013-01-07 21:39 ` Richard Purdie
2013-01-08  2:30   ` Biao

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.