[bitbake-devel] [PATCH 1/2] bitbake: fix parse errors not being reported

Chris Larson clarson at kergoth.com
Thu Feb 23 16:14:16 UTC 2012


On Thu, Feb 23, 2012 at 8:42 AM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
>         except Exception as exc:
> -            etype, value, tb = sys.exc_info()
> -            logger.error('Unable to parse %s', value.recipe,
> -                         exc_info=(etype, value, exc.traceback))
> +            logger.error('Error during parsing %s: %s\n%s' % (exc.recipe, str(exc), ''.join(bb.exceptions.format_extracted(exc.traceback, limit=5))))

This seems odd to me. Is the UI not displaying the traceback when sent
to it via the exc_info? Half the point of coming up with the new
traceback format which is pickleable was to allow us to do exception
formatting in the UI.
-- 
Christopher Larson




More information about the bitbake-devel mailing list