Open titouan-loiseau opened 8 months ago
When starting renardo, the lib does not load the startup.py file, due to a wrong relative path setting.
Warning: '/home/user/.local/share/pipx/venvs/renardo/lib/python3.11/site-packages/renardo_lib/lib/Custom/startup.py' startup file not found.
Loading the custom file in renardo_lib/Custom/startup.py
Editing the file renardo_lib/Settings/__init__.py at the line 43 (remove the "/lib"):
renardo_lib/Settings/__init__.py
/lib
FOXDOT_STARTUP_PATH = os.path.realpath(FOXDOT_ROOT + "/Custom/startup.py")
Unsure if there is a more elegant way to do this, but this is useful for temporary fixing the issue
EDIT: typo
Definitively tackling this soon !
Issue
When starting renardo, the lib does not load the startup.py file, due to a wrong relative path setting.
Error
Expected behaviour
Loading the custom file in renardo_lib/Custom/startup.py
Fix
Editing the file
renardo_lib/Settings/__init__.py
at the line 43 (remove the "/lib
"):Unsure if there is a more elegant way to do this, but this is useful for temporary fixing the issue
EDIT: typo