Skip to content

打开微信失败:无法打开注册表项、获取Wechat安装路径失败 #2581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
lhannnn opened this issue Apr 21, 2025 · 4 comments
Open
2 tasks done

Comments

@lhannnn
Copy link

lhannnn commented Apr 21, 2025

前置确认

  • 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。

⚠️ 搜索issues中是否已存在类似问题

  • 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

Windows

运行的python版本是?

python 3.10

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wx(个人微信, itchat)

复现步骤 🕹

使用相应的规定步骤

问题描述 😯

无法打开注册表项
获取Wechat安装路径失败

打开微信失败

终端日志 📒

(venv) C:\Users\Administrator\chatgpt-on-wechat>python app.py
[INFO][2025-04-21 22:37:18][config.py:303] - [INIT] load config: {'channel_type': 'wcf', 'model': 'gpt-3.5-turbo', 'open_ai_api_key': 'sk-I0A', 'claude_api_key': 'YOUKEY', 'text_to_image': 'dall-e-2', 'voice_to_text': 'openai', 'text_to_voice': 'openai', 'proxy': 'http://127.0.0.1:7890', 'hot_reload': False, 'single_chat_prefix': ['bot', '@bot'], 'single_chat_reply_prefix': '[bot] ', 'group_chat_prefix': ['@bot'], 'group_name_white_list': ['ChatGPT测试群', 'ChatGPT 测试群2'], 'image_create_prefix': ['画'], 'speech_recognition': True, 'group_speech_recognition': False, 'voice_reply_voice': False, 'conversation_max_tokens': 2500, 'expires_in_seconds': 3600, 'character_desc': '你是基于大语言模型的AI智能 助手,旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。', 'temperature': 0.7, 'subscribe_msg': '感谢您的关注 !\n这里是AI智能助手,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。', 'use_linkai': False, 'linkai_api_key': '*****', 'linkai_app_code': ''}
[INFO][2025-04-21 22:37:18][config.py:229] - [Config] User datas file not found, ignore.
[2025-04-21 22:37:19.637] [error] [util.cpp:82] 无法打开注册表项
[2025-04-21 22:37:19.637] [error] [util.cpp:191] 获取 WeChat 安装路径失败
初始化失败!

@JQQqian
Copy link

JQQqian commented Apr 24, 2025

我也是获取路径失败

@lhannnn
Copy link
Author

lhannnn commented Apr 24, 2025 via email

@JQQqian
Copy link

JQQqian commented Apr 24, 2025

这么快啊😂

@lhannnn
Copy link
Author

lhannnn commented Apr 24, 2025

这么快啊😂

最近查得严,我那个又是ddl 注入的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants