Export PDF fails on linux

Once you’ve done the above, delete everything above this line.

Steps to reproduce

In the Sandbox Vault on the “Start Here” page, open the options (three vertical dots in top right) and “Export to PDF”.
Click, “Export to PDF” (default settings), and choose save path.

Did you follow the troubleshooting guide? [Y/N]

Yes. Disabled all plugins, reinstalled obsidian, restarted computer, reinstalled node.

Expected result

Expected to have a PDF file exported to the desired location.
It was working a couple days ago so this might be a node update that broke the export PDF functionality?

Actual result

No PDF is generated

Environment

SYSTEM INFO:
Obsidian version: v1.6.3
Installer version: v1.6.3
Operating system: #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 6.5.0-35-generic
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

The following error is obtained in the developer console:
Message REMOTE_RENDERER_CALLBACK sent by unexpected WebContents (undefined).

Further system information:

  • GNOME 42.9
  • Node version: v12.22.9

Thanks for the fantastic program. This is the first inconvenience I’ve experienced.

2 Likes

How did you install obsidian?

Once through the ubuntu software center and once through the obsidian website (appimage) directly.

ok thank you

No thank you for your speedy reply!

If you install the appimage of 1.5.12 and let obsidian update internally to 1.6.13. Does it work?

Oddly enough yes, that fixes it if 1.5.12 is installed and then internally upgraded to 1.6.3

This stack works:


SYSTEM INFO:
Obsidian version: v1.6.3
Installer version: v1.5.12
Operating system: #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 6.5.0-35-generic
Login status: not logged in
Insider build toggle: off
Live preview: off
Base theme: dark
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 11
Plugins enabled: 7
1: Advanced Slides v1.20.0
2: Kanban v2.0.51
3: Dataview v0.5.66
4: Excalidraw v2.2.5
5: Linter v1.24.0
6: Map View v5.0.2
7: Quick Latex v2.6.5


Thank you kindly!

Ok thanks, we’ll look into it

Can confirm this issue. On Ubuntu 22.04.4 LTS, Obsidian 1.6.3. When I try to export, I get the following error on the console:

Message REMOTE_RENDERER_CALLBACK sent by unexpected WebContents (undefined)
(anonymous) @ /snap/obsidian/31/resources/app.asar/node_modules/@electron/remote/dist/src/renderer/remote.js:326

I also had it installed from the snap store; installing it from the 1.5.12 AppImage and updating fixes the issue.

1 Like

Same on Ubuntu 24.04. I don’t even get a folder selection menu and the “More options” menu becomes inactive after that

>  lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04 LTS
Release:	24.04
Codename:	noble

Obsidian version: v1.6.3
Installer version: v1.6.3
Installed via snap

2 Likes

UPD: Got the export menu open through Ctrl + P, but the PDF isn’t created

3 Likes

The same problem on flatpak version on Fedora 40
PDF files are not saved either through standard export or through plugins

1 Like

New builds will be available to fix this.

2 Likes

When there will be a fix?

Same problem with 1.6.3. as Flatpak on Ubuntu 20.04

ty

1 Like

The new build were released for snap and appimage. We don’t make the flatpak, but I believe new version were released for that as well.

1 Like

Thanks, but the version number has not changed? Everywhere I see 1.6.3 only

1 Like

the version number is the same the build number changed.

Got it! The manual command flatpak update md.obsidian.Obsidian did the trick. Thanks a lot!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.