Results 62 comments of A60

用 httpx 手搓的grpc请求是正常的,换了库就出问题了 ```python msg = DynSpaceReq() msg.host_uid = 491589125 # msg.local_time = 8 # msg.page = 1 proto = msg.SerializeToString() print(proto) data = b"\0" + len(proto).to_bytes(4, "big") + proto...

然后就是问一下,我用在异步项目里中间调用的话会出一些问题,这个stop的作用是什么

是个qq的机器人sdk,我也是个新手,看不懂这个框架([Ariadne](https://github.com/GraiaProject/Ariadne))的核心机制是什么, ![image](https://user-images.githubusercontent.com/59153990/145670100-0b480ef4-036d-42ee-95a9-3e8117771e03.png) ![image](https://user-images.githubusercontent.com/59153990/145670105-e732c37b-b8b0-47f0-abf0-779b329869a0.png) 我监听sdk的 stop 事件,但是发现会出问题,大概就是整个程序不会exit出去,而是一直卡在结束,我需要手动再按一次 Ctrl C 才能吧整个程序结束

![image](https://user-images.githubusercontent.com/59153990/145670207-66c68847-66e1-43ce-ac26-9d9b4a095bb7.png) 大概就是会这样卡住,不知道是哪儿的问题

无论调用与否都会这样

没有的,试过了,如果不加这个sleep的话其他地方会报错

还是不行,太奇怪了,算了,就这样吧,反正能用

> 这是 #6 吗?( 不知道,大概是。。。?

> 不懂就问,为什么不可以把 waifu2x.init() 和 waifu2x.initSet() 放到 ApplicationLaunched 里? > > > > > > 但 waifu2x.stop() 却被放在了 ApplicationShutdowned 里? > > ![](https://user-images.githubusercontent.com/61231083/145682835-d4e04c14-01de-419e-a788-44c643cc09e7.png) 我是笨比()

目前大概可以用python脚本实现反序列化?