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

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

Open
expliyh opened this issue May 8, 2022 · 0 comments
Open

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

expliyh opened this issue May 8, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@expliyh
Copy link

expliyh commented May 8, 2022

在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'

@milkice233 milkice233 added the bug Something isn't working label May 24, 2022
@milkice233 milkice233 self-assigned this May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants