<div dir="ltr">%s already converts the arguments to strings, last I checked. Am I missing someting here?<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 1:16 PM, Aníbal Limón <span dir="ltr"><<a href="mailto:anibal.limon@linux.intel.com" target="_blank">anibal.limon@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Richard,<br>
<br>
Sorry it was my mistake in my code because i'm loading a recipe file using bb.cache.Cache.loadDataFull<br>
passing an unicode filepath this causes the error but i think it need to be sanitized? to avoid this kind of<br>
problems.<br>
<br>
Cheers,<br>
alimon<div class="HOEnZb"><div class="h5"><br>
<br>
On 10/07/15 11:55, Richard Purdie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, 2015-07-10 at 11:44 -0500, Aníbal Limón wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When found an anonymous function the func name is made by filename<br>
and lineno, the filename need to be converted to string before using<br>
translation because produces an error of encoding.<br>
</blockquote>
Could you explain a little about why we don't hit this error in general?<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
</blockquote>
<br>
-- <br>
_______________________________________________<br>
bitbake-devel mailing list<br>
<a href="mailto:bitbake-devel@lists.openembedded.org" target="_blank">bitbake-devel@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/bitbake-devel" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/bitbake-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>