Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 刚升级新版本,出现了插件打开异常的情况 #47

Closed
YIRU69 opened this issue Feb 19, 2024 · 3 comments
Closed

[BUG] 刚升级新版本,出现了插件打开异常的情况 #47

YIRU69 opened this issue Feb 19, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@YIRU69
Copy link

YIRU69 commented Feb 19, 2024

今天刚更新了插件,结果自己打开插件半天没有在底部状态栏显示出复习的卡片,我重启插件多次,还是一样的现象。

在更新前,插件并没有开启,而且不同的是数据是从远程过来的,这意味着这太机器的数据和新的,所有新的数据和新版本造成了插件不能用了?

下面是报错

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'setTracked')
    at _ItemToDecks.toRevDeck (plugin:obsidian-spaced-repetition-recall:28950:12)
    at eval (plugin:obsidian-spaced-repetition-recall:28930:22)
    at Array.forEach (<anonymous>)
    at _ItemToDecks.itemToReviewDecks (plugin:obsidian-spaced-repetition-recall:28900:11)
    at _SRPlugin.sync_trackfiles (plugin:obsidian-spaced-repetition-recall:29528:44)
    at async _SRPlugin.sync (plugin:obsidian-spaced-repetition-recall:29423:7)
    at async Object.callback (plugin:obsidian-spaced-repetition-recall:29278:11)
@YIRU69 YIRU69 added the bug Something isn't working label Feb 19, 2024
@Newdea
Copy link
Collaborator

Newdea commented Feb 19, 2024

main.zip

应该是以前数据包含null项导致的,试下这版,解压替换

@YIRU69
Copy link
Author

YIRU69 commented Feb 19, 2024

我重启 ob 就可以开启卡片复习了,我试试你的新的。

@YIRU69
Copy link
Author

YIRU69 commented Feb 19, 2024

替换后没报错了,但是我看文件的大小相比多了1 m多。。

@Newdea Newdea self-assigned this Feb 19, 2024
Newdea added a commit that referenced this issue Feb 19, 2024
fix #47 ;
fix view error
@Newdea Newdea closed this as completed in 5ab2b85 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants