AlizerUncaged / desktop-waifu

Desktop Waifu!
334 stars 49 forks source link

failure on start 'NoneType' object has no attribute 'send' #212

Open Petabuh opened 9 months ago

Petabuh commented 9 months ago

Exception in thread Thread-1 (): Traceback (most recent call last): File "C:\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "E:\waifu\desktop-waifu-master\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 85, in t = threading.Thread(target=lambda: loop.run_until_complete(start())) File "C:\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete return future.result() File "E:\waifu\desktop-waifu-master\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 58, in start process = await asyncio.create_subprocess_exec( File "C:\Python310\lib\asyncio\subprocess.py", line 218, in create_subprocess_exec transport, protocol = await loop.subprocess_exec( File "C:\Python310\lib\asyncio\base_events.py", line 1652, in subprocess_exec transport = await self._make_subprocess_transport( File "C:\Python310\lib\asyncio\windows_events.py", line 389, in _make_subprocess_transport transp = _WindowsSubprocessTransport(self, protocol, args, shell, File "C:\Python310\lib\asyncio\base_subprocess.py", line 36, in init self._start(args=args, shell=shell, stdin=stdin, stdout=stdout, File "C:\Python310\lib\asyncio\windows_events.py", line 885, in _start self._proc = windows_utils.Popen( File "C:\Python310\lib\asyncio\windows_utils.py", line 153, in init super().init(args, stdin=stdin_rfd, stdout=stdout_wfd, File "C:\Python310\lib\subprocess.py", line 966, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Python310\lib\subprocess.py", line 1435, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified Welcome back, to speak press RIGHT_CTRL. Connecting to VTube Studio! You (mic) >Authentication request sent to VTube Studio, please click allow. VTube Studio connected! at port 8001 You (mic) > Check, check, check. Traceback (most recent call last): File "E:\waifu\desktop-waifu-master\desktop-waifu-master\waifu\Src\runner.py", line 147, in utils.characterAi.send_message_to_process_via_websocket(transcript) File "E:\waifu\desktop-waifu-master\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 31, in send_message_to_process_via_websocket ws.send(message) AttributeError: 'NoneType' object has no attribute 'send' node js

Before i keep digging in to it wanted to check if anyone knew the solution here