path: root/ChangeLog
diff options
authorAníbal Limón <>2017-02-02 16:29:21 -0600
committerRichard Purdie <>2017-02-19 06:28:41 -0800
commit61ebe9a026652e32f9482f66fc3fe7a8672fc093 (patch)
tree3fb7135b62c8cc591881689b37920ab7a6374e03 /ChangeLog
parent52d87e4a58a52174e8e0b6297abaac8fd93ffcc3 (diff)
bitbake-layers: Handle exception raised bytinfoil.prepare()
The tinfoil.prepare method can raise Exceptions when is parsing initial data so add this call inside try, finally to avoid get blocked for don't call tinfoil.shutdown(). The tinfoil_init function was remove because isn't make sense now since tinfoil.prepare() needs to be inside try, finally closures. Example of raised exception and gets blocked: $ bitbake-layers add-layer ~/repos/meta-openembedded/meta-python/ Traceback (most recent call last): File "/home/alimon/repos/poky/bitbake/bin/bitbake-layers", line 83, in main tinfoil.prepare(True) ... File "/home/alimon/repos/poky/bitbake/lib/bb/", line 268, in run_command raise TinfoilCommandFailed(result[1]) bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last): File "/home/alimon/repos/poky/bitbake/lib/bb/", line 81, in runCommand result = command_method(self, commandline) ... File "/home/alimon/repos/poky/bitbake/lib/bb/", line 1314, in handleCollections raise CollectionError("Errors during parsing layer configuration") bb.cooker.CollectionError: Errors during parsing layer configuration Signed-off-by: Aníbal Limón <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions