Closed fan291752035 closed 2 years ago
见 #101 我不能稳定复现这个问题,推测是由于其他插件或zotero在更新标题的同时触发了某些动作,导致错乱。如果你可以稳定复现,参见#6 提供debug输出,我会尝试排查问题。
[JavaScript Error: "TypeError: titleSpans[i] is undefined" {file: "chrome://zoteropdftranslate/content/scripts/index.js" line: 766}]
version => 6.0.5, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => zh-CN, appName => Zotero, appVersion => 6.0.5, extensions => Delitem (0.0.14, extension), Jasminum (0.1.6, extension), ZotFile (5.1.1, extension), Zotero LibreOffice Integration (6.0.0.SA.6.0.5, extension), Zotero Word for Windows Integration (6.0.0.SA.6.0.5, extension), Zotero IF Pro (1.9.5, extension), Zotero PDF Translate (0.7.4, extension)
(3)(+0061739): Getting contents of C:\Users\29175\AppData\Roaming\Zotero\Zotero\Profiles\x2a8hr08.default\treePrefs.json
(3)(+0000005): Writing column prefs of length 4373 to file C:\Users\29175\AppData\Roaming\Zotero\Zotero\Profiles\x2a8hr08.default\treePrefs.json
(4)(+0012152): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(4)(+0000067): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(4)(+0000013): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(4)(+0000006): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(4)(+0000010): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(3)(+0000007): MIME type application/pdf cannot be handled internally
(4)(+0000003): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(3)(+0000020): **Jasminum selected item length: 1
(3)(+0000001): **Jasminum show menu: search false name true boomark false
(3)(+0002096): ZoteroPDFTranslate: onTranslateTitle, type=items
(3)(+0000428): HTTP GET http://api.niutrans.com/NiuTransServer/translation?apifrom=en&to=zh&src_text=Mn2O3%20as%20an%20Electron%20Shuttle%20between%20Peroxymonosulfate%20and%20Organic%20Pollutants%3A%20The%20Dominant%20Role%20of%20Surface%20Reactive%20Mn(IV)%20Species&source=text&dictNo=&memoryNo=&isUseDict=0&isUseMemory=0&time=1651051354391 succeeded with 200
(3)(+0000011): [object XMLHttpRequest] { "open": function open() { [native code] } "setRequestHeader": function setRequestHeader() { [native code] } "send": function send() { [native code] } "abort": function abort() { [native code] } "getResponseHeader": function getResponseHeader() { [native code] } "getAllResponseHeaders": function getAllResponseHeaders() { [native code] } "overrideMimeType": function overrideMimeType() { [native code] } "onreadystatechange": null "readyState": 4 "timeout": 30000 "withCredentials": false "upload": [object XMLHttpRequestUpload] { "onloadstart": null "onprogress": null "onabort": null "onerror": null "onload": null "ontimeout": null "onloadend": null "addEventListener": function addEventListener() { [native code] } "removeEventListener": function removeEventListener() { [native code] } "dispatchEvent": function dispatchEvent() { [native code] } "setEventHandler": function setEventHandler() { [native code] } "getEventHandler": function getEventHandler() { [native code] } "ownerGlobal": null } "responseURL": "http://api.niutrans.com/NiuTransServer/translation?apikey=9bd52cca674b6187015eb4d180a69552&from=en&to=zh&src_text=Mn2O3%20as%20an%20Electron%20Shuttle%20between%20Peroxymonosulfate%20and%20Organic%20Pollutants%3A%20The%20Dominant%20Role%20of%20Surface%20Reactive%20Mn(IV)%20Species&source=text&dictNo=&memoryNo=&isUseDict=0&isUseMemory=0&time=1651051354391" "status": 200 "statusText": "OK" "responseType": "json" "response": { "tgt_text": "Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用" "to": "zh" "from": "en" } "responseText": <
(3)(+0000014): Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用
(4)(+0000004): Updating database with new item data
(4)(+0000001): Beginning DB transaction VpQ9iznY
(4)(+0000022): UPDATE items SET synced=?, clientDateModified=?, dateModified=? WHERE itemID=? [0, '2022-04-27 09:22:34', '2022-04-27 09:22:34', 2475]
(3)(+0000008): Notifier.trigger('modify', 'item', [2475], {}) queued
(4)(+0000000): SELECT valueID FROM itemDataValues WHERE value=? ['🔤Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用']
(4)(+0000086): SELECT O.itemID, O.itemTypeID, O.dateAdded, O.dateModified, O.libraryID, O.key, O.version, O.synced, createdByUserID, lastModifiedByUserID, COALESCE(CASE (SELECT COUNT() FROM itemCreators IC LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1) WHEN 2 THEN (SELECT (SELECT lastName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1) || ' 和 ' || (SELECT lastName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1,1)) ELSE (SELECT (SELECT lastName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1) || ' 等。' ) END, CASE (SELECT COUNT() FROM itemCreators WHERE itemID=O.itemID AND creatorTypeID=10) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10) WHEN 2 THEN (SELECT (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1) || ' 和 ' || (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1,1) ) ELSE (SELECT (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1) || ' 等。' ) END, CASE (SELECT COUNT() FROM itemCreators WHERE itemID=O.itemID AND creatorTypeID=2) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2) WHEN 2 THEN (SELECT (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1) || ' 和 ' || (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1,1) ) ELSE (SELECT (SELECT lastName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1) || ' 等。' ) END) AS firstCreator, COALESCE(CASE (SELECT COUNT() FROM itemCreators IC LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName || ' ' || firstName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1) WHEN 2 THEN (SELECT (SELECT lastName || ' ' || firstName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1,1)) ELSE (SELECT (SELECT lastName || ' ' || firstName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 1,1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators IC NATURAL JOIN creators LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=O.itemTypeID) WHERE itemID=O.itemID AND primaryField=1 ORDER BY orderIndex LIMIT 2,1)) END, CASE (SELECT COUNT() FROM itemCreators WHERE itemID=O.itemID AND creatorTypeID=10) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10) WHEN 2 THEN (SELECT (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1,1) ) ELSE (SELECT (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 1,1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=10 ORDER BY orderIndex LIMIT 2,1)) END, CASE (SELECT COUNT() FROM itemCreators WHERE itemID=O.itemID AND creatorTypeID=2) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2) WHEN 2 THEN (SELECT (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1,1) ) ELSE (SELECT (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 1,1) || ' ' || (SELECT lastName || ' ' || firstName FROM itemCreators NATURAL JOIN creators WHERE itemID=O.itemID AND creatorTypeID=2 ORDER BY orderIndex LIMIT 2,1)) END) AS sortCreator, DI.itemID IS NOT NULL AS deleted, PI.itemID IS NOT NULL AS inPublications, (CASE O.itemTypeID WHEN 2 THEN IAP.itemID WHEN 26 THEN INoP.itemID WHEN 37 THEN IAnP.itemID END) AS parentID, (CASE O.itemTypeID WHEN 2 THEN IAP.key WHEN 26 THEN INoP.key WHEN 37 THEN IAnP.key END) AS parentKey, CS.charset AS attachmentCharset, IA.linkMode AS attachmentLinkMode, IA.contentType AS attachmentContentType, IA.path AS attachmentPath, IA.syncState AS attachmentSyncState, IA.storageModTime AS attachmentSyncedModificationTime, IA.storageHash AS attachmentSyncedHash, IA.lastProcessedModificationTime AS attachmentLastProcessedModificationTime, FI.guid AS feedItemGUID, FI.readTime AS feedItemReadTime, FI.translatedTime AS feedItemTranslatedTime FROM items O LEFT JOIN itemAttachments IA USING (itemID) LEFT JOIN items IAP ON (IA.parentItemID=IAP.itemID) LEFT JOIN itemNotes INo ON (O.itemID=INo.itemID) LEFT JOIN items INoP ON (INo.parentItemID=INoP.itemID) LEFT JOIN itemAnnotations IAn ON (O.itemID=IAn.itemID) LEFT JOIN items IAnP ON (IAn.parentItemID=IAnP.itemID) LEFT JOIN deletedItems DI ON (O.itemID=DI.itemID) LEFT JOIN publicationsItems PI ON (O.itemID=PI.itemID) LEFT JOIN charsets CS ON (IA.charsetID=CS.charsetID)LEFT JOIN groupItems GI ON (O.itemID=GI.itemID) LEFT JOIN feedItems FI ON (FI.itemID=O.itemID) WHERE 1 AND O.itemID=? [2475]
(3)(+0000038): Loading itemData for 1 item in 我的文库
(4)(+0000001): SELECT itemID, fieldID, value FROM items JOIN itemData USING (itemID) JOIN itemDataValues USING (valueID) WHERE libraryID=? AND itemTypeID!=? AND itemID IN (2475) [1, 26]
(4)(+0000046): SELECT itemID FROM items WHERE libraryID=? AND itemID IN (2475) [1]
(4)(+0000034): SELECT itemID, title FROM items JOIN itemNotes USING (itemID) WHERE libraryID=? AND itemID NOT IN (SELECT itemID FROM itemAttachments) AND itemID IN (2475) [1]
(3)(+0000020): Loaded itemData in 我的文库 in 102 ms
(4)(+0000171): Committed DB transaction VpQ9iznY
(3)(+0000001): Committing notifier event queue [modify-item: 1]
(3)(+0000001): Notifier.trigger('modify', 'item', [2475], {"2475":{}}) called [observers: 19]
(3)(+0000002): Yielding for refresh promise
(3)(+0000002): Sorting items list by dateAdded, firstCreator, date, title descending
(3)(+0000007): Sorted 60 items in 7 ms
(3)(+0000004): itemTree.render(). Displaying Item Tree
(3)(+0000141): Yielding for select promise
(3)(+0000002): ZoteroTag: add items when event == add
(3)(+0000002): Refreshing item box
(3)(+0000032): ZoteroTag: add items when event == add
(3)(+0000012): Setting auto-sync timeout to 3 seconds
(4)(+0000002): DROP TABLE IF EXISTS tmpSearchResults_zUYSGrex
(4)(+0000036): SELECT IA.itemID FROM itemAttachments IA NATURAL JOIN items I LEFT JOIN itemData ID ON (IA.itemID=ID.itemID AND fieldID=13) LEFT JOIN itemDataValues IDV ON (ID.valueID=IDV.valueID) WHERE parentItemID=? AND linkMode NOT IN (3) AND IA.itemID NOT IN (SELECT itemID FROM deletedItems) ORDER BY contentType='application/pdf' DESC, value=? DESC, dateAdded ASC [2475, 'https://doi.org/10.1021/acs.est.1c08790']
(3)(+0000213): { "2475": "Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用" }
(3)(+0000002): ZoteroPDFTranslate: onSwitchTitle, true
(3)(+0000001): ZoteroPDFTranslate: switch in 0
(3)(+0000001): ZoteroPDFTranslate: switch in 1
(3)(+0000002): ZoteroPDFTranslate: switch in 2
(3)(+0000002): ZoteroPDFTranslate: switch in 3
(3)(+0000001): ZoteroPDFTranslate: switch in 6
(3)(+0000001): ZoteroPDFTranslate: switch in 7
(3)(+0000001): ZoteroPDFTranslate: switch in 8
(3)(+0000000): ZoteroPDFTranslate: switch in 9
(3)(+0000001): ZoteroPDFTranslate: switch in 10
(3)(+0000000): ZoteroPDFTranslate: switch in 11
(3)(+0000001): ZoteroPDFTranslate: switch in 12
(3)(+0000000): ZoteroPDFTranslate: switch in 13
(3)(+0000002): ZoteroPDFTranslate: switch in 36
(3)(+0000001): ZoteroPDFTranslate: switch in 37
(3)(+0000001): ZoteroPDFTranslate: switch in 38
(3)(+0000000): ZoteroPDFTranslate: switch in 41
(3)(+0000001): ZoteroPDFTranslate: switch in 49
(3)(+0002759): Notifier.trigger('start', 'sync', []) called [observers: 3]
(3)(+0000002): Stopping full-text content processor
(4)(+0000013): Beginning DB transaction 8PzNDr3E
(4)(+0000020): Committed DB transaction 8PzNDr3E
(4)(+0000001): Beginning DB transaction b20BTcMH
(4)(+0000002): CREATE TEMPORARY TABLE tagDelete AS SELECT tagID FROM tags WHERE tagID NOT IN (SELECT tagID FROM itemTags)
(4)(+0000003): CREATE INDEX tagDelete_tagID ON tagDelete(tagID)
(4)(+0000004): SELECT tagID AS id, name FROM tagDelete JOIN tags USING (tagID)
(4)(+0000005): DROP TABLE tagDelete
(4)(+0000003): Committed DB transaction b20BTcMH
(4)(+0000003): Beginning DB transaction llSX0agR
(4)(+0000017): Committed DB transaction llSX0agR
(3)(+0000002): Purged data tables in 61 ms
(3)(+0000001): [ConcurrentCaller] Running function (0/4 running, 0 queued)
(3)(+0000001): HTTP GET https://api.zotero.org/keys/current
(3)(+0001844): HTTP GET https://api.zotero.org/keys/current succeeded with 200
(3)(+0000000): [ConcurrentCaller] Done with function (0/4 running, 0 queued)
(3)(+0000001): { "userID": 7942227 "username": "Fan Zhiheng" "displayName": "" "access": { "user": { "library": true "files": true "notes": true "write": true } "groups": { "all": { "library": true "write": true } } } }
(4)(+0000002): Beginning DB transaction yTEDcd3O
(3)(+0000000): [ConcurrentCaller] All tasks are done
(4)(+0000006): Committed DB transaction yTEDcd3O
(3)(+0000002): [ConcurrentCaller] Running function (0/4 running, 0 queued)
(3)(+0000001): HTTP GET https://api.zotero.org/users/7942227/groups?format=versions
(3)(+0000519): HTTP GET https://api.zotero.org/users/7942227/groups?format=versions succeeded with 200
(3)(+0000001): [ConcurrentCaller] Done with function (0/4 running, 0 queued)
(3)(+0000000): Local groups:
(3)(+0000000): []
(3)(+0000000): Final libraries to sync:
(3)(+0000000): [ "0": 1 ]
(3)(+0000001): Starting data sync for 我的文库
(4)(+0000001): SELECT setting, value FROM syncedSettings WHERE synced=0 AND libraryID=? [1]
(3)(+0000001): [ConcurrentCaller] All tasks are done
(3)(+0000014): No settings to upload in 我的文库
(4)(+0000001): SELECT O.collectionID FROM collections O WHERE libraryID=? AND synced=0 [1]
(4)(+0000004): SELECT key FROM syncQueue WHERE libraryID=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?) [1, 'collection']
(3)(+0000000): No collections to upload in 我的文库
(4)(+0000001): SELECT key FROM syncDeleteLog WHERE libraryID=? AND syncObjectTypeID=? [1, 1]
(3)(+0000000): No collection deletions to upload in 我的文库
(4)(+0000000): SELECT O.savedSearchID FROM savedSearches 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, 'search']
(3)(+0000000): 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)(+0000000): 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)(+0000000): 1 item to upload in library 1
(4)(+0000001): SELECT key FROM syncDeleteLog WHERE libraryID=? AND syncObjectTypeID=? [1, 3]
(3)(+0000003): No item deletions to upload in 我的文库
(3)(+0000000): {"item":[2475]}
(4)(+0000001): Beginning DB transaction 3SVyuBbw
(4)(+0000007): SELECT data FROM syncCache WHERE libraryID=? AND key=? AND version=? AND syncObjectTypeID IN (SELECT syncObjectTypeID FROM syncObjectTypes WHERE name=?) [1, 'YD78YQFF', 4330, 'item']
(4)(+0000009): Committed DB transaction 3SVyuBbw
(3)(+0000001): UPLOAD BATCH:
(3)(+0000000): [ "0": { "key": "YD78YQFF" "version": 4330 "shortTitle": "🔤Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用" "dateModified": "2022-04-27T09:22:34Z" } ]
(3)(+0000000): Uploading 1 item
(3)(+0000000): Sending If-Unmodified-Since-Version: 4917
(3)(+0000001): [ConcurrentCaller] Running function (0/4 running, 0 queued)
(3)(+0000001): HTTP POST "[{"key":"YD78YQFF","version":4330,"shortTitle":"🔤Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用","dateModified":"2022-04-27T09:22:34Z"}]" to https://api.zotero.org/users/7942227/items
(3)(+0000762): HTTP POST https://api.zotero.org/users/7942227/items succeeded with 200
(3)(+0000000): [ConcurrentCaller] Done with function (0/4 running, 0 queued)
(4)(+0000006): Creator in position 0 hasn't changed
(4)(+0000000): Creator in position 1 hasn't changed
(4)(+0000000): Creator in position 2 hasn't changed
(4)(+0000000): Creator in position 3 hasn't changed
(4)(+0000003): Tags haven't changed
(4)(+0000000): Relations have not changed for item 1/YD78YQFF
(4)(+0000001): Field 'dateAdded' has not changed
(4)(+0000000): Field 'dateModified' has not changed
(3)(+0000000): Collections have not changed for item 2475
(3)(+0000002): Saving to sync cache:
(3)(+0000001): [ "0": { "key": "YD78YQFF" "version": 4918 "library": { "type": "user" "id": 7942227 "name": "Fan Zhiheng" "links": { "alternate": { "href": "https://www.zotero.org/fan_zhiheng" "type": "text/html" } } } "links": { "self": { "href": "https://api.zotero.org/users/7942227/items/YD78YQFF" "type": "application/json" } "alternate": { "href": "https://www.zotero.org/fan_zhiheng/items/YD78YQFF" "type": "text/html" } } "meta": { "creatorSummary": "Li et al." "parsedDate": "2022-04-05" "numChildren": 2 } "data": { "key": "YD78YQFF" "version": 4918 "itemType": "journalArticle" "title": "Mn2O3 as an Electron Shuttle between Peroxymonosulfate and Organic Pollutants: The Dominant Role of Surface Reactive Mn(IV) Species" "creators": [ "0": { "creatorType": "author" "firstName": "Hongchao" "lastName": "Li" } "1": { "creatorType": "author" "firstName": "Na" "lastName": "Yuan" } "2": { "creatorType": "author" "firstName": "Jieshu" "lastName": "Qian" } "3": { "creatorType": "author" "firstName": "Bingcai" "lastName": "Pan" } ] "abstractNote": "The environmentally benign Mn oxides play a crucial role in the transformation of organic contaminants, either through catalytically decomposing oxidants, e.g., peroxymonosulfate (PMS), or through directly oxidizing the target pollutants. Because of their dual roles and the complex surface chemical reactions, the mechanism involved in Mn oxide-catalyzed PMS activation processes remains obscure. Here, we clearly elucidate the mechanism involved in the Mn2O3 catalyzed PMS activation process by means of separating the PMS activation and the pollutant oxidation process. Mn2O3 acts as a shuttle that mediates the electron transfer from organic substrates to PMS, accompanied by the redox cycle of surface Mn(IV)/Mn(III). Multiple experimental results indicate that PMS is bound to the surface of Mn2O3 to form an inner-sphere complex, which then decomposes to form long-lived surface reactive Mn(IV) species, without the generation of sulfate radicals (SO4•–) and hydroxyl radicals (HO•). The surface reactive Mn(IV) species are proposed to be responsible for the degradation of organic contaminants (e.g., phenol) and the formation of singlet oxygen (1O2), followed by the regeneration of the surface Mn(III) sites on Mn2O3. This study advances the fundamental understanding of the underlying mechanism involved in transition metal oxide-catalyzed PMS activation processes." "publicationTitle": "Environmental Science & Technology" "volume": "56" "issue": "7" "pages": "4498-4506" "date": "2022-04-05" "series": "" "seriesTitle": "" "seriesText": "" "journalAbbreviation": "Environ. Sci. Technol." "language": "" "DOI": "10.1021/acs.est.1c08790" "ISSN": "0013-936X" "shortTitle": "🔤Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用" "url": "https://doi.org/10.1021/acs.est.1c08790" "accessDate": "2022-04-18T05:38:06Z" "archive": "" "archiveLocation": "0 citation(s)" "libraryCatalog": "1" "callNumber": "9.028" "rights": "⭐⭐⭐⭐⭐" "extra": "Publisher: American Chemical Society" "tags": [ "0": { "tag": "_emphasis" } ] "collections": [ "0": "RD3EDFT6" ] "relations": {} "dateAdded": "2022-04-18T05:38:06Z" "dateModified": "2022-04-27T09:22:34Z" } } ]
(4)(+0000001): INSERT OR REPLACE INTO syncCache (libraryID, key, syncObjectTypeID, version, data) VALUES (?, ?, ?, ?, ?) [1, 'YD78YQFF', 3, 4918, '{"key":"YD78YQFF","version":4918,"library":{"type":"user","id":7942227,"name":"Fan Zhiheng","links":{"alternate":{"href":"https://www.zotero.org/fan_zhiheng","type":"text/html"}}},"links":{"self":{"href":"https://api.zotero.org/users/7942227/items/YD78YQFF","type":"application/json"},"alternate":{"href":"https://www.zotero.org/fan_zhiheng/items/YD78YQFF","type":"text/html"}},"meta":{"creatorSummary":"Li et al.","parsedDate":"2022-04-05","numChildren":2},"data":{"key":"YD78YQFF","version":4918,"itemType":"journalArticle","title":"Mn2O3 as an Electron Shuttle between Peroxymonosulfate and Organic Pollutants: The Dominant Role of Surface Reactive Mn(IV) Species","creators":[{"creatorType":"author","firstName":"Hongchao","lastName":"Li"},{"creatorType":"author","firstName":"Na","lastName":"Yuan"},{"creatorType":"author","firstName":"Jieshu","lastName":"Qian"},{"creatorType":"author","firstName":"Bingcai","lastName":"Pan"}],"abstractNote":"The environmentally benign Mn oxides play a crucial role in the transformation of organic contaminants, either through catalytically decomposing oxidants, e.g., peroxymonosulfate (PMS), or through directly oxidizing the target pollutants. Because of their dual roles and the complex surface chemical reactions, the mechanism involved in Mn oxide-catalyzed PMS activation processes remains obscure. Here, we clearly elucidate the mechanism involved in the Mn2O3 catalyzed PMS activation process by means of separating the PMS activation and the pollutant oxidation process. Mn2O3 acts as a shuttle that mediates the electron transfer from organic substrates to PMS, accompanied by the redox cycle of surface Mn(IV)/Mn(III). Multiple experimental results indicate that PMS is bound to the surface of Mn2O3 to form an inner-sphere complex, which then decomposes to form long-lived surface reactive Mn(IV) species, without the generation of sulfate radicals (SO4•–) and hydroxyl radicals (HO•). The surface reactive Mn(IV) species are proposed to be responsible for the degradation of organic contaminants (e.g., phenol) and the formation of singlet oxygen (1O2), followed by the regeneration of the surface Mn(III) sites on Mn2O3. This study advances the fundamental understanding of the underlying mechanism involved in transition metal oxide-catalyzed PMS activation processes.","publicationTitle":"Environmental Science & Technology","volume":"56","issue":"7","pages":"4498-4506","date":"2022-04-05","series":"","seriesTitle":"","seriesText":"","journalAbbreviation":"Environ. Sci. Technol.","language":"","DOI":"10.1021/acs.est.1c08790","ISSN":"0013-936X","shortTitle":"🔤Mn2O3作为过氧单硫酸盐和有机污染物之间的电子穿梭:表面活性Mn(Ⅳ)物种的主导作用","url":"https://doi.org/10.1021/acs.est.1c08790","accessDate":"2022-04-18T05:38:06Z","archive":"","archiveLocation":"0 citation(s)","libraryCatalog":"1","callNumber":"9.028","rights":"⭐⭐⭐⭐⭐","extra":"Publisher: American Chemical Society","tags":[{"tag":"_emphasis"}],"collections":["RD3EDFT6"],"relations":{},"dateAdded":"2022-04-18T05:38:06Z","dateModified":"2022-04-27T09:22:34Z"}}']
(3)(+0000001): [ConcurrentCaller] All tasks are done
(4)(+0000128): Beginning DB transaction TQzF0qh7
(4)(+0000002): Item 2475 has not changed
(4)(+0000001): Updating database with new library data
(4)(+0000001): UPDATE libraries SET version=? WHERE libraryID=? [4918, 1]
(4)(+0000002): UPDATE items SET version=4918 WHERE itemID IN (?) [2475]
(4)(+0000001): UPDATE items SET synced=1 WHERE itemID IN (?) [2475]
(4)(+0000125): Committed DB transaction TQzF0qh7
(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)(+0000104): Failed: 0
(4)(+0000000): Unregistering notifier observer in notifier with id 'itemsUpload_gL'
(3)(+0000000): Done uploading items in library 1
(3)(+0000000): {}
(4)(+0000000): Upload result is 1
(4)(+0000001): Updating database with new library data
(4)(+0000000): Beginning DB transaction DAnd8PDQ
(4)(+0000003): UPDATE libraries SET lastSync=? WHERE libraryID=? [1651051362, 1]
(4)(+0000091): Committed DB transaction DAnd8PDQ
(3)(+0000001): Done syncing 我的文库
(4)(+0000000): REPLACE INTO version (schema, version) VALUES ('lastsync', ?) [1651051362]
(3)(+0000125): Starting file syncing
(3)(+0000001): Done with file syncing
(3)(+0000001): Done syncing
(3)(+0000001): Notifier.trigger('finish', 'sync', []) called [observers: 3]
(4)(+0000000): 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)(+0000011): Running update for feeds:
(3)(+0000000): All feed updates done
(3)(+0000001): 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)(+0000007): No feeds with auto-update
(3)(+0002422): WebSocket message: {"event":"topicUpdated","topic":"/users/7942227","version":4918}
(3)(+0000000): Library is already up to date
谢谢!我将会持续跟进这个问题。
作者大大,我发现一个现象 你从第一篇文献依次翻译好像没问题,当你翻译完整个可视界面的时候,往下再翻译下一个的时候,之前翻译的所有的标题会在原标题栏里依次排序,造成错乱。似乎翻译后的短标题与可视界面之间有点bug
作者大大,我发现一个现象 你从第一篇文献依次翻译好像没问题,当你翻译完整个可视界面的时候,往下再翻译下一个的时候,之前翻译的所有的标题会在原标题栏里依次排序,造成错乱。似乎翻译后的短标题与可视界面之间有点bug
谢谢反馈,应该是界面刷新导致的问题。
@fan291752035 @breakertt 尝试v0.7.6
感谢作者大大的修复,乱序的情况不会有了,但是还有一个小问题,其实影响不大,某个文献条目在翻译后面的标题后会消失。
感谢作者大大的修复,乱序的情况不会有了,但是还有一个小问题,其实影响不大,某个文献条目在翻译后面的标题后会消失。
感觉不是大问题,另外我依然无法复现。。。 如果不是很影响使用,可以通过ctrl+T快速切换/刷新翻译显示
嗯嗯好的,谢谢修复
我发现在翻译标题的时候,翻译的中文会出现在不是该文献的条目上,虽然短标题可以看到,但是翻译过的标题会再一次出现在下方,如图: