Received: from m13-70.163.com ([220.181.13.70]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TsPR4-00028q-QU for bitbake-devel@lists.openembedded.org; Tue, 08 Jan 2013 04:01:13 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Cc:Subject:In-Reply-To: References:Content-Type:MIME-Version:Message-ID; bh=q9mjYeYez0UI gyKFjcOSd3F1mAOlOlDt1t6KPfZ8c34=; b=FRWD7fJ7O6uZPSt8vNWkWMC9TRx7 3koaNcuf9a4U6YSgDmUdLC3X8TuMO3P3Kh/emgmyyigJtQw0JReA4xxa8+e6LCsx kmXPF19sZ1Vq32FxJEVosxrLKoyBT6k5yX0HQYyQiz7Buhs3u/8q1cs2yLGOE3ya 9kj0hRdMEKQ7jo4= Received: from huanmateme$163.com ( [61.148.56.138] ) by ajax-webmail-wmsvr70 (Coremail) ; Tue, 8 Jan 2013 10:30:33 +0800 (CST) X-Originating-IP: [61.148.56.138] Date: Tue, 8 Jan 2013 10:30:33 +0800 (CST) From: Biao To: "Richard Purdie" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20121219(21170.5156.5150) Copyright (c) 2002-2013 www.mailtech.cn 163com In-Reply-To: <1357594743.25855.46.camel@ted> References: <45483db.6a2c.13bbc028c57.Coremail.huanmateme@163.com> <1357594743.25855.46.camel@ted> MIME-Version: 1.0 Message-ID: X-CM-TRANSID: RsGowEAJT0LKhOtQRHkmAA--.5599W X-CM-SenderInfo: xkxd0z5dwhzvi6rwjhhfrp/xtbBiBGdgE9o6ya0PgABsl X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Cc: bitbake-dev Subject: Re: Where does the python print goes? X-BeenThere: bitbake-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2013 03:01:13 -0000 Content-Type: multipart/alternative; boundary="----=_Part_304486_560736562.1357612233978" ------=_Part_304486_560736562.1357612233978 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit At 2013-01-08 05:39:03,"Richard Purdie" 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 > > ------=_Part_304486_560736562.1357612233978 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit

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
>
>
------=_Part_304486_560736562.1357612233978--