windingwind / zotero-better-notes

Everything about note management. All in Zotero.
GNU Affero General Public License v3.0
5.11k stars 182 forks source link

[Bug] 插件Better Notes同步报错“sync error:unloadedDataException:Item 645 not yet loaded”,同步管理器打开为空 #1005

Closed sailorhero closed 2 months ago

sailorhero commented 2 months ago

Is there an existing issue for this?

Are you using the latest Zotero and the latest plugin?

Environment

Describe the bug

Zotero 插件Better Notes同步报错“sync error:unloadedDataException:Item 645 not yet loaded” image

然后,打开同步管理器为空,前期同步到obsidain的笔记看不到了。

Debug Output

3)(+0000001): [Better Notes for Zotero] 数学每日一练11-(计数)-DIQVRSA8.md

(3)(+0000002): Creating string pref 'extensions.zotero.Knowledge4Zotero.syncDetail-729'

(3)(+0000002): [Better Notes for Zotero] sync start export [{"key":"DIQVRSA8","version":811,"itemType":"note","note":"<div data-schema-version=\"9\">

数学每日一练11 (计数)

\n

\n

                              |

\n

\n
","tags":[],"collections":["UTA94HTA"],"relations":{},"dateAdded":"2024-05-28T09:37:03Z","dateModified":"2024-05-28T09:39:13Z"}] 0

(3)(+0000003): [Better Notes for Zotero] will be synced: {"D:\obsidian\sailorhero\10-zotero":[729]} [] []

(3)(+0000010): [Better Notes for Zotero] runTemplate: [ExportMDFileNameV2]

(3)(+0000001): [Better Notes for Zotero] 数学每日一练11-(计数)-DIQVRSA8.md

(3)(+0000015): [Better Notes for Zotero] runTemplate: [ExportMDFileContent]

(3)(+0000001): [Better Notes for Zotero] ## 数学每日一练11 (计数) |

(3)(+0000001): [Better Notes for Zotero] runTemplate: [ExportMDFileHeaderV2]

(4)(+0000001): SELECT collectionID FROM collections WHERE collectionID IN (SELECT collectionID FROM collectionItems WHERE itemID=?) [729]

(3)(+0000002): [Better Notes for Zotero] {"tags":[],"parent":"","collections":["gaoyuan"]}

(3)(+0000634): [Better Notes for Zotero] [BetterNotes Syncing Error] {"message":"Item 645 not yet loaded","stack":"Zotero.Exception.UnloadedDataException@chrome://zotero/content/xpcom/error.js:159:16\nZotero.DataObjects.prototype.get@chrome://zotero/content/xpcom/data/dataObjects.js:123:15\ngetSyncNoteIds@jar:file:///C:/Users/g00340387/AppData/Roaming/Zotero/Zotero/Profiles/y631vzwq.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:34688:25\ncallSyncing@jar:file:///C:/Users/g00340387/AppData/Roaming/Zotero/Zotero/Profiles/y631vzwq.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32792:49\nsetSyncing/timer<@jar:file:///C:/Users/g00340387/AppData/Roaming/Zotero/Zotero/Profiles/y631vzwq.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32765:24\n"}

(3)(+0000084): {better-bibtex} +23909 emit: better-bibtex event emit window-loaded {"win":"[object Window]","href":"chrome://zotero/content/progressWindow.xhtml"}

(4)(+0003819): SELECT A.itemID FROM items A LEFT JOIN itemNotes B USING (itemID) LEFT JOIN itemAttachments C ON (C.itemID=A.itemID) WHERE B.parentItemID IS NULL AND C.parentItemID IS NULL AND A.itemID NOT IN (SELECT itemID FROM deletedItems) AND libraryID=? [1]

(3)(+0005356): itemTree.render(). Displaying Item Tree

(3)(+0000375): itemTree.render(). Displaying Item Tree

(4)(+0001740): SELECT A.itemID FROM items A LEFT JOIN itemNotes B USING (itemID) LEFT JOIN itemAttachments C ON (C.itemID=A.itemID) WHERE B.parentItemID IS NULL AND C.parentItemID IS NULL AND A.itemID NOT IN (SELECT itemID FROM deletedItems) AND libraryID=? [1]

(3)(+0019722): {better-bibtex} +31011 idle: Sat Jun 22 2024 21:48:58 GMT+0800 (\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4), save-database idle

(3)(+0000002): {better-bibtex} +2 emit: better-bibtex event emit idle {"state":"idle","topic":"save-database"}

(3)(+0001567): {better-bibtex} +1568 idle: Sat Jun 22 2024 21:49:00 GMT+0800 (\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4), save-database active

(3)(+0000001): {better-bibtex} +1 emit: better-bibtex event emit idle {"state":"active","topic":"save-database"}

Anything else?

No response

sailorhero commented 2 months ago

Zotero Better Notes新创建的笔记,导出后,同步管理器也看不到

github-actions[bot] commented 2 months ago

:rocket: This ticket has been resolved in v1.1.4-beta.84. See Release v1.1.4-beta.84 for release notes.