[yocto] NotImplementedError from sanity check
Vuille, Martin (Martin)
vmartin at avaya.com
Wed Aug 16 07:42:22 PDT 2017
In the process of transitioning from Fido to Morty.
In the past, when sanity detected a version mismatch with some of
the configuration files (e.g., local.conf, bblayers.conf,) an error message
was displayed.
Now, we see the below, which I do not find very informative or helpful.
Is that a bug or intentional? Is there a way to get back the error message?
MV
ERROR: Execution of event handler 'config_reparse_eventhandler' failed
Traceback (most recent call last):
File "/home/platform/Workspace/dspgbase/poky/meta/classes/sanity.bbclass", line 1006, in config_reparse_eventhandler(e=<bb.event.ConfigParsed object at 0x7fc99cba1b00>):
python config_reparse_eventhandler() {
> sanity_check_conffiles(e.data)
}
File "/home/platform/Workspace/dspgbase/poky/meta/classes/sanity.bbclass", line 568, in sanity_check_conffiles(d=<bb.data_smart.DataSmart object at 0x7fc99d00f198>):
except NotImplementedError as e:
> bb.fatal(e)
d.setVar("BB_INVALIDCONF", True)
File "/home/platform/Workspace/dspgbase/poky/bitbake/lib/bb/__init__.py", line 103, in fatal:
def fatal(*args, **kwargs):
> mainlogger.critical(''.join(args), extra=kwargs)
raise BBHandledException()
TypeError: sequence item 0: expected str instance, NotImplementedError found
ERROR: Error parsing configuration files
Traceback (most recent call last):
File "/home/platform/Workspace/dspgbase/poky/bitbake/lib/bb/event.py", line 124, in fire_class_handlers(event=<bb.event.ConfigParsed object at 0x7fc99cba1b00>, d=<bb.data_smart.DataSmart object at 0x7fc99d00f198>):
continue
> execute_handler(name, handler, event, d)
File "/home/platform/Workspace/dspgbase/poky/bitbake/lib/bb/event.py", line 96, in execute_handler(name='config_reparse_eventhandler', handler=<function config_reparse_eventhandler at 0x7fc99cbd4a60>, event=<bb.event.ConfigParsed object at 0x7fc99cba1b00>, d=<bb.data_smart.DataSmart object at 0x7fc99d00f198>):
try:
> ret = handler(event)
except (bb.parse.SkipRecipe, bb.BBHandledException):
File "/home/platform/Workspace/dspgbase/poky/meta/classes/sanity.bbclass", line 1006, in config_reparse_eventhandler(e=<bb.event.ConfigParsed object at 0x7fc99cba1b00>):
python config_reparse_eventhandler() {
> sanity_check_conffiles(e.data)
}
File "/home/platform/Workspace/dspgbase/poky/meta/classes/sanity.bbclass", line 568, in sanity_check_conffiles(d=<bb.data_smart.DataSmart object at 0x7fc99d00f198>):
except NotImplementedError as e:
> bb.fatal(e)
d.setVar("BB_INVALIDCONF", True)
File "/home/platform/Workspace/dspgbase/poky/bitbake/lib/bb/__init__.py", line 103, in fatal:
def fatal(*args, **kwargs):
> mainlogger.critical(''.join(args), extra=kwargs)
raise BBHandledException()
TypeError: sequence item 0: expected str instance, NotImplementedError found
More information about the yocto
mailing list