wechat-admin
wechat-admin copied to clipboard
Wechat Management System
我在flask上 用celery 任务中使用了sqlalchemy一直报错'No application found. Either work inside a view function or push'
安卓群控全套源代码转让,需要的联系qq: 2138850473
GET http://mydomain.com/stream 404 (NOT FOUND) app.js:1 Failed to connect to event stream vendor.js:11 POST http://mydomain.com/j/login 500 (Internal Server Error) (anonymous) @ vendor.js:11 e.exports @ vendor.js:11 e.exports @ vendor.js:11 Promise.then (async)...
[2019-03-25 19:42:16,562: INFO/Beat] beat: Starting... [2019-03-25 19:42:16,580: INFO/Beat] Scheduler: Sending due task wechat.tasks.send_notify (wechat.tasks.send_notify) [2019-03-25 19:42:16,727: INFO/MainProcess] Connected to redis://127.0.0.1:6379// [2019-03-25 19:42:16,734: INFO/MainProcess] mingle: searching for neighbors [2019-03-25 19:42:17,755: INFO/MainProcess]...
Traceback (most recent call last): File "venv/bin/flask", line 11, in sys.exit(main()) File "/Users/levy/wechat-admin/venv/lib/python3.7/site-packages/flask/cli.py", line 513, in main cli.main(args=args, prog_name=name) File "/Users/levy/wechat-admin/venv/lib/python3.7/site-packages/flask/cli.py", line 380, in main return AppGroup.main(self, *args, **kwargs) File...
刚上手flask-sse,有点疑惑求解。 sse实际为一个长连接,多客户端连接的情况下如何降低对flask的影响,即如何flask-sse路由与主应用程序分离,我在文档中看到作者后续计划将/stream分离,在此希望能得到一点思路,感谢!
扫码成功,但是不跳转
Kombu raise AttributeError(key) AttributeError: async ``` self.should_use_eventloop() if use_eventloop is None File "/usr/local/lib/python2.7/dist-packages/celery/worker/worker.py", line 241, in should_use_eventloop self._conninfo.transport.implements.async and File "/home/autossh/.local/lib/python2.7/site-packages/kombu/transport/base.py", line 125, in __getattr__ raise AttributeError(key) AttributeError: async ```...
File "/root/wechat-admin/libs/wx.py", line 53, in get_logged_in_user user_ = bot.self File "/usr/local/lib/python2.7/dist-packages/werkzeug/local.py", line 347, in __getattr__ return getattr(self._get_current_object(), name) File "/usr/local/lib/python2.7/dist-packages/werkzeug/local.py", line 306, in _get_current_object return self.__local() File "/root/wechat-admin/libs/globals.py", line 8,...