Yixuan Wang

Results 11 comments of Yixuan Wang

目前的错误处理方式是弹窗警告,似乎还需要改善。

> 错误处理这玩意让 > > ```js > .catch(failed); > ``` > > 处理就差不多了吧 好像不行,那样时间线就加载不出来了,整条 Promise 链都 reject 了…… 主要有影响的错误是 `没有这条树洞`,这种情况很可能发生(置顶了一个洞,之后它被:crab:了)。在 API 中用同步的 catch 可以保证其他的置顶以及时间线的正常显示。现在的解决方案是给 get_multiple API 加了一个错误处理函数的参数,对于置顶来说,如果出现“没有这条树洞”就把这个洞从置顶列表里去掉。

我也遇到了这个错误 控制台输出 ``` [INFO] loop, 18:36:51, > Current client: 1, (qsize: 2) [INFO] loop, 18:36:51, [INFO] loop, 18:36:51, Get SupplyCancel page 1 [DEBUG] hook, 18:38:08, Dump request https://elective.pku.edu.cn/elective2008/edu/pku/stu/elective/controller/supplement/SupplyCancel.do to D:\Utilities\Elec\PKUAutoElective\log\request\1900014136\2020-09-23_18.37.42+0800.%2Felective2008%2Fedu%2Fpku%2Fstu%2Felective%2Fcontroller%2Fsupplement%2FSupplyCancel.do.gz...

开了 debug_dump_request,这个 IndexError 发生之前的一个日志是 18.37.42 生成的,用 7zip 解压以后这个日志就是这个不完整的样子…… 忽然发现自己和 Issue 里提到的错误类型虽然一样,产生的位置好像不太一样……

我之前是用 7zip 直接解压了日志🤦用 `pickle_gzip_load` 解压得到的 HTML 最后几行是(几行缩进层级相同,去掉了缩进和空行): ```html 全校任选 4.0 6.0 黄博典 1 外国语学院

> 如果实现比较简单的话,还可以有一个成功选课邮箱通知功能~ 我在自己的[分支](https://github.com/Yixuan-Wang/PKUAutoElective/tree/feat-email)里写了一个邮箱通知功能,发送邮件的过程已经测试过了,但还没有在真实条件下进行过测试。 另外,曾经有一个 PR #27 通过 server_chan 提供微信通知,但为了解耦没有合并进来,~~现在源分支好像已经没有了~~。

考虑到测试版的使用率低,以及为了维护 localStorage 的纯洁性,我想选择什么都不做🤦‍♂️

I tried copying SpaceId's source code in and here is how it looks > > So could it be worked around with icons? > > The tray icon shows workspace...

> I suspect that macOS simply doesn't allow changing the font of the tray items. Are there any known apps that show their tray item in monospaced? macOS clock doesn't...

I still think this behavior is a quirk. The doc of `is:raw` suggest that the content inside will be treated as plain text. Does that imply it will be forwarded...