Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] <title>./launcher.sh: line 246: cd: SillyTavern: No such file or directory</title> #65

Open
3 tasks done
LO7O7 opened this issue Jul 31, 2024 · 1 comment
Open
3 tasks done
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 🐧 Linux

Comments

@LO7O7
Copy link

LO7O7 commented Jul 31, 2024

Environment

🐧 Linux

System

OS : EndeavourOS x86_64 ;; Kernel : Linux 6.10.2-arch1-1 ;; WM : Hyprland (Wayland)

Describe the problem

After doing sh ./launcher.sh and selecting 1) start silly tavern
1️⃣ Minor issue :- the menu reappears again but it doesn't throw any error
2️⃣ Major issue :- after selecting 1) start silly tavern it throws the error ./launcher.sh: line 246: cd: SillyTavern: No such file or directory while it should start the start_sh function to start the shell script. BTW manually starting the start.sh script allows ST to run just fine.

Additional info

image

Please tick the boxes

@LO7O7 LO7O7 added the 🐛Bug [ISSUE] Ticket describing something that isn't working label Jul 31, 2024
@BruhDudeWew
Copy link

So after running bash -x, I've found out where it failed:

  1. The find_terminal() function doesn't work. It just returned x-terminal-emulator which I (and maybe you too doesn't have). I just make the function to return "konsole" since that's what I used and it worked.
  2. When it failed to launch due to missing x-terminal-emulator and you got thrown back to menu, the shell is still in the SillyTavern folder. That's why when it tried to cd back into SillyTavern again, it can't because it's already there.

I hope this help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 🐧 Linux
Projects
None yet
Development

No branches or pull requests

2 participants