Hello,
after using Zettlr and Zotero/Better BibTeX together for some time (thanks a lot for Zettlr!), I've recently switched to JabRef and now use the plain BibLaTeX file (.bib) as my main citation database in Zettlr. Citing works as expected (typing @ + the citation key, and Zettlr shows the bibliographic information when hoovering over the citation).
But, when trying to open the PDF, nothing happens. I've looked into the logs and now it gets a bit strange: Zettlr seems trying to call Zotero and Better BibTex to open the PDF. The log message (from the Zettlr Debug Menu) reads as follows:
Could not open attachment: Request failed due to a network error: POST http://127.0.0.1:23119/better-bibtex/json-rpc
The log entry in the log file reads as follows:
[15:34:22] [Error] Could not open attachment: Request failed due to a network error: POST http://127.0.0.1:23119/better-bibtex/json-rpc | Native Error: NetworkError; Request failed due to a network error: POST http://127.0.0.1:23119/better-bibtex/json-rpc Stack Trace: NetworkError: Request failed due to a network error: POST http://127.0.0.1:23119/better-bibtex/json-rpc --> at #we (/Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:4116751) --> at process.processTicksAndRejections (node:internal/process/task_queues:104:5) --> at async #Qe (/Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:4114618) --> at async /Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:4103241 --> at async /Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:4102854 --> at async globalThis.Response.bytes.a.<computed> [as json] (/Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:4104695) --> at async p.run (/Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:1552940) --> at async Y.run (/Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:1547756) --> at async /Applications/Zettlr.app/Contents/Resources/app.asar/.webpack/main/index.js:2:1546773 --> at async Session.<anonymous> (node:electron/js2c/browser_init:2:119807)
However, when Zotero is running, Zettlr opens the PDF, as long as Zotero has an entry with the same citation key.
I'm using:
macOS 26.7.1
Zettlr 4.8.0
JabRef 5.15
The .bib file includes a JabRef comment about the file path for linked attachments.
Has anyone else encountered this problem (or even found a solution)? Could this be due to the earlier use of Zotero & Better BibTex? Or could this behaviour rather be a bug?