Closed MercyfulKing closed 5 months ago
hmmmm okay could you show me the steps that you've done to get this error? so. I could reproduce the issue
I literally am just running the main.py and after it asks about downloading the new voice models it returns the error and closes. There was some info I found https://techoverflow.net/2021/02/06/how-to-fix-python-websocket-typeerror-__init__-missing-3-required-positional-arguments-environ-socket-and-rfile/ pip uninstall websocket pip install websocket-client but that didn't work either and returned the same error.
I feel like this the last hurdle and I can finally get this working. lol. The server thing runs and is open as well as vtube studio with allow allow plugins.
how did you solve it please share I think the websocket issue is what some of the users encounter as well
getting this error...and then the command window just closes
ERROR - Traceback (most recent call last): File "c:\Users\daf12\AIwaifu\AIwaifu\vtube_studio.py", line 126, in
waifu = Char_control()
File "c:\Users\daf12\AIwaifu\AIwaifu\vtube_studio.py", line 90, in init
super().init(plugin_name, plugin_developer, port)
File "c:\Users\daf12\AIwaifu\AIwaifu\vtube_studio.py", line 12, in init
self.websocket = websocket.WebSocket()
TypeError: WebSocket.init() missing 3 required positional arguments: 'environ', 'socket', and 'rfile'
CODE in vtube_studio.py class MBIS_vtube: def init(self, plugin_name="MyBitchIsAi", plugin_developer='HRNPH', port=8001): self.websocket = websocket.WebSocket() **this little mf right here needs something I'm guessing self.port = port self.plugin_name = plugin_name self.plugin_developer = plugin_developer self.auth_token = None