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.06k stars 301 forks source link

[Bug] 侧边栏不显示翻译窗口 #746

Closed anqiwen closed 1 month ago

anqiwen 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

Sidebar does not show translation window PixPin_2024-03-12_19-18-02

Debug Output

1710242420725 addons.xpi WARN Checking D:\BaiduNetdiskDownload\Zotero-7.0.0-beta.54+6b996d4f9_win-x64\Zotero_win-x64\distribution\extensions for addons

[JavaScript Error: "NS_NOINTERFACE: " {file: "resource://gre/modules/ComponentUtils.jsm" line: 90}] createInstance@resource://gre/modules/ComponentUtils.jsm:90:36

1710242422207 addons.xpi WARN Addon with ID undefined already installed, older version will be disabled

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1710}]

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1710}]

[JavaScript Error: "NS_ERROR_NOT_AVAILABLE" {file: "resource://gre/modules/PartitioningExceptionListService.jsm" line: 92}]

[JavaScript Error: "o.item is undefined" {file: "jar:file:///C:/Users/%E8%81%94%E6%83%B3/AppData/Roaming/Zotero/Zotero/Profiles/oweo0wok.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/scripts/zoteropdftranslate.js" line: 145}]

[JavaScript Error: "o.item is undefined" {file: "jar:file:///C:/Users/%E8%81%94%E6%83%B3/AppData/Roaming/Zotero/Zotero/Profiles/oweo0wok.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/scripts/zoteropdftranslate.js" line: 145}]

[JavaScript Error: "o.item is undefined" {file: "jar:file:///C:/Users/%E8%81%94%E6%83%B3/AppData/Roaming/Zotero/Zotero/Profiles/oweo0wok.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/scripts/zoteropdftranslate.js" line: 145}]

[JavaScript Error: "o.item is undefined" {file: "jar:file:///C:/Users/%E8%81%94%E6%83%B3/AppData/Roaming/Zotero/Zotero/Profiles/oweo0wok.default/extensions/zoteropdftranslate@euclpts.com.xpi!/chrome/content/scripts/zoteropdftranslate.js" line: 145}]

appName => Zotero, version => 7.0.0-beta.68+c31a40c74, os => Windows 10.0 19045, locale => zh-CN, extensions => Translate for Zotero (1.1.0-beta.34, extension), Del Item With Attachment (0.2.5, extension, disabled), Jasminum (1.0.0-14, extension, disabled), PDF Figure (0.2.0, extension, disabled), Zotero Attanger (1.1.3, extension, disabled), Actions and Tags for Zotero (1.0.0-beta.34, extension, disabled), PMCID fetcher for Zotero (0.0.30, extension, disabled), Easier Citation (0.4.3, extension, disabled), Add-on Market for Zotero (1.5.5, extension, disabled), Better Notes for Zotero (1.1.4-beta.57, extension, disabled), Linter for Zotero (1.13.1, extension, disabled), Ethereal Style (4.2.4.1, extension, disabled), Ethereal Reference (0.7.5.4, extension, disabled), Green Frog (0.17.2, extension, disabled)

(3)(+0028925): [Translate for Zotero] runTranslationTask {}

(3)(+0000003): [Translate for Zotero] {"id":"6Ytw2bwO-1710242451157","type":"text","raw":"Antibiotics are widely used to protect humans and animals from infectious disease. Between 2000 and 2018, human consumption rate of antibiotics increased by 46 % globally, from 9.8 to 14.3 billion defined daily doses (DDDs) per 1000 inhabitants (Browne et al., 2021)","result":"","audio":[],"service":"deeplx","candidateServices":[],"itemId":33249,"status":"processing","extraTasks":[],"langfrom":"en","langto":"zh-CN","callerID":"zoteropdftranslate@euclpts.com","secret":""}

(3)(+0000000): HTTP POST "{"jsonrpc":"2.0","method": "LMT_handle_texts","id":8330722001,"params":{"texts":[{"text":"Antibiotics are widely used to protect humans and animals from infectious disease. Between 2000 and 2018, human consumption rate of antibiotics increased by 46 % globally, from 9.8 to 14.3 billion defined daily doses (DDDs) per 1000 inhabitants (Browne et al., 2021)","requestAlternatives":3}],"splitting":"newlines","lang":{"source_lang_user_selected":"EN","target_lang":"ZH"},"timestamp":1710242451180,"commonJobParams":{"wasSpoken":false,"transcribe_as":""}}}" to https://www2.deepl.com/jsonrpc

(3)(+0001240): HTTP POST https://www2.deepl.com/jsonrpc succeeded with 200

(3)(+0000582): Starting full-text content processor

(4)(+0000001): Registering notifier observer 'fulltext_1F' for [sync]

Anything else?

No response

sasaju commented 1 month ago

705