windingwind / zotero-pdf-translate

Translate PDF, EPub, webpage, metadata, annotations, notes to the target language. Support 20+ translate services.
GNU Affero General Public License v3.0
6.15k stars 304 forks source link

[Bug] #771

Closed wytWangLei closed 2 days ago

wytWangLei commented 1 month ago

Is there an existing issue for this?

Have you checked the FAQ (https://github.com/windingwind/zotero-pdf-translate/issues/6)?

Are you using the latest Zotero and the latest plugin?

Environment

Describe the bug

zotero6,gpt翻译添加到笔记时会翻译两次再添加,相当于消耗两倍的时间和tokens,这是否是一个bug?

Debug Output

[JavaScript Error: "XML Parsing Error: prefix not bound to a namespace Location: jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/preferences.xhtml Line Number 6, Column 5:" {file: "jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/preferences.xhtml" line: 6 column: 5 source: " Functions</html:h2>"}]

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2947:19 getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:5 getUpdates@chrome://jasminum/content/scripts/preferences.js:161:24 initTranslatorPanel@chrome://jasminum/content/scripts/preferences.js:76:16 initPref@chrome://jasminum/content/scripts/preferences.js:10:5

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2947:19 getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:5 getUpdates@chrome://jasminum/content/scripts/preferences.js:161:24 initTranslatorPanel@chrome://jasminum/content/scripts/preferences.js:76:16 initPref@chrome://jasminum/content/scripts/preferences.js:10:5

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2947:19 getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:5 getUpdates@chrome://jasminum/content/scripts/preferences.js:161:24 initTranslatorPanel@chrome://jasminum/content/scripts/preferences.js:76:16 initPref@chrome://jasminum/content/scripts/preferences.js:10:5

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 addPane@chrome://zotero/content/bindings/preferences-win.xml:986:11 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2949:19 getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:5 getUpdates@chrome://jasminum/content/scripts/preferences.js:161:24 initTranslatorPanel@chrome://jasminum/content/scripts/preferences.js:76:16 initPref@chrome://jasminum/content/scripts/preferences.js:10:5

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 addPane@chrome://zotero/content/bindings/preferences-win.xml:986:11 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2949:19 getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:5 getUpdates@chrome://jasminum/content/scripts/preferences.js:161:24 initTranslatorPanel@chrome://jasminum/content/scripts/preferences.js:76:16 initPref@chrome://jasminum/content/scripts/preferences.js:10:5

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 addPane@chrome://zotero/content/bindings/preferences-win.xml:986:11 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2949:19 getContentsFromURL@chrome://zotero/content/xpcom/file.js:339:5 getUpdates@chrome://jasminum/content/scripts/preferences.js:161:24 initTranslatorPanel@chrome://jasminum/content/scripts/preferences.js:76:16 initPref@chrome://jasminum/content/scripts/preferences.js:10:5

[JavaScript Error: "XML Parsing Error: prefix not bound to a namespace Location: jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/preferences.xhtml Line Number 6, Column 12:" {file: "jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/preferences.xhtml" line: 6 column: 12 source: " "}]

[JavaScript Error: "TypeError: oldval.removeAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 229}]

[JavaScript Error: "TypeError: oldval.removeAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 229}]

[JavaScript Error: "TypeError: oldval.removeAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 229}]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "XML Parsing Error: prefix not bound to a namespace Location: jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/preferences.xhtml Line Number 6, Column 5:" {file: "jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/preferences.xhtml" line: 6 column: 5 source: " Functions</html:h2>"}]

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2947:19

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2947:19

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2947:19

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 addPane@chrome://zotero/content/bindings/preferences-win.xml:986:11 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2949:19

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 addPane@chrome://zotero/content/bindings/preferences-win.xml:986:11 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2949:19

[JavaScript Error: "TypeError: val.setAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 236}] set_selectedItem@chrome://global/content/bindings/menulist.xml:236:15 set_selectedIndex@chrome://global/content/bindings/menulist.xml:205:17 setInitialSelection@chrome://global/content/bindings/menulist.xml:95:17 menulist_XBL_Constructor@chrome://global/content/bindings/menulist.xml:77:9 addPane@chrome://zotero/content/bindings/preferences-win.xml:986:11 node_modules/zotero-plugin-toolkit/dist/managers/preferencePane.js/register/onOpenWindow/<@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/bootstrap.js -> jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoterostyle@polygon.org.xpi!/chrome/content/scripts/index.js:2949:19

[JavaScript Error: "XML Parsing Error: prefix not bound to a namespace Location: jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/preferences.xhtml Line Number 6, Column 12:" {file: "jar:file:///C:/Users/10703/AppData/Roaming/Zotero/Zotero/Profiles/n0kl03jy.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/preferences.xhtml" line: 6 column: 12 source: " "}]

[JavaScript Error: "TypeError: oldval.removeAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 229}]

[JavaScript Error: "TypeError: oldval.removeAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 229}]

[JavaScript Error: "TypeError: oldval.removeAttribute is not a function" {file: "chrome://global/content/bindings/menulist.xml" line: 229}]

[JavaScript Error: "'language' is not a valid field for type 'note'" {file: "chrome://zotero/content/xpcom/data/item.js" line: 787}]

version => 6.0.36, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => zh-CN, appName => Zotero, appVersion => 6.0.36, extensions => Jasminum (0.2.8, extension), ZotFile (5.1.2, extension), Del Item With Attachment (0.1.06, extension), Zotero PDF Translate (1.0.25, extension), Zotero Style (2.6.7, extension), Zotero LibreOffice Integration (6.0.4.SA.6.0.36, extension), Zotero Word for Windows Integration (6.0.4.SA.6.0.36, extension) (3)(+0003008): Notifier.trigger('start', 'sync', []) called [observers: 3]

(3)(+0000001): Stopping full-text content processor

(4)(+0000003): Beginning DB transaction wHDsLzsP

(4)(+0000011): Committed DB transaction wHDsLzsP

(4)(+0000001): Beginning DB transaction xRsWaMFy

(4)(+0000004): CREATE TEMPORARY TABLE tagDelete AS SELECT tagID FROM tags WHERE tagID NOT IN (SELECT tagID FROM itemTags)

(4)(+0000001): CREATE INDEX tagDelete_tagID ON tagDelete(tagID)

(4)(+0000001): SELECT tagID AS id, name FROM tagDelete JOIN tags USING (tagID)

(4)(+0000001): DROP TABLE tagDelete

(4)(+0000003): Committed DB transaction xRsWaMFy

(4)(+0000002): Beginning DB transaction 1VwicoaO

(4)(+0000002): Committed DB transaction 1VwicoaO

(3)(+0000001): Purged data tables in 27 ms

(3)(+0000001): [ConcurrentCaller] Running function (0/4 running, 0 queued)

(3)(+0000001): HTTP GET https://api.zotero.org/keys/current

(3)(+0000313): HTTP GET https://api.zotero.org/keys/current succeeded with 200

(3)(+0000001): [ConcurrentCaller] Done with function (0/4 running, 0 queued)

(3)(+0000001): { "userID": 11195086 "username": "wang9724" "displayName": "" "access": { "user": { "library": true "files": true "notes": true "write": true } "groups": { "all": { "library": true "write": true } } } }

(4)(+0000001): Beginning DB transaction Q1ce6F1P

(3)(+0000001): [ConcurrentCaller] All tasks are done

(4)(+0000008): Committed DB transaction Q1ce6F1P

(3)(+0000001): [ConcurrentCaller] Running function (0/4 running, 0 queued)

(3)(+0000001): HTTP GET https://api.zotero.org/users/11195086/groups?format=versions

(3)(+0000278): [Zotero PDF Translate] {}

(3)(+0000140): [Zotero PDF Translate] {}

(3)(+0000612): HTTP GET https://api.zotero.org/users/11195086/groups?format=versions succeeded with 200

(3)(+0000001): [ConcurrentCaller] Done with function (0/4 running, 0 queued)

(3)(+0000001): Local groups:

(3)(+0000000): []

(3)(+0000000): Final libraries to sync:

(3)(+0000001): [ "0": 1 ]

(3)(+0000001): Starting data sync for 我的文库

(4)(+0000000): SELECT setting, value FROM syncedSettings WHERE synced=0 AND libraryID=? [1]

(3)(+0000001): [ConcurrentCaller] All tasks are done

(3)(+0000001): No settings to upload in 我的文库

(4)(+0000001): SELECT O.collectionID FROM collections O WHERE libraryID=? AND synced=0 [1]

(4)(+0000001): SELECT key FROM syncQueue WHERE libraryID=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?) [1, 'collection']

(3)(+0000001): No collections to upload in 我的文库

(4)(+0000000): SELECT key FROM syncDeleteLog WHERE libraryID=? AND syncObjectTypeID=? [1, 1]

(3)(+0000001): No collection deletions to upload in 我的文库

(4)(+0000000): SELECT O.savedSearchID FROM savedSearches O WHERE libraryID=? AND synced=0 [1]

(4)(+0000003): SELECT key FROM syncQueue WHERE libraryID=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?) [1, 'search']

(3)(+0000001): No searches to upload in 我的文库

(4)(+0000000): SELECT key FROM syncDeleteLog WHERE libraryID=? AND syncObjectTypeID=? [1, 4]

(3)(+0000001): No search deletions to upload in 我的文库

(4)(+0000001): SELECT O.itemID FROM items O LEFT JOIN itemAttachments IA USING (itemID) LEFT JOIN itemNotes INo ON (O.itemID=INo.itemID) LEFT JOIN itemAnnotations IAn ON (O.itemID=IAn.itemID) WHERE libraryID=? AND synced=0 AND (IAn.isExternal IS NULL OR IAN.isExternal=0) [1]

(4)(+0000001): SELECT key FROM syncQueue WHERE libraryID=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?) [1, 'item']

(3)(+0000001): 2 items to upload in library 1

(4)(+0000000): SELECT key FROM syncDeleteLog WHERE libraryID=? AND syncObjectTypeID=? [1, 3]

(3)(+0000001): No item deletions to upload in 我的文库

(3)(+0000000): {"item":[388,401]}

(4)(+0000001): Beginning DB transaction 5Yro1UHB

(4)(+0000001): SELECT data FROM syncCache WHERE libraryID=? AND key=? AND version=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?) [1, 'HNRNJG37', 7592, 'item']

(4)(+0000002): Committed DB transaction 5Yro1UHB

(4)(+0000001): Beginning DB transaction 5QVCMT9a

(4)(+0000001): Committed DB transaction 5QVCMT9a

(3)(+0000001): UPLOAD BATCH:

(3)(+0000001): [ "0": { "key": "HNRNJG37" "version": 7592 "note": "V2JZVVZL\n{\"readingTime\":{\"page\":509,\"data\":{\"0\":10,\"7\":10,\"25\":820,\"26\":570,\"27\":20,\"28\":10,\"31\":20,\"32\":10,\"33\":10,\"287\":140,\"289\":10}}}" "dateModified": "2024-04-04T06:12:59Z" } "1": { "key": "ECGBI22Y" "version": 0 "itemType": "note" "parentItem": "V2JZVVZL" "note": "<div data-citation-items=\"%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22itemData%22%3A%7B%22id%22%3A%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%2C%22type%22%3A%22book%22%2C%22call-number%22%3A%22TL589.2.O6%20L44%202022%22%2C%22collection-title%22%3A%22The%20Artech%20House%20applied%20photonics%20series%22%2C%22edition%22%3A%22Third%20edition%22%2C%22event-place%22%3A%22Boston%22%2C%22ISBN%22%3A%22978-1-63081-862-3%22%2C%22language%22%3A%22en%22%2C%22note%22%3A%22OCLC%3A%20on1332950668%22%2C%22number-of-pages%22%3A%22479%22%2C%22publisher%22%3A%22Artech%20House%22%2C%22publisher-place%22%3A%22Boston%22%2C%22source%22%3A%22Library%20of%20Congress%20ISBN%22%2C%22title%22%3A%22The%20fiber-optic%20gyroscope%22%2C%22author%22%3A%5B%7B%22family%22%3A%22Lef%C3%A8vre%22%2C%22given%22%3A%22Herv%C3%A9%20C.%22%7D%5D%2C%22issued%22%3A%7B%22date-parts%22%3A%5B%5B%222022%22%5D%5D%7D%7D%7D%5D\" data-schema-version=\"8\">

<span class=\"highlight\" data-annotation=\"%7B%22attachmentURI%22%3A%22http%3A%2F %2Fzotero.org%2Fusers%2F11195086%2Fitems%2FFB7J6ZMI%22%2C%22pageLabel%22 %3A%22263%22%2C%22position%22%3A%7B%22rects%22%3A%5B%5D%7D%2C %22citationItem%22%3A%7B%22uris%22%3A%5B%22http%3A%2F %2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22locator %22%3A%22263%22%7D%7D\">“大多数公司都在使用PM光纤,除了史密斯工业公司[4],该公司更倾向于使用普通光纤线圈的去 偏振方法。” <span class=\"citation\" data-citation=\"%7B%22citationItems%22%3A%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22locator%22%3A%22263%22%7D%5D%2C%22properties%22%3A%7B%7D%7D\">(<span class=\"citation-item\">Lefèvre, 2022, p. 263)

\n
" "tags": [] "relations": {} "dateAdded": "2024-04-04T06:12:57Z" "dateModified": "2024-04-04T06:12:57Z" } ]

(3)(+0000001): Uploading 2 items

(3)(+0000000): Sending If-Unmodified-Since-Version: 7592

(3)(+0000001): [ConcurrentCaller] Running function (0/4 running, 0 queued)

(3)(+0000001): HTTP POST "[{"key":"HNRNJG37","version":7592,"note":"V2JZVVZL\n{\"readingTime\":{\"page\":509,\"data\":{\"0\":10,\"7\":10,\"25\":820,\"26\":570,\"27\":20,\"28\":10,\"31\":20,\"32\":10,\"33\":10,\"287\":140,\"289\":10}}}","dateModified":"2024-04-04T06:12:59Z"},{"key":"ECGBI22Y","version":0,"itemType":"note","parentItem":"V2JZVVZL","note":"<div data-citation-items=\"%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22itemData%22%3A%7B%22id%22%3A%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%2C%22type%22%3A%22book%22%2C%22call-number%22%3A%22TL589.2.O6%20L44%202022%22%2C%22collection-title%22%3A%22The%20Artech%20House%20applied%20photonics%20series%22%2C%22edition%22%3A%22Third%20edition%22%2C%22event-place%22%3A%22Boston%22%2C%22ISBN%22%3A%22978-1-63081-862-3%22%2C%22language%22%3A%22en%22%2C%22note%22%3A%22OCLC%3A%20on1332950668%22%2C%22number-of-pages%22%3A%22479%22%2C%22publisher%22%3A%22Artech%20House%22%2C%22publisher-place%22%3A%22Boston%22%2C%22sour…" (2154 chars) to https://api.zotero.org/users/11195086/items

(3)(+0000010): POST body gzipped from 2154 to 1040; 52% savings

(3)(+0000765): HTTP POST https://api.zotero.org/users/11195086/items succeeded with 200

(3)(+0000002): [ConcurrentCaller] Done with function (0/4 running, 0 queued)

(4)(+0000005): Tags haven't changed

(4)(+0000001): Relations have not changed for item 1/HNRNJG37

(4)(+0000000): Field 'dateAdded' has not changed

(4)(+0000001): Field 'dateModified' has not changed

(4)(+0000001): Note hasn't changed

(4)(+0000003): Tags haven't changed

(4)(+0000000): Relations have not changed for item 1/ECGBI22Y

(4)(+0000001): Field 'dateAdded' has not changed

(4)(+0000000): Field 'dateModified' has not changed

(4)(+0000001): Note hasn't changed

(3)(+0000001): Saving to sync cache:

(3)(+0000002): [ "0": { "key": "HNRNJG37" "version": 7593 "library": { "type": "user" "id": 11195086 "name": "wang9724" "links": { "alternate": { "href": "https://www.zotero.org/wang9724" "type": "text/html" } } } "links": { "self": { "href": "https://api.zotero.org/users/11195086/items/HNRNJG37" "type": "application/json" } "alternate": { "href": "https://www.zotero.org/wang9724/items/HNRNJG37" "type": "text/html" } "up": { "href": "https://api.zotero.org/users/11195086/items/JQ74HHQP" "type": "application/json" } } "meta": { "numChildren": 0 } "data": { "key": "HNRNJG37" "version": 7593 "parentItem": "JQ74HHQP" "itemType": "note" "note": "V2JZVVZL\n{\"readingTime\":{\"page\":509,\"data\":{\"0\":10,\"7\":10,\"25\":820,\"26\":570,\"27\":20,\"28\":10,\"31\":20,\"32\":10,\"33\":10,\"287\":140,\"289\":10}}}" "tags": [] "relations": {} "dateAdded": "2024-04-03T13:46:26Z" "dateModified": "2024-04-04T06:12:59Z" } } "1": { "key": "ECGBI22Y" "version": 7593 "library": { "type": "user" "id": 11195086 "name": "wang9724" "links": { "alternate": { "href": "https://www.zotero.org/wang9724" "type": "text/html" } } } "links": { "self": { "href": "https://api.zotero.org/users/11195086/items/ECGBI22Y" "type": "application/json" } "alternate": { "href": "https://www.zotero.org/wang9724/items/ECGBI22Y" "type": "text/html" } "up": { "href": "https://api.zotero.org/users/11195086/items/V2JZVVZL" "type": "application/json" } } "meta": { "numChildren": 0 } "data": { "key": "ECGBI22Y" "version": 7593 "parentItem": "V2JZVVZL" "itemType": "note" "note": "<div data-citation-items=\"%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22itemData%22%3A%7B%22id%22%3A%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%2C%22type%22%3A%22book%22%2C%22call-number%22%3A%22TL589.2.O6%20L44%202022%22%2C%22collection-title%22%3A%22The%20Artech%20House%20applied%20photonics%20series%22%2C%22edition%22%3A%22Third%20edition%22%2C%22event-place%22%3A%22Boston%22%2C%22ISBN%22%3A%22978-1-63081-862-3%22%2C%22language%22%3A%22en%22%2C%22note%22%3A%22OCLC%3A%20on1332950668%22%2C%22number-of-pages%22%3A%22479%22%2C%22publisher%22%3A%22Artech%20House%22%2C%22publisher-place%22%3A%22Boston%22%2C%22source%22%3A%22Library%20of%20Congress%20ISBN%22%2C%22title%22%3A%22The%20fiber-optic%20gyroscope%22%2C%22author%22%3A%5B%7B%22family%22%3A%22Lef%C3%A8vre%22%2C%22given%22%3A%22Herv%C3%A9%20C.%22%7D%5D%2C%22issued%22%3A%7B%22date-parts%22%3A%5B%5B%222022%22%5D%5D%7D%7D%7D%5D\" data-schema-version=\"8\">

<span class=\"highlight\" data-annotation=\"%7B%22attachmentURI%22%3A%22http%3A%2F %2Fzotero.org%2Fusers%2F11195086%2Fitems%2FFB7J6ZMI%22%2C%22pageLabel%22 %3A%22263%22%2C%22position%22%3A%7B%22rects%22%3A%5B%5D%7D%2C %22citationItem%22%3A%7B%22uris%22%3A%5B%22http%3A%2F %2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22locator %22%3A%22263%22%7D%7D\">“大多数公司都在使用PM光纤,除了史密斯工业公司[4],该公司更倾向于使用普通光纤线圈的去 偏振方法。” <span class=\"citation\" data-citation=\"%7B%22citationItems%22%3A%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22locator%22%3A%22263%22%7D%5D%2C%22properties%22%3A%7B%7D%7D\">(<span class=\"citation-item\">Lefèvre, 2022, p. 263)

\n
" "tags": [] "relations": {} "dateAdded": "2024-04-04T06:12:57Z" "dateModified": "2024-04-04T06:12:57Z" } } ]

(4)(+0000003): INSERT OR REPLACE INTO syncCache (libraryID, key, syncObjectTypeID, version, data) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?) [1, 'HNRNJG37', 3, 7593, '{"key":"HNRNJG37","version":7593,"library":{"type":"user","id":11195086,"name":"wang9724","links":{"alternate":{"href":"https://www.zotero.org/wang9724","type":"text/html"}}},"links":{"self":{"href":"https://api.zotero.org/users/11195086/items/HNRNJG37","type":"application/json"},"alternate":{"href":"https://www.zotero.org/wang9724/items/HNRNJG37","type":"text/html"},"up":{"href":"https://api.zotero.org/users/11195086/items/JQ74HHQP","type":"application/json"}},"meta":{"numChildren":0},"data":{"key":"HNRNJG37","version":7593,"parentItem":"JQ74HHQP","itemType":"note","note":"V2JZVVZL\n{\"readingTime\":{\"page\":509,\"data\":{\"0\":10,\"7\":10,\"25\":820,\"26\":570,\"27\":20,\"28\":10,\"31\":20,\"32\":10,\"33\":10,\"287\":140,\"289\":10}}}","tags":[],"relations":{},"dateAdded":"2024-04-03T13:46:26Z","dateModified":"2024-04-04T06:12:59Z"}}', 1, 'ECGBI22Y', 3, 7593, '{"key":"ECGBI22Y","version":7593,"library":{"type":"user","id":11195086,"name":"wang9724","links":{"alternate":{"href":"https://www.zotero.org/wang9724","type":"text/html"}}},"links":{"self":{"href":"https://api.zotero.org/users/11195086/items/ECGBI22Y","type":"application/json"},"alternate":{"href":"https://www.zotero.org/wang9724/items/ECGBI22Y","type":"text/html"},"up":{"href":"https://api.zotero.org/users/11195086/items/V2JZVVZL","type":"application/json"}},"meta":{"numChildren":0},"data":{"key":"ECGBI22Y","version":7593,"parentItem":"V2JZVVZL","itemType":"note","note":"<div data-citation-items=\"%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22itemData%22%3A%7B%22id%22%3A%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%2C%22type%22%3A%22book%22%2C%22call-number%22%3A%22TL589.2.O6%20L44%202022%22%2C%22collection-title%22%3A%22The%20Artech%20House%20applied%20photonics%20series%22%2C%22edition%22%3A%22Third%20edition%22%2C%22event-place%22%3A%22Boston%22%2C%22ISBN%22%3A%22978-1-63081-862-3%22%2C%22language%22%3A%22en%22%2C%22note%22%3A%22OCLC%3A%20on1332950668%22%2C%22number-of-pages%22%3A%22479%22%2C%22publisher%22%3A%22Artech%20House%22%2C%22publisher-place%22%3A%22Boston%22%2C%22source%22%3A%22Library%20of%20Congress%20ISBN%22%2C%22title%22%3A%22The%20fiber-optic%20gyroscope%22%2C%22author%22%3A%5B%7B%22family%22%3A%22Lef%C3%A8vre%22%2C%22given%22%3A%22Herv%C3%A9%20C.%22%7D%5D%2C%22issued%22%3A%7B%22date-parts%22%3A%5B%5B%222022%22%5D%5D%7D%7D%7D%5D\" data-schema-version=\"8\">

<span class=\"highlight\" data-annotation=\"%7B%22attachmentURI%22%3A%22http%3A%2F %2Fzotero.org%2Fusers%2F11195086%2Fitems%2FFB7J6ZMI%22%2C%22pageLabel%22 %3A%22263%22%2C%22position%22%3A%7B%22rects%22%3A%5B%5D%7D%2C %22citationItem%22%3A%7B%22uris%22%3A%5B%22http%3A%2F %2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22locator %22%3A%22263%22%7D%7D\">“大多数公司都在使用PM光纤,除了史密斯工业公司[4],该公司更倾向于使用普通光纤线圈的去 偏振方法。” <span class=\"citation\" data-citation=\"%7B%22citationItems%22%3A%5B%7B%22uris%22%3A%5B%22http%3A%2F%2Fzotero.org%2Fusers%2F11195086%2Fitems%2FV2JZVVZL%22%5D%2C%22locator%22%3A%22263%22%7D%5D%2C%22properties%22%3A%7B%7D%7D\">(<span class=\"citation-item\">Lefèvre, 2022, p. 263)

\n","tags":[],"relations":{},"dateAdded":"2024-04-04T06:12:57Z","dateModified":"2024-04-04T06:12:57Z"}}']

(3)(+0000004): [ConcurrentCaller] All tasks are done

(4)(+0000007): Beginning DB transaction 9jgvazFA

(4)(+0000006): Item 388 has not changed

(4)(+0000004): Item 401 has not changed

(4)(+0000002): Updating database with new library data

(4)(+0000001): UPDATE libraries SET version=? WHERE libraryID=? [7593, 1]

(4)(+0000008): UPDATE items SET version=7593 WHERE itemID IN (?, ?) [388, 401]

(4)(+0000002): UPDATE items SET synced=1 WHERE itemID IN (?, ?) [388, 401]

(4)(+0000007): Committed DB transaction 9jgvazFA

(4)(+0000001): DELETE FROM syncCache WHERE ROWID IN (SELECT SC.ROWID FROM syncCache SC LEFT JOIN items O USING (libraryID, key, version) WHERE syncObjectTypeID=? AND SC.libraryID=? AND (O.libraryID IS NULL OR SC.version < O.version)) [3, 1]

(2)(+0000006): Failed: 0

(4)(+0000000): Unregistering notifier observer in notifier with id 'itemsUpload_aw'

(3)(+0000001): Done uploading items in library 1

(3)(+0000000): {}

(4)(+0000001): Upload result is 1

(4)(+0000001): Updating database with new library data

(4)(+0000000): Beginning DB transaction D1S60K66

(4)(+0000006): UPDATE libraries SET lastSync=? WHERE libraryID=? [1712211184, 1]

(4)(+0000007): Committed DB transaction D1S60K66

(3)(+0000001): Done syncing 我的文库

(4)(+0000001): REPLACE INTO version (schema, version) VALUES ('lastsync', ?) [1712211184]

(3)(+0000006): Starting file syncing

(3)(+0000001): Done with file syncing

(3)(+0000000): Starting full-text syncing

(3)(+0000001): Done with full-text syncing

(3)(+0000001): Done syncing

(3)(+0000001): Notifier.trigger('finish', 'sync', []) called [observers: 3]

(4)(+0000001): SELECT libraryID AS id FROM feeds WHERE refreshInterval IS NOT NULL AND ( lastCheck IS NULL OR (julianday(lastCheck, 'utc') + (refreshInterval/1440.0) - julianday('now', 'utc')) <= 0 )

(3)(+0000002): Running update for feeds:

(3)(+0000001): All feed updates done

(3)(+0000000): Scheduling next feed update

(4)(+0000000): SELECT ( CASE WHEN lastCheck IS NULL THEN 0 ELSE strftime('%s', lastCheck) + refreshInterval * 60 - strftime('%s', 'now') END ) AS nextCheck FROM feeds WHERE refreshInterval IS NOT NULL ORDER BY nextCheck ASC LIMIT 1

(3)(+0000002): No feeds with auto-update

(3)(+0002637): WebSocket message: {"event":"topicUpdated","topic":"/users/11195086","version":7593}

(3)(+0000000): Library is already up to date

Anything else?

No response

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 days ago

This issue was closed because it has been inactive for 7 days since being marked as stale.