wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.56k stars 229 forks source link

🐛🐛 Bug Report: [Python Dependency] KeyError: 'reset' #294

Open xyangwu opened 2 years ago

xyangwu commented 2 years ago

requirements

Describe your problem

KeyError: 'reset' is returned by running ding-dong-bot.py.

Reproduce your problem

python3 examples/ding-dong-bot.py

Error info

 ......
  File "/usr/local/lib/python3.8/dist-packages/pyee/base.py", line 229, in listeners
    return list(self._events[event].keys())
KeyError: 'reset'

Your experiments

It might be due to dependency version. Downgrading pyee to 8.0.0 can solve this KeyError.