Giter Club home page Giter Club logo

xiaofendui's Issues

main.py运行出错

首次可以正常扫码 但是登录后无面板设置,随即重新运行 main.py 然后一直出现如下错误 python版本3.5+

root@VM-12-10-ubuntu:/jd/own/abinnz_xiaofendui# python main.py

2021-05-22 23:32:52,043 - INFO: 加载应用配置信息

2021-05-22 23:32:52,060 - INFO: 请扫描二维码登录
Traceback (most recent call last):
File "main.py", line 75, in
itchat.auto_login(hotReload=True, enableCmdQR=config.CONSOLE_CMD_QR)
File "/usr/local/lib/python3.8/dist-packages/itchat/components/register.py", line 28, in auto_login
if self.load_login_status(statusStorageDir,
File "/usr/local/lib/python3.8/dist-packages/itchat/components/hotreload.py", line 54, in load_login_status
self.loginInfo['User'] = templates.User(self.loginInfo['User'])
KeyError: 'User'

Sent from PPHub

不出现登录二维码

2019-09-21 16:53:33,617 - INFO: 加载应用配置信息

2019-09-21 16:53:33,638 - INFO: 请扫描二维码登录

然后没有出现二维码。

itchat的库怎么会报错,我用的是3.7,安装的itchat是1.3.10

2021-02-25 02:51:16,184 - INFO: Start auto replying.
Traceback (most recent call last):
File "main.py", line 78, in
chatrooms=itchat.get_chatrooms(contactOnly=True)
File "/usr/local/lib/python3.7/dist-packages/itchat/components/contact.py", line 311, in get_chatrooms
return self.get_contact(update=True)
File "/usr/local/lib/python3.7/dist-packages/itchat/components/contact.py", line 285, in get_contact
seq, batchMemberList = _get_contact(seq)
File "/usr/local/lib/python3.7/dist-packages/itchat/components/contact.py", line 270, in _get_contact
int(time.time()), seq, self.loginInfo['skey'])
KeyError: 'skey'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.