When I open badger on my local linux machine without an existing config file in default location, it prompts me to "Fix issues" and generates a default config file.
If I type y and enter to use the default values, it seems to default to using my Badger repo's root dir for path-values in the config file (ex: /home/nolan/repos/Badger)
But then if I try to open badger with these default settings, it crashes with error:
Traceback (most recent call last):
File "/home/nolan/miniforge3/envs/badger-env/bin/badger", line 7, in <module>
sys.exit(main())
^^^^^^
File "/home/nolan/repos/Badger/src/badger/__main__.py", line 141, in main
args.func(args)
File "/home/nolan/repos/Badger/src/badger/actions/__init__.py", line 16, in show_info
launch_gui(config_path)
File "/home/nolan/repos/Badger/src/badger/gui/__init__.py", line 115, in launch_gui
window = BadgerMainWindow()
^^^^^^^^^^^^^^^^^^
File "/home/nolan/repos/Badger/src/badger/gui/windows/main_window.py", line 22, in __init__
self.init_ui()
File "/home/nolan/repos/Badger/src/badger/gui/windows/main_window.py", line 84, in init_ui
self.home_page = BadgerHomePage(self.process_manager)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/nolan/repos/Badger/src/badger/gui/pages/home_page.py", line 88, in __init__
self.load_all_runs()
File "/home/nolan/repos/Badger/src/badger/gui/pages/home_page.py", line 288, in load_all_runs
self.history_browser.updateItems(runs)
File "/home/nolan/repos/Badger/src/badger/gui/components/navigators.py", line 143, in updateItems
runs_dict = run_names_to_dict(runs)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/nolan/repos/Badger/src/badger/utils.py", line 216, in run_names_to_dict
year = tokens[1]
~~~~~~^^^
IndexError: list index out of range
But Badger can open if I set all these config-file paths to a different folder location outside of the Badger repo,
except to get Badger to load the example environments, I need to set BADGER_PLUGIN_ROOT: to the plugins folder in Badger repo (ex: /home/nolan/repos/Badger/src/badger/tests/mock/plugins).
This should be set by default or explained in the docs.
When I open badger on my local linux machine without an existing config file in default location, it prompts me to "Fix issues" and generates a default config file.
If I type
yandenterto use the default values, it seems to default to using my Badger repo's root dir for path-values in the config file (ex:/home/nolan/repos/Badger)But then if I try to open badger with these default settings, it crashes with error:
But Badger can open if I set all these config-file paths to a different folder location outside of the Badger repo,
except to get Badger to load the example environments, I need to set
BADGER_PLUGIN_ROOT:to the plugins folder in Badger repo (ex:/home/nolan/repos/Badger/src/badger/tests/mock/plugins).This should be set by default or explained in the docs.