lifan0127 / ai-research-assistant

Aria is Your AI Research Assistant Powered by GPT Large Language Models
GNU Affero General Public License v3.0
794 stars 33 forks source link

Item data not loaded and field 'title' not set for item #61

Closed lifan0127 closed 7 months ago

lifan0127 commented 7 months ago

User encountered the following error with the search chain:

Zotero.Exception.UnloadedDataException@chrome://zotero/content/xpcom/error.js:159:16
Zotero.Item.prototype.getField@chrome://zotero/content/xpcom/data/item.js:279:11
Zotero_Item_prototype_getField@chrome://zotero-better-bibtex/content/better-bibtex.js:133487:12
trampoline@chrome://zotero-better-bibtex/content/better-bibtex.js:13894:66
Zotero.Item.prototype.getDisplayTitle@chrome://zotero/content/xpcom/data/item.js:872:31
compileItemInfo@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://.../extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://.../extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:61253:20
getItemAndBestAttachment@resource://gre/modules/addons/XPIProvider.jsm -> jar:file://.../extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file://.../extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:61287:20

Feedback: 2c7nObITEIq6z40N (2023-11-04T14:41:04.310Z)

lifan0127 commented 7 months ago

According to @windingwind, this issue may be related to incomplete cloud sync or item edit process. Hence add retry logic via c434f06