syt2 / Zotero-TLDR

Zotero addon to automatically fetch TL;DR from Sematic scholar for items.
GNU Affero General Public License v3.0
33 stars 1 forks source link

选择 Update TLDR 之后一直卡着不动 #13

Open Bengerthelorf opened 2 months ago

Bengerthelorf commented 2 months ago
image
jiversen commented 1 month ago

Same issue. Hangs at waiting, and never succeeds or fails.

This is printed in the log:

image

TypeError: e.isCollection is not a function [zoterotldr.js:196:1148]

(jar:file:///Users/xxx/Library/Application%20Support/Zotero/Profiles/.../extensions/zoterotldr@syt.com.xpi!/chrome/content/scripts/zoterotldr.js)

jiversen commented 1 month ago

image

FeralFlora commented 3 weeks ago

@jiversen Seems like this commit from July needs to be merged: https://github.com/syt2/Zotero-TLDR/commit/2a9125aa99f2aeb3e5fce17ef44aca74a1f98933

FeralFlora commented 3 weeks ago

I manually removed isCollection() after extracting the xpi archive, repackaged it, and can confirm that the plugin will then progress (not stuck on waiting anymore). However, the request is forbidden by Semantic Scholar:

10:54:13.491 post semantic scholar request error: Error: HTTP POST https://www.semanticscholar.org/api/1/search failed with status code 403: {"error":"Unexpected request source","code":"Forbidden"} 10