From: "Aníbal Limón" <anibal.limon@linux.intel.com>
To: Patrick Ohly <patrick.ohly@intel.com>
Cc: yocto@yoctoproject.org, openembedded-core@lists.openembedded.org
Subject: Re: [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation
Date: Mon, 8 May 2017 10:14:25 -0500 [thread overview]
Message-ID: <59108B51.1000507@linux.intel.com> (raw)
In-Reply-To: <1494250575.4241.328.camel@intel.com>
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
On 05/08/2017 08:36 AM, Patrick Ohly wrote:
> 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
This code is based on kergoth ones from oe-tests-scripts [1], i forget
to include the definition sorry for that but only extends exception to
determine if there is a problem on parsing the layer conf.
Anibal
[1]
https://github.com/kergoth/oe-test-scripts/blob/726fef692c7464932c2ded0fab22a875df78a31f/bb-determine-layers#L111
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2017-05-08 15:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 21:12 [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation Aníbal Limón
2017-02-28 20:09 ` Patrick Ohly
2017-02-28 20:33 ` Aníbal Limón
2017-02-28 22:17 ` Patrick Ohly
2017-03-01 4:00 ` Richard Purdie
2017-03-01 7:10 ` Patrick Ohly
2017-03-01 15:12 ` Richard Purdie
2017-03-01 15:51 ` Patrick Ohly
2017-03-01 16:01 ` Richard Purdie
2017-03-01 16:47 ` Patrick Ohly
2017-05-08 13:36 ` Patrick Ohly
2017-05-08 15:14 ` Aníbal Limón [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=59108B51.1000507@linux.intel.com \
--to=anibal.limon@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=patrick.ohly@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox