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

make bot would report "Wechaty - ERROR - internal error <>" if Mac login wechat

Open iivveess opened this issue 5 years ago • 0 comments

Describe the bug Environment: virtual machine@ali: docker run --rm -ti -e WECHATY_LOG -e WECHATY_PUPPET -e WECHATY_PUPPET_PADLOCAL_TOKEN -e WECHATY_PUPPET_SERVER_PORT -e WECHATY_TOKEN="$WECHATY_PUPPET_PADLOCAL_TOKEN" -p "$WECHATY_PUPPET_SERVER_PORT:$WECHATY_PUPPET_SERVER_PORT" wechaty/wechaty

local PC: Mac login WeChat python-wechaty-getting-started # make bot

The error log: 2021-03-16 16:36:30,937 - Wechaty - ERROR - internal error <>

To Reproduce Steps to reproduce the behavior:

  1. Login PC WeChat
  2. Run padlocal gateway
  3. Make bot
  4. See error

Sometimes, this action would succeed & logout my PC WeChat.

Expected behavior

  1. scan QR code & logout the PC WeChat

Screenshots image

Desktop (please complete the following information):

  • OS: macOS 11.2.3
  • Python3.9
wechaty                0.7.dev15
wechaty-grpc           0.20.19
wechaty-puppet         0.3.dev2
wechaty-puppet-hostie  0.4.1
wechaty-puppet-service 0.7.dev5

Additional context If this error happened, the following action can "make" python-wechaty make bot work again. wechaty-puppet-padlocal-demo# yarn run demo image

Cancel it, and go back python-wechaty-getting-started # make bot

image

And no QR code shows up.

iivveess avatar Mar 16 '21 09:03 iivveess