desktop-waifu icon indicating copy to clipboard operation
desktop-waifu copied to clipboard

Unicode error?

Open Papagom5353 opened this issue 1 year ago • 0 comments

Ok so this is the situation: 1.suddenly my desktop waifu stopped working 2.found out that it's because of update(from now on, to authenticate you need both access and id token for character ai) 3.added id and access token 4.gets this error and nobody seems to know the answer

what cmd said: node js: Authenticating.... node js: [node_characterai] Puppeteer - This is an experimental feature. Please report any issues on github. node js: A client connected Welcome back, to speak press RIGHT_CTRL. Connecting to VTube Studio! You (mic) >node js: [node_characterai] Puppeteer - Done with setup node js: [node_characterai] Puppeteer - Eval-fetching is an experimental feature and may be slower. Please report any issues on github node js: Authenticated, fetching character AI info.... node js: HTTPResponse {} Exception in thread Thread-1 (): Traceback (most recent call last): File "C:\Program Files\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Program Files\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "C:\Users\kma64\Desktop\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 85, in t = threading.Thread(target=lambda: loop.run_until_complete(start())) File "C:\Program Files\Python310\lib\asyncio\base_events.py", line 641, in run_until_complete return future.result() File "C:\Users\kma64\Desktop\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 76, in start await asyncio.gather(*tasks) File "C:\Users\kma64\Desktop\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 53, in handle_output print(Style.DIM + f"node js: {line.decode().rstrip()}" + Style.RESET_ALL) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbf in position 0: invalid start byte Authentication request sent to VTube Studio, please click allow. VTube Studio connected! at port 8001 You (mic) > Hello. Traceback (most recent call last): File "C:\Users\kma64\Desktop\desktop-waifu-master\waifu\Src\runner.py", line 147, in utils.characterAi.send_message_to_process_via_websocket(transcript) File "C:\Users\kma64\Desktop\desktop-waifu-master\waifu\Src\utils\characterAi.py", line 31, in send_message_to_process_via_websocket ws.send(message) File "C:\Users\kma64\Desktop\desktop-waifu-master\waifu\lib\site-packages\websocket_app.py", line 240, in send raise WebSocketConnectionClosedException( websocket._exceptions.WebSocketConnectionClosedException: Connection is already closed. node js

since the dev clearly abandoned this project, I assume unless somebody with actual coding knowledge appears, this will be never solved. I'm holding on to the small hope that somebody might know the solution.

ps: STOP F##KING ASK HAVE YOU FIXED THIS PROBLEM. IF I ALREADY FIXED IT I WOULD HAVE POSTED THAT I FIXED IT! If you are not an single celled organism, it's not difficult to assume that the poster still haven't fixed this yet. So stop asking and try searching somewhere else or come back later to check other's replies.

Papagom5353 avatar Jan 09 '24 15:01 Papagom5353