From 8a3f808117a6c5d1af9c4f933a9c50f238b16b52 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 6 May 2022 13:01:18 -0300 Subject: [PATCH] Added error message about outdated iBoM --- kibot/out_ibom.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kibot/out_ibom.py b/kibot/out_ibom.py index f3a9826c..9d312ae8 100644 --- a/kibot/out_ibom.py +++ b/kibot/out_ibom.py @@ -189,6 +189,8 @@ class IBoMOptions(VariantOptions): logger.error('Failed to create BoM, error %d', e.returncode) if e.output: 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) logger.debug('Output from command:\n'+cmd_output_dec+'\n') if output: