From aa91f460b441774ab7cfb012f66932a4abdbde2a Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 12 Dec 2022 14:09:30 +1100 Subject: [PATCH] Add a bunch more debug info --- InvenTree/InvenTree/config.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/InvenTree/InvenTree/config.py b/InvenTree/InvenTree/config.py index 27722435f3..fe9a4e4914 100644 --- a/InvenTree/InvenTree/config.py +++ b/InvenTree/InvenTree/config.py @@ -59,6 +59,13 @@ def get_config_file(create=True) -> Path: def load_config_data() -> map: """Load configuration data from the config file.""" + import sys + + print("load_config_data()") + print("- cwd:", os.getcwd()) + print("- exe:", sys.executable) + print("- path:", sys.path) + import yaml cfg_file = get_config_file()