Skip to content
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

【重要】Bug反馈来此处!!! #66

Open
ngc660sec opened this issue Sep 10, 2024 · 38 comments
Open

【重要】Bug反馈来此处!!! #66

ngc660sec opened this issue Sep 10, 2024 · 38 comments

Comments

@ngc660sec
Copy link
Owner

No description provided.

@ngc660sec ngc660sec changed the title 【重要】Bug反馈来此处 【重要】Bug反馈来此处!!! Sep 10, 2024
@ngc660sec ngc660sec pinned this issue Sep 10, 2024
@surfzhang25
Copy link

每次开启会重复之前的会话一直在回复调用

@ngc660sec
Copy link
Owner Author

每次开启会重复之前的会话一直在回复调用

先打开微信,再启动程序

@ngc660sec
Copy link
Owner Author

image

  • 此错误属于版本太高,需要降级到此版本 meme_generator==0.1.4

@mah1618
Copy link

mah1618 commented Sep 24, 2024

loadLibrary调用失败
image

@ngc660sec
Copy link
Owner Author

loadLibrary调用失败 image

任务管理器关闭微信,重新打开

@sibeix
Copy link

sibeix commented Sep 25, 2024

微信自动通过好友失败,尝试更新到最新版本也不行。之前用旧的大版本一切正常
微信图片_20240925083743

@ngc660sec
Copy link
Owner Author

微信自动通过好友失败,尝试更新到最新版本也不行。之前用旧的大版本一切正常 微信图片_20240925083743

新版本不能自动通过

@YuLong-Liang
Copy link

YuLong-Liang commented Sep 26, 2024

BotServer/MainServer.py ,初始化方法,wcferry 初始化时,提示连接超时。

Init LOGGER ERROR
Failed opening file
D:\Users\ADminstrator\dev\NGCBOT\NGCBot\BotServer\logs\wcf.txt for writing: no such file or directory

已解决,通过重新安装指定版本微信客户端。
原因,自动更新到了 .12 版本。

@ngc660sec
Copy link
Owner Author

BotServer/MainServer.py ,初始化方法,wcferry 初始化时,提示连接超时。

Init LOGGER ERROR Failed opening file D:\Users\ADminstrator\dev\NGCBOT\NGCBot\BotServer\logs\wcf.txt for writing: no such file or directory

已解决,通过重新安装指定版本微信客户端。 原因,自动更新到了 .12 版本。

好的

@rockpanda
Copy link

rockpanda commented Oct 9, 2024

微信自动通过好友失败 请问下有能用的版本没,或者适配最新版本?

@ngc660sec
Copy link
Owner Author

微信自动通过好友失败 请问下有能用的版本没,或者适配最新版本?

老版本可以 readme当中

@ngc660sec
Copy link
Owner Author

启动失败:Failed opening file C:\Windows\System32\logs\wcf.txt for writing:permission denied

你好 此为没有权限提示,检查当前当前目录下是否拥有写入权限,或者换个存放位置

@okatu-loli
Copy link

调用微步api报错:
image

[2024-10-18 11:31:55]: [*]: 正在调用微步IP查询API接口... ...
[2024-10-18 11:31:58]: [-]: 微步威胁IP查询出现错误, 错误信息:'data'

@ngc660sec
Copy link
Owner Author

调用微步api报错: image

[2024-10-18 11:31:55]: [*]: 正在调用微步IP查询API接口... ... [2024-10-18 11:31:58]: [-]: 微步威胁IP查询出现错误, 错误信息:'data'

你API 没权限

@AMGYzhea
Copy link

请问下班消息推送能不能做到艾特所有人呢?在有权限的情况下

@ngc660sec
Copy link
Owner Author

请问下班消息推送能不能做到艾特所有人呢?在有权限的情况下

你好 可以

@AMGYzhea
Copy link

好的,谢谢!那么请问应该使用什么变量符之类的来触发艾特全体呢,直接填入@所有人 没有效果...

@ngc660sec
Copy link
Owner Author

好的,谢谢!那么请问应该使用什么变量符之类的来触发艾特全体呢,直接填入@所有人 没有效果...

aters参数也需要填 自己看一下填什么

@Heroiu
Copy link

Heroiu commented Nov 12, 2024

失败
你好 我用的readme对应版本的微信 自动接受好友申请失败了

@ngc660sec
Copy link
Owner Author

失败 你好 我用的readme对应版本的微信 自动接受好友申请失败了

用低版本

@Heroiu
Copy link

Heroiu commented Nov 12, 2024

失败 你好 我用的readme对应版本的微信 自动接受好友申请失败了

用低版本

有没有能用的版本可以分享一下吗 我在网上找不到了

@ngc660sec
Copy link
Owner Author

失败 你好 我用的readme对应版本的微信 自动接受好友申请失败了

用低版本

有没有能用的版本可以分享一下吗 我在网上找不到了

WCF版本选择 39.0.12.0
微信使用:WeChatSetup-3.9.2.23.exe

@ngc660sec
Copy link
Owner Author

失败 你好 我用的readme对应版本的微信 自动接受好友申请失败了

用低版本

有没有能用的版本可以分享一下吗 我在网上找不到了

WCF版本选择 39.0.12.0 微信使用:WeChatSetup-3.9.2.23.exe

readme里面有

@Heroiu
Copy link

Heroiu commented Nov 12, 2024

3.9.2.23

64
他提示只支持64位微信然后闪退了

@Heroiu
Copy link

Heroiu commented Nov 12, 2024

3.9.2.23

64 他提示只支持64位微信然后闪退了

可以了 但是显示微信版本过低了

@ngc660sec
Copy link
Owner Author

3.9.2.23

64 他提示只支持64位微信然后闪退了

可以了 但是显示微信版本过低了

账号问题,换个微信 或者用高版本微信

@wqqqqqq200
Copy link

1.复现:如果systemListWord列表为空,会报错TypeError: 'NoneType' object is not iterable
2.完善:在for循环前增加为空判断,如果为None 那么直接返回False
def judgeEqualListWord(recvWord, systemListWord):
"""
判断接收消息在触发关键字列表中则返回True
接收消息 in ['触发关键字列表']
:param recvWord: 接收消息
:param systemListWord: 触发关键字列表
:return:
"""
if systemListWord is None:
return False
for listWord in systemListWord:
if listWord.strip() == recvWord.strip():
return True
return False

@ngc660sec
Copy link
Owner Author

1.复现:如果systemListWord列表为空,会报错TypeError: 'NoneType' object is not iterable 2.完善:在for循环前增加为空判断,如果为None 那么直接返回False def judgeEqualListWord(recvWord, systemListWord): """ 判断接收消息在触发关键字列表中则返回True 接收消息 in ['触发关键字列表'] :param recvWord: 接收消息 :param systemListWord: 触发关键字列表 :return: """ if systemListWord is None: return False for listWord in systemListWord: if listWord.strip() == recvWord.strip(): return True return False

好的 感谢

@jinnywc
Copy link

jinnywc commented Dec 29, 2024

Traceback (most recent call last):
File "C:\Users\jinny\Downloads\NGCBot\main.py", line 1, in
from BotServer.MainServer import MainServer
File "C:\Users\jinny\Downloads\NGCBot\BotServer\MainServer.py", line 1, in
from BotServer.MsgHandleServer.FriendMsgHandle import FriendMsgHandle
File "C:\Users\jinny\Downloads\NGCBot\BotServer\MsgHandleServer\FriendMsgHandle.py", line 2, in
from ApiServer.AiServer.AiDialogue import AiDialogue
File "C:\Users\jinny\Downloads\NGCBot\ApiServer\AiServer\AiDialogue.py", line 5, in
from sparkai.llm.llm import ChatSparkLLM, ChunkPrintHandler
File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\llm\llm.py", line 22, in
from sparkai.core.callbacks import (
File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\callbacks_init_.py", line 13, in
from sparkai.core.callbacks.manager import (
File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\callbacks\manager.py", line 39, in
from sparkai.core.messages import BaseMessage, get_buffer_string
File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\messages_init_.py", line 3, in
from sparkai.core.messages.ai import AIMessage, AIMessageChunk
File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\messages\ai.py", line 10, in
class AIMessage(BaseMessage):
File "pydantic\main.py", line 197, in pydantic.main.ModelMetaclass.new
File "pydantic\fields.py", line 506, in pydantic.fields.ModelField.infer
File "pydantic\fields.py", line 436, in pydantic.fields.ModelField.init
File "pydantic\fields.py", line 552, in pydantic.fields.ModelField.prepare
File "pydantic\fields.py", line 668, in pydantic.fields.ModelField._type_analysis
File "D:\tools\gongzuo\putong\Python39\lib\typing.py", line 851, in subclasscheck
return issubclass(cls, self.origin)
TypeError: issubclass() arg 1 must be a class

@ngc660sec
Copy link
Owner Author

sparkai

卸载所有包重装

@ngc660sec
Copy link
Owner Author

Traceback (most recent call last): File "C:\Users\jinny\Downloads\NGCBot\main.py", line 1, in from BotServer.MainServer import MainServer File "C:\Users\jinny\Downloads\NGCBot\BotServer\MainServer.py", line 1, in from BotServer.MsgHandleServer.FriendMsgHandle import FriendMsgHandle File "C:\Users\jinny\Downloads\NGCBot\BotServer\MsgHandleServer\FriendMsgHandle.py", line 2, in from ApiServer.AiServer.AiDialogue import AiDialogue File "C:\Users\jinny\Downloads\NGCBot\ApiServer\AiServer\AiDialogue.py", line 5, in from sparkai.llm.llm import ChatSparkLLM, ChunkPrintHandler File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\llm\llm.py", line 22, in from sparkai.core.callbacks import ( File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\callbacks__init__.py", line 13, in from sparkai.core.callbacks.manager import ( File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\callbacks\manager.py", line 39, in from sparkai.core.messages import BaseMessage, get_buffer_string File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\messages__init__.py", line 3, in from sparkai.core.messages.ai import AIMessage, AIMessageChunk File "D:\tools\gongzuo\putong\Python39\lib\site-packages\sparkai\core\messages\ai.py", line 10, in class AIMessage(BaseMessage): File "pydantic\main.py", line 197, in pydantic.main.ModelMetaclass.new File "pydantic\fields.py", line 506, in pydantic.fields.ModelField.infer File "pydantic\fields.py", line 436, in pydantic.fields.ModelField.init File "pydantic\fields.py", line 552, in pydantic.fields.ModelField.prepare File "pydantic\fields.py", line 668, in pydantic.fields.ModelField._type_analysis File "D:\tools\gongzuo\putong\Python39\lib\typing.py", line 851, in subclasscheck return issubclass(cls, self.origin) TypeError: issubclass() arg 1 must be a class

卸载所有包重装

@qianduan-asu
Copy link

wcferry==39.0.12.0 pip已经没有怎么安装呢,

@ngc660sec
Copy link
Owner Author

wcferry==39.0.12.0 pip已经没有怎么安装呢,

重装Python

@ngc660sec
Copy link
Owner Author

wcferry==39.0.12.0 pip已经没有怎么安装呢,

或者加环境变量 自己百度吧

@qianduan-asu
Copy link

wcferry==39.0.12.0 pip已经没有怎么安装呢,

或者加环境变量 自己百度吧

不是这个意思,我的意思说库里好像没有这个版本可以安装了
37E47E3E

@ngc660sec
Copy link
Owner Author

wcferry==39.0.12.0 pip已经没有怎么安装呢,

或者加环境变量 自己百度吧

不是这个意思,我的意思说库里好像没有这个版本可以安装了 37E47E3E

可以装其它版本 效果是一样的

@ML-Hee
Copy link

ML-Hee commented Jan 14, 2025

飞书知识库查询无法使用,新版本api需要使用user_access_token,需要页面授权

@ngc660sec
Copy link
Owner Author

飞书知识库查询无法使用,新版本api需要使用user_access_token,需要页面授权

填写完配置文件四个参数是可以使用的

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

No branches or pull requests