Open orangesandblast opened 3 months ago
So I looked through a few older github issues for clues, and the most relevant one to the original question seems to be deleting stored_setting.json so that it's remade when I restart the server. This does indeed allow me to restart the server without having to reinstall the entire conda environment. I'm not sure if this is intended, but the contents of stored_setting.json list a very large value for modelSlotIndex. It seems like having attempted to load a sample model (and as a result encountering an error) is saved in stored_setting.json and prevents the server from starting ever again until this file is deleted. (Clicking on "Clear setting" after reloading the page doesn't help.)
So it seems like my issue is not entirely separate from the one that causes loading the sample models to crash, so I will make a new issue for that soon. But, it still seems undesirable for a crash like this to brick the program until the settings file is deleted, so I don't think this issue should be closed either.
Voice Changer Version
v.1.5.3.18a ? (cloned from current repository as of this post)
Operational System
Gentoo Linux
GPU
Radeon RX 6700 XT
Read carefully and check the options
Model Type
MMVC
Issue Description
I assume that MMVC is the model type because that's in the filename of MMVCServerSIO.py.
Summary: The server starts properly the first time I install and run it. I can visit localhost with my browser and see the GUI, although I have a separate problem there that I will investigate further once I can resolve this issue. (sample models fail to load.) After I interrupt the server with Ctrl+C (and kill the python process if necessary), from then on if I restart the server then it seems to work normally according to the console, but the browser doesn't recognize the address, as if I weren't running the server. (ERR_CONNECTION_REFUSED.) This will also happen if I reboot my computer and immediately run the server: it still can't connect.
Details: As you can see in the log, there is an error message regarding to "fairseq," but that error is also in the log the first time I run the server after installation and the GUI works fine, so I'm not sure if that's directly related to this particular issue. Does the codepath that runs when it downloads files for the first time ignore the error, but not ignore it if the files already exist? If that's not related, then the console doesn't seem to give any clues to me as to why this is happening.
I followed the directions here: https://github.com/w-okada/voice-changer/blob/master/tutorials/tutorial_anaconda_amd_rocm.md When I create a new environment for the voice changer, activate it, install the dependencies, and start the server for the first time, it downloads some files and then works properly to some extent (I can at least see the GUI when I visit localhost, and hear my own voice with passthrough.) It doesn't load sample models properly, but I'm not sure if that's related.
After this first run after installation, further runs of the server seem to run without terminating, but visiting localhost in my browser does nothing. I tried reinstalling the conda environment and encountered the same issue: it works "properly" again one time and then never again, even after rebooting.
Application Screenshot
No response
Logs on console