[OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

Patrick Ohly patrick.ohly at intel.com
Mon May 8 13:36:15 UTC 2017


On Mon, 2017-02-20 at 15:12 -0600, Aníbal Limón wrote:
> +    try:
> +        ldata = bb.parse.handle(lconf, ldata, include=True)
> +    except BaseException as exc:
> +        raise LayerError(exc)

Anibal, where is this LayerError class in compatlayer/__init__.py
supposed to come from? It doesn't get imported, leading to:

  File
"/fast/work/intel-iot-refkit/openembedded-core/scripts/lib/compatlayer/__init__.py", line 45, in _get_layer_collections
    raise LayerError(exc)
NameError: name 'LayerError' is not defined

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.






More information about the Openembedded-core mailing list