Skip to content

[BUG] SillyTavern - extras does not work or reinstall properly #6

@cyberkoala

Description

@cyberkoala

Environment

Windows

Describe the problem

So i've gone down this path three times, behavior was identical each time. It probably is something off in my environment, but the effect is pretty annoying as these things go, as it ultimately wipes my entire install.

Install sillytavern plus extras via the bat. Goes through the apparent install, There's a couple errors i see but it looks like it installs everything it has winget errors for. I understand the numpy issue, but figure that if i'm not using TTS it should still at least launch the extras server for anything else.

Failed in attempting to update the source: winget
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing
[ 9:10:58.48] [INFO] Installing Microsoft.VCRedist.2015+.x86...
Failed in attempting to update the source: winget
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing

No packages were found among the working sources.
[ 9:11:02.11] [INFO] Installing vs_BuildTools...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 3860k  100 3860k    0     0  3423k      0  0:00:01  0:00:01 --:--:-- 3423k
[ 9:11:03.45] [INFO] Installing Miniconda...
Failed in attempting to update the source: winget
Failed when searching source: winget
An unexpected error occurred while executing the command:
0x8a15000f : Data required by the source is missing

[ 9:11:07.24] [INFO] Activating Conda environment extras...
'conda' is not recognized as an internal or external command,
operable program or batch file.
[ 9:11:07.25] [ERROR] Failed to activate Conda environment extras.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tts 0.21.3 requires numpy==1.22.0; python_version <= "3.10", but you have numpy 1.26.2 which is incompatible.

[ 9:19:40.48] [ERROR] Failed to activate Conda environment extras.

[ 9:19:40.48] [ERROR] Failed to activate Conda environment extras.
'stall' is not recognized as an internal or external command,
operable program or batch file.
'ate.bat"' is not recognized as an internal or external command,
operable program or batch file.
'XTTS' is not recognized as an internal or external command,
operable program or batch file.
'e_bgtimeresetblue_fg_strongreset' is not recognized as an internal or external command,
operable program or batch file.
'.bat"' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the batch label specified - install_st_extras
'-------' is not recognized as an internal or external command,
operable program or batch file.
'' is not recognized as an internal or external command,
operable program or batch file.
'fg_strongresetgreen_fg_strongreset' is not recognized as an internal or external command,
operable program or batch file.
'loning' is not recognized as an internal or external command,
operable program or batch file.
'id' is not recognized as an internal or external command,
operable program or batch file.
'blue_fg_strongreset' is not recognized as an internal or external command,
operable program or batch file.
'e' is not recognized as an internal or external command,
operable program or batch file.
'p' is not recognized as an internal or external command,
operable program or batch file.
'timeresetblue_fg_strongreset' is not recognized as an internal or external command,
operable program or batch file.
'xtras' is not recognized as an internal or external command,
operable program or batch file.
[ 9:19:40.57] [ERROR] Failed to activate Conda environment extras.
'stall' is not recognized as an internal or external command,
operable program or batch file.
'ate.bat"' is not recognized as an internal or external command,
operable program or batch file.
'XTTS' is not recognized as an internal or external command,
operable program or batch file.
'e_bgtimeresetblue_fg_strongreset' is not recognized as an internal or external command,
operable program or batch file.
'.bat"' is not recognized as an internal or external command,
operable program or batch file.

ArgumentError: activate does not accept more than one argument:
['the', 'xtts', 'environment']

Launch ST+ extras. three command windows launch, ST is useable. the extras API is not. In it's cmd window, it's giving me the following error: in the st window

EnvironmentNameNotFound: Could not find conda environment: extras
You can list all discoverable environments with conda info --envs.
and in the extra's CMD window:
Traceback (most recent call last):
File "C:\Users\corey\Downloads\sillytavern\SillyTavern-extras\server.py", line 2, in
from flask import (
ModuleNotFoundError: No module named 'flask'

So this doesn't seem related to any of the error messages in the install log
Not really sure what else i can do to correct the error, i go back to the st-launch toolbox, and there's an option to just 'reinstall extras'. I select that. It runs, but encounters an error- and apparently removes the entire sillytavern install, not just the extras, and then crashes.


-------------------------------------
What would you like to do?
1. Install 7-Zip
2. Install FFmpeg
3. Install Node.js
4. Edit Environment
5. Edit Extras Modules
6. Reinstall SillyTavern
7. Reinstall Extras
8. Uninstall SillyTavern + Extras
9. Back to Home
Choose Your Destiny: 7
'ata' is not recognized as an internal or external command,
operable program or batch file.
'/N]' is not recognized as an internal or external command,
operable program or batch file.
'SillyTavern-extras.git' is not recognized as an internal or external command,
operable program or batch file.
[ 9:31:22.27] [INFO] Installing Extras...
'ease' is not recognized as an internal or external command,
operable program or batch file.
'--add' is not recognized as an internal or external command,
operable program or batch file.
'Miniconda' is not recognized as an internal or external command,
operable program or batch file.
'ment' is not recognized as an internal or external command,
operable program or batch file.
'e' is not recognized as an internal or external command,
operable program or batch file.
'from' is not recognized as an internal or external command,
operable program or batch file.
'quirements' is not recognized as an internal or external command,
operable program or batch file.
'te' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
's' is not recognized as an internal or external command,
operable program or batch file.
'api-server' is not recognized as an internal or external command,
operable program or batch file.
'g_strongreset' is not recognized as an internal or external command,
operable program or batch file.
'a' is not recognized as an internal or external command,
operable program or batch file.
'before' is not recognized as an internal or external command,
operable program or batch file.
'XTTS' is not recognized as an internal or external command,
operable program or batch file.
'═══════════════════════════════════════════════════════════════════════════╝' is not recognized as an internal or external command,
operable program or batch file.

Expected behavior: if a conflict or missing package keep extras from installing, provide more clear feedback to the user at the end of the process. If this is due to the numpy package, maybe a break there saying 'before you move forward, please downgrade to'

If needing to reinstall just the extras package- it should not delete the entire directory, or should at least warn users that these options are destructive to existing data/installs.

Additional info

No response

Please tick the boxes

Metadata

Metadata

Assignees

Labels

🐛 Bug[ISSUE] Ticket describing something that isn't working🚏 Awaiting User Response[ISSUE] Response from original author is pending

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions