flathub / org.zotero.Zotero

https://flathub.org/apps/details/org.zotero.Zotero
21 stars 16 forks source link

Export as PDF not working #224

Open egede opened 2 months ago

egede commented 2 months ago

The Export as PDF feature doesn't work with the flatpak 7.0.3 version. If downloading directly from Zotero and unpacking the tarball, it works. In the debug log, I see the following which may be related.

[JavaScript Error: "NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsICommandLine.handleFlagWithParam]" {file: "resource:///modules/BrowserContentHandler.sys.mjs" line: 428}]
bch_handle@resource:///modules/BrowserContentHandler.sys.mjs:428:34

[JavaScript Error: "uncaught exception: undefined"]

[JavaScript Error: "NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIFilePicker.file]" {file: "chrome://zotero/content/modules/filePicker.mjs" line: 200}]

[JavaScript Error: "NS_ERROR_MALFORMED_URI: Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsIFilePicker.file]" {file: "chrome://zotero/content/modules/filePicker.mjs" line: 200}]

Running on Fedora 40. No changes to flatpak permissions.

sebastian-de commented 1 month ago

I'm not exactly shure what you mean by Export as PDF. Is it File -> Export PDF...? This works fine for me. Do you have a desktop portal installed?