Skip to content

A couple of fixes to error handling v2

Paul Eggleton bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2bitbake: fix parse errors not being reportedbitbake/lib/bb/cooker.py+4 -60 replies
2/2bitbake: add file and line number to ParseErrorbitbake/lib/bb/cooker.py bitbake/lib/bb/parse/__init__.py bitbake/lib/bb/parse/ast.py +2 more+26 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] A couple of fixes to error handling v2

A couple of patches to fix/improve error handling during parsing.

Since v1, remove changes to general exception handling that weren't necessary and bypassed the ability for the UI to format the exception.

The patches (against poky, but apply cleanly with -p2 against bitbake master) are available at:
git://git.yoctoproject.org/poky-contrib paule/bitbake-errors2
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/bitbake-errors2

Paul Eggleton (2):
bitbake: fix parse errors not being reported
bitbake: add file and line number to ParseError

 bitbake/lib/bb/cooker.py                     |   12 +++++-------
 bitbake/lib/bb/parse/__init__.py             |   15 +++++++++++++--
 bitbake/lib/bb/parse/ast.py                  |    8 ++++----
 bitbake/lib/bb/parse/parse_py/BBHandler.py   |    6 ++----
 bitbake/lib/bb/parse/parse_py/ConfHandler.py |   11 ++++++-----
 5 files changed, 30 insertions(+), 22 deletions(-)
Signature · 1 line
1.7.5.4