ehForwarderBot / ehForwarderBot/efb-qq-plugin-iot

在对QQ群组使用 /update_info 时可能会报错

Open
#4 0 comments 0 reactions 1 assignee Claimed by @milkice233 View on GitHub
bug
Dominant language
C
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

在Telegram 中的错误提示是
Error occurred while update chat details.
'group'

在终端中的错误提示为:
19:49:09,226 [ERROR]: efb_telegram_master.chat_binding (chat_binding.update_group_info; chat_binding.py:949) Unknown error caught when querying chat. Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/cachetools/cache.py", line 44, in __getitem__ return self.__data[key] KeyError: 'group' During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/efb_telegram_master/chat_binding.py", line 891, in update_group_info chat = self.chat_manager.update_chat_obj(channel.get_chat(chat_uid), full_update=True) File "/usr/local/lib/python3.9/dist-packages/efb_qq_slave/__init__.py", line 92, in get_chat
return self.QQClient.get_chat(chat_uid) File "/usr/local/lib/python3.9/dist-packages/efb_qq_plugin_iot/IOTBot.py", line 290, in get_chat group_info = self.get_group_info(chat_uin, no_cache=False)
File "/usr/local/lib/python3.9/dist-packages/efb_qq_plugin_iot/IOTBot.py", line 264, in get_group_info
return self.info_dict['group'].get(group_id, None)
File "/usr/local/lib/python3.9/dist-packages/cachetools/ttl.py", line 83, in __getitem__ return cache_getitem(self, key)
File "/usr/local/lib/python3.9/dist-packages/cachetools/cache.py", line 46, in __getitem__
return self.__missing__(key)
File "/usr/local/lib/python3.9/dist-packages/cachetools/cache.py", line 73, in __missing__
raise KeyError(key)
KeyError: 'group'

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.