Added error message about outdated iBoM

This commit is contained in:
Salvador E. Tropea 2022-05-06 13:01:18 -03:00
parent 99fa9bcbda
commit 8a3f808117
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ class IBoMOptions(VariantOptions):
logger.error('Failed to create BoM, error %d', e.returncode) logger.error('Failed to create BoM, error %d', e.returncode)
if e.output: if e.output:
logger.debug('Output from command: '+e.output.decode()) logger.debug('Output from command: '+e.output.decode())
if "'PCB_SHAPE' object has no attribute 'GetAngle'" in e.output:
logger.error("Update Interactive HTML BoM your version doesn't support KiCad 6 files")
exit(BOM_ERROR) exit(BOM_ERROR)
logger.debug('Output from command:\n'+cmd_output_dec+'\n') logger.debug('Output from command:\n'+cmd_output_dec+'\n')
if output: if output: