Code Monkey home page Code Monkey logo

chatwaiful2d's People

Contributors

cjyaddone avatar kevl0317 avatar mubai-he avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatwaiful2d's Issues

启动ChatWaifuServer.exe报错,显示缺少模型文件

报错信息如下:

ERROR (VoskAPI:Model():model.cc:122) Folder 'C:\Users\[我的用户名]\.cache\vosk\vosk-model-small-en-us-0.15.zip' does not contain model files. Make sure you specified the model path properly in Model constructor. If you are not sure about relative path, use absolute path specification.
Traceback (most recent call last):
  File "ChatWaifuServer.py", line 70, in <module>
  File "vosk\__init__.py", line 57, in __init__
    raise Exception("Failed to create a model")
Exception: Failed to create a model
[23620] Failed to execute script 'ChatWaifuServer' due to unhandled exception!

查看.cache\vosk\vosk-model-small-en-us-0.15.zip,显示压缩文件夹无效.

怀疑是未开启vpn导致的下载出错
ffmpeg已配置好

由于目标计算机积极拒绝,无法连接

点击 ChatWaifuServer.exe 有如下报错:

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 19, in
client.connect(ip_port)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\bootstrap.py", line 277, in bootstrap
renpy.main.main()
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\main.py", line 558, in main
renpy.game.context().run(node)
File "game/script.rpy", line 11, in script
init python:
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/init.py", line 441, in raise_
File "game/script.rpy", line 11, in script
init python:
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\Program Files (x86)\ChatWaifuL2D\ChatWaifuGameL2D\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/script.rpy", line 19, in
client.connect(ip_port)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。

Windows-10-10.0.22000 AMD64
Ren'Py 8.0.3.22090809
ChatWaifuL2D 2.0
Mon Dec 26 21:02:44 2022

浏览器登录成功后未进行下一步操作

QQ截图20221225124522
第一次启动的时候是成功的,当时因为环境添加失败又手动添加了FFmpeg,重启程序后,再次填入token,在浏览器成功登录之后,服务窗口未能进行下一步操作

报错+加闪退

报错+加闪退

终端闪退前的报错信息:
image

log.txt 文件的报错信息:
Faled to initialize steam: FileNotFoundError("Could not find module 'C:\ChatWaifuL2D\ChatWaifuGameL2D\lib\py3-windows-x86_64\steam_api64.dll' (or one of its dependencies). Try using the full path with constructor syntax.")

其他:

  • 解压目录:C:\ChatWaifuL2D\ChatWaifuGameL2D
  • token用edge浏览器获取的
  • 管理者模式运行也无效。
  • 已确认环用户境变量有 环境名字:ffmpeg, 变量值:C:\ffmpeg-n4.4-latest-win64-gpl-4.4\bin, 并且我有这个目录和ffmpeg.exe文件

机器人验证卡死

输入token后弹出的浏览器窗口会要求机器人验证
1671941687559
每次验证到一半就刷新了,仿佛陷入了轮回绝境。
用的是chrome,默认浏览器换成edge也是一样。
不是很懂,请问这个是什么bug或者我自己的问题么?

ChatGPT运行正常后,无法读取回答

设置为键盘输入
设置为日语输出
Question Received: 早上好
ChatGPT:
こんにちは。どういたしまして。どういたしましょうか?
Traceback (most recent call last):
File "ChatWaifuServer.py", line 277, in
File "ChatWaifuServer.py", line 204, in generateSound
File "scipy\io\wavfile.py", line 766, in write
PermissionError: [Errno 13] Permission denied: 'output.wav'
[11128] Failed to execute script 'ChatWaifuServer' due to unhandled exception!

输入token后ChatWaifuServer报错

Traceback (most recent call last):
File "ChatWaifuServer.py", line 223, in
File "pyChatGPT\pyChatGPT.py", line 70, in init
File "pyChatGPT\pyChatGPT.py", line 112, in _init_browser
File "undetected_chromedriver_init
.py", line 242, in init
File "undetected_chromedriver\patcher.py", line 130, in auto
File "undetected_chromedriver\patcher.py", line 166, in fetch_package
File "urllib\request.py", line 280, in urlretrieve
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 6885414 out of 6904173 bytes>
[27452] Failed to execute script 'ChatWaifuServer' due to unhandled exception!

請問打不開閃退怎麼辦?

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 11, in script
init python:
File "game/script.rpy", line 19, in
client.connect(ip_port)
ConnectionRefusedError: [WinError 10061] 対象のコンピューターによって拒否されたため、接続できませんでした。

运行ChatWaifuServer.exe 提示缺少Creative audio products

image
是还要下载什么依赖吗?
ChatWaifuServer.exe随后提示:

pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Traceback (most recent call last):
File "ChatWaifuServer.py", line 65, in
File "sounddevice.py", line 569, in query_devices
sounddevice.PortAudioError: Error querying device -1
[14052] Failed to execute script 'ChatWaifuServer' due to unhandled exception!

The problem with launching and testing the project from Russia

Unfortunately, due to political restrictions imposed by OpenAI on users from Russia, these users can not test your program, because the registration must enter a phone number. I have no ideas myself, but for now you can indicate in the documentation that there are restrictions for users from Russia.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.