From b8f8ed53bd36ed2df5199490da7308d8c8154b1d Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 17 Jun 2020 15:34:43 -0300 Subject: [PATCH] Added a mechanism to avoid problems with ibom This new mechanism should be accepted in the upstream. So we will be able to use unpatched ibom. --- kiplot/kiplot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kiplot/kiplot.py b/kiplot/kiplot.py index 29044fee..fcc35779 100644 --- a/kiplot/kiplot.py +++ b/kiplot/kiplot.py @@ -708,6 +708,8 @@ class Plotter(object): check_script(misc.CMD_IBOM, misc.URL_IBOM) prj = os.path.splitext(os.path.relpath(brd_file))[0] logger.debug('Doing Interactive BoM, prj: '+prj) + # Tell ibom we don't want to use the screen + os.environ['INTERACTIVE_HTML_BOM_NO_DISPLAY'] = '' cmd = [misc.CMD_IBOM, brd_file, '--dest-dir', output_dir, '--no-browser', ]