python-wechaty icon indicating copy to clipboard operation
python-wechaty copied to clipboard

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

Open xyangwu opened this issue 3 years ago • 0 comments

requirements

  • token type: padlocal
  • version of python-wechaty: 0.8.33
  • version of wechaty docker image: latest

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.

xyangwu avatar Jan 18 '22 17:01 xyangwu