Variable CONDA_PATH
is uninitialized
#28
Labels
🚏 Awaiting User Response
[ISSUE] Response from original author is pending
🐛Bug
[ISSUE] Ticket describing something that isn't working
🧑💻 In Progress
[ISSUE] Assigned to an issue that is curretly being worked on
❕ Medium Priority
[ISSUE] Needs to be dealt with at some point
OS: Linux (Ubuntu 23.10)
If variable
CONDA_PATH
is set, then it is checked if path is (correct)[https://github.com/SillyTavern/SillyTavern-Launcher/blob/8ec79f07837932ebe123e9b4f68ef251b303672b/install.sh#L82].But if the variable is not set, then there is an error when installing conda. The first error comes from miniconda installer. The error complain about missing argument for
-p
.As a workaround, I changed code to this:
I think that another bad thing is not aborting when something goes wrong. For example, an error when installing
conda
does not stop further processing, which results in another errors. I propose settingset -e
flag. Or at least manually check errors. This is important especially when a console is cleaned, because then no error is seen by the user. WARNING: there will be more errors from command likegit
(for already cloned repos),mkdir
(xtts
folder is created at two places), etc.After successful
conda
installation, the next error isminiconda_path
. Probably this should be changed toCONDA_PATH
. Maybe this is related tolauncher.sh
, but the docs say thatinstall.sh
script should be run first.Also, as far as I know
git
remember executable flag, so maybe these permissions should be added to git instead of explicitly in the run command (readme:chmod +x install.sh && ./install.sh
). Actually,install.sh
script has already this permission, butlauncher.sh
is missing that.The text was updated successfully, but these errors were encountered: