mirror of
https://github.com/SillyTavern/SillyTavern-Launcher.git
synced 2026-11-05 00:27:39 +00:00
[GH-ISSUE #29] Cannot launch start SillyTavern with Extras #8
Labels
No labels
🚏 Awaiting User Response
🐛Bug
🐛Bug
🐛Bug
🦄 Feature Request
✅ Fixed
✅ Fixed
👩💻 Good First Issue
‼️ High Priority
🧑💻 In Progress
🐧 Linux
🐧 Linux
💤 Low Priority
🍎 Mac
❕ Medium Priority
pull-request
🪟 Windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SillyTavern/SillyTavern-Launcher#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ostr00000 on GitHub (Dec 28, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/29
Originally assigned to: @Frityet on GitHub.
OS: Linux (Ubuntu 23.10)
I believe that this code is incorrect:
github.com/SillyTavern/SillyTavern-Launcher@8ec79f0783/launcher.sh (L287-L288)According to
bashmanual,execwill replace current shell with specified subcommand.This will only launch the first of these commands.
Not sure about all the supported terminals, but in case of
konsolethere is an error:"Could not find binary: " "cd".This is probably because
konsoletry to run specified command exactly as a new program. There is also used bash syntax (&&), so it should be wrapped inbashcaommnad.Also, probably the path is wrong. In my case, this command is run:
konsole -e 'bash -c '\''cd [...]/SillyTavern-Launcher./SillyTavern && ./start.sh'\'''(Note unnecessary.character afterLauncherword).I used this code as a workaround:
In
SillyTavern-extrasproject, there are missing execute permissions forstart.shfile. This may be fixed by launcher or maybe bettor to report and fix in that project?Script
start.shinSillyTavern-extrasshould use exactly the samecondaenvironment which was configured in launcher (install.sh). According to code in https://github.com/SillyTavern/SillyTavern-Extras/blob/main/start.sh this is configured by setting$CONDA_PATHenvironment variable. This should be done inlaucher.sh.@Frityet commented on GitHub (Jan 1, 2024):
I had considered this while rewriting the conda finding code, but the issue is that I am not sure if
$CONDA_PATHis something that is already used/standard and so would be detected with other programmes, so having the installer have a side effect of setting that could be malicious@ostr00000 commented on GitHub (Jan 1, 2024):
That reasonable concern.
But from
install.shI deduced thatCONDA_PATHvariable is mandatory (otherwise if variable is not set, there are errors, see #28).start.sh.conda), theninstall.shneeds to be refactored a bit, to check ifcondais used either from:a) environment variable,
b) detected existing
condainstallation by script,c)
minicondainstalled locally byinstall.shscript (this is my case, I do not havecondainstalled neither for system nor for user).This is how I image a perfect launcher: "run
install.sh, thenstart.sh". At this moment, support for 2.c) is missing.Or maybe
README.mdneeds a little adjustment?I think that this may work: "If conda is not detected by install script, you must set environment variable
CONDA_PATHpointing to existing conda installation. If conda is not installed at all, you must setCONDA_PATHpointing to directory where conda installation will be placed".But I personally prefer this to be done with minimal user interaction. For example: conda installation may have default path
[...]/SillyTavern-Launcher/miniconda/, and if this is dir is detected, then this conda is used forSillyTavernlaunchers. What you think about that solution?@deffcolony commented on GitHub (Mar 30, 2025):
extras is discontinued: