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

无法回复消息 #11

Open
Kevinwu901113 opened this issue Dec 15, 2022 · 0 comments
Open

无法回复消息 #11

Kevinwu901113 opened this issue Dec 15, 2022 · 0 comments

Comments

@Kevinwu901113
Copy link

报错内容如下
2022-12-15 18:23:01,002 - Wechaty - INFO - receive message <Message#message_type_text[🗣 Contact <wxid_> <> ding>
Exception in callback AsyncIOEventEmitter._emit_run..callback(<Task finishe...ot iterable")>) at C:\Program Files\Python37\lib\site-packages\pyee\asyncio.py:65
handle: <Handle AsyncIOEventEmitter._emit_run..callback(<Task finishe...ot iterable")>) at C:\Program Files\Python37\lib\site-packages\pyee\asyncio.py:65>
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\Program Files\Python37\lib\site-packages\pyee\asyncio.py", line 71, in callback
self.emit("error", exc)
File "C:\Program Files\Python37\lib\site-packages\wechaty\wechaty.py", line 332, in emit
return super().emit(event, *args, **kwargs)
File "C:\Program Files\Python37\lib\site-packages\pyee\base.py", line 179, in emit
self._emit_handle_potential_error(event, args[0] if args else None)
File "C:\Program Files\Python37\lib\site-packages\pyee\base.py", line 139, in _emit_handle_potential_error
raise error
File "dialog.py", line 252, in on_message
if text in self.hold or text[1:] in self.hold:
TypeError: argument of type 'NoneType' is not iterable

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

1 participant