On 16/08/17 15:42, Vuille, Martin (Martin) wrote:
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?

It's a bug, newer branches have a fix:

http://git.yoctoproject.org/clean/cgit.cgi/poky/commit/?id=62b521722ae72bc87d599719b400dab771154fa7
http://git.openembedded.org/openembedded-core/commit/?id=a675b2c89e477af088faee9b3be96eae19a85f0b

It would be nice to propose that patch as a backport to morty.

Thanks,

Joshua

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

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to