Ikaros-521 / AI-Vtuber

AI Vtuber是一个由 【ChatterBot/ChatGPT/claude/langchain/chatglm/text-gen-webui/闻达/千问/kimi/ollama】 驱动的虚拟主播【Live2D/UE/xuniren】,可以在 【Bilibili/抖音/快手/微信视频号/拼多多/斗鱼/YouTube/twitch/TikTok】 直播中与观众实时互动 或 直接在本地进行聊天。它使用TTS技术【edge-tts/VITS/elevenlabs/bark/bert-vits2/睿声】生成回答并可以选择【so-vits-svc/DDSP-SVC】变声;指令协同SD画图。
https://ikaros-521.github.io/Luna-Docs/site/
GNU General Public License v3.0
2.8k stars 430 forks source link

🐛 Bug: 出现异常 #920

Closed qingxiao-jie closed 2 months ago

qingxiao-jie commented 2 months ago

操作系统

Windows

Python 版本

3.11.0

AI Vtuber 版本

202407

描述问题

2024-07-12 16:20:03.250 | DEBUG | utils.my_log::57 - 配置文件路径=config.json pygame 2.6.0 (SDL 2.28.4, Python 3.11.5) Hello from the pygame community. https://www.pygame.org/contribute.html F:\AI-Vtuber.venv\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) 2024-07-12 16:20:03.819 | INFO | utils.audio:init:79 - 文案模式的Audio初始化... 2024-07-12 16:20:03.990 | INFO | main:goto_func_page:5448 - 本地Live2D模型名列表:['Haru', 'hibiki', 'Hiyori'] 2024-07-12 16:20:04.148 | INFO | main:goto_func_page:5646 - 声卡输入设备=[{'device_index': 0, 'device_info': 'Microsoft Sound Mapper - Input'}, {'device_index': 1, 'device_info': '麦克风 (2- Realtek High Definition'}, {' device_index': 2, 'device_info': 'VoiceMeeter Output (VB-Audio Vo'}, {'device_index': 7, 'device_info': '主声音捕获驱动程序'}, {'device_index': 8, 'device_info': '麦克风 (2- Realtek High Definition Audio)'}, {'device_index': 9, 'device_info': 'VoiceMeeter Output (VB-Audio VoiceMeeter VAIO)'}, {'device_index': 17, 'device_info': '麦克风 (2- Realtek High Definition Audio)'}, {'device_index': 18, 'device_info': 'VoiceMeeter Output (VB-Audio VoiceMeeter VA IO)'}, {'device_index': 20, 'device_info': '麦克风 (Realtek HD Audio Mic input)'}, {'device_index': 22, 'device_info': '绾胯矾杈撳叆 (Realtek HD Audio Line input)'}, {'device_index': 23, 'device_info': '立体声混音 (Realtek HD Au dio Stereo input)'}, {'device_index': 24, 'device_info': 'VoiceMeeter Output (VoiceMeeter vaio)'}] 2024-07-12 16:20:04.210 | WARNING | utils.data_analysis:get_comment_word_cloud_option:81 - 数据库:data/data.db 不存在,如果您是第一次启动项目,且没有 运行的情况下,那么请忽略此报错信息,正常运行后,会自动创建数据库,无须担心 Traceback (most recent call last): File "F:\AI-Vtuber\webui.py", line 6560, in goto_func_page() File "F:\AI-Vtuber\webui.py", line 6244, in goto_func_page echart_comment_word_cloud = ui.echart(data_analysis.get_comment_word_cloud_option( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\AI-Vtuber.venv\Lib\site-packages\nicegui\elements\echart.py", line 36, in init for key in options: TypeError: 'NoneType' object is not iterable

复现步骤

1.首先运行webui.py遇到bug:pydantic.errors.PydanticUserError: If you use @root_validator with pre=False (the default) you MUST specify skip_on_failure=True. Note that @root_validator is deprecated and should be replaced with @model_validator.
2.然后降低pydantic版本为1.10.7 3.接着重新运行webui.py

期望的结果

No response

截图或日志

No response

qiuzi commented 2 months ago

老哥最终解决了吗?

qingxiao-jie commented 1 month ago

老哥最终解决了吗?

没有解决,找到最后是创建表那里问题,创建不了新的数据表

GOOD-N-LCM commented 1 month ago

怎么样,老哥 。 请您解决解决了么?

hyuuuliu commented 1 month ago

Same problem. Has it been fixed already?

xiaomaofei commented 3 weeks ago

Same problem.

GOOD-N-LCM commented 3 weeks ago

最后去下载整合包使用即可...