[bitbake-devel] [PATCH] parse/ast.py: MethodNode fix character mapping error

Christopher Larson clarson at kergoth.com
Fri Jul 10 20:21:05 UTC 2015


%s already converts the arguments to strings, last I checked. Am I missing
someting here?

On Fri, Jul 10, 2015 at 1:16 PM, Aníbal Limón <anibal.limon at linux.intel.com>
wrote:

> Hi Richard,
>
> Sorry it was my mistake in my code because i'm loading a recipe file using
> bb.cache.Cache.loadDataFull
> passing an unicode filepath this causes the error but i think it need to
> be sanitized? to avoid this kind of
> problems.
>
> Cheers,
>     alimon
>
>
> On 10/07/15 11:55, Richard Purdie wrote:
>
>> On Fri, 2015-07-10 at 11:44 -0500, Aníbal Limón wrote:
>>
>>> When found an anonymous function the func name is made by filename
>>> and lineno, the filename need to be converted to string before using
>>> translation because produces an error of encoding.
>>>
>> Could you explain a little about why we don't hit this error in general?
>>
>> Cheers,
>>
>> Richard
>>
>>
> --
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>



-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150710/efa23af0/attachment-0002.html>


More information about the bitbake-devel mailing list