lifan0127 / ai-research-assistant

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

I'm encountering a TypeError in ARIA related to Zotero.Search.prototype.addCondition, with the message 'value is undefined'. Any advice on how to resolve this? #118

Open claireyost1993 opened 2 months ago

claireyost1993 commented 2 months ago

I have Zotero 6.0.37 & Aria 6 versions. It has been working great for a year. Then suddenly I started receiving the message below. Steps I took to resolve the issue:

-disabled Aria -updated Zotero to 7.0 & tried Aria 7.1, but couldn't get that protype to work -redownloaded Zotero 6.0 & tried every single version of Aria without success -created a new open AI API Key

Error: "Apologies for the inconvenience. Something has gone within Aria. Please check error stack for detailed information about the issue. Error stack:

{
  "name": "TypeError",
  "message": "value is undefined",
"stack" : 
{
  "name": "TypeError",
  "message": "value is undefined",
  "stack": Zotero.Search.prototype.addCondition@chrome://zotero/content/xpcom/data/search.js:393:1
search/ids jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:54882:17
search/ids<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:54878:15
search@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:54875:9
searchZotero@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:65667:57
_call@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/bootstrap.js -> jar:file:///Users/name/Library/Application%20Support/Zotero/Profiles/your_profile_id/extensions/aria@apex974.com.xpi!/chrome/content/scripts/index.js:65823:66            
lifan0127 commented 2 months ago

Hi @claireyost1993 Sorry for the trouble! Do you always get the same error or it only appears for certain questions?