obsidian-pandoc icon indicating copy to clipboard operation
obsidian-pandoc copied to clipboard

Error: Pandoc Export Failed

Open abrahambahez opened this issue 3 years ago • 8 comments

OS: ElementaryOS Hera (based on Ubuntu 18.04.4 LTS)

Issue: I cannot get working the plugin in Linux although I use pandoc CLI very often without any problem. The output of which pandoc command inside the terminal is right: /usr/bin/pandoc. I've install pandoc from a .deb package and I'm wondering if it's because some path divergence from the installation method; but I'm lost. I attached the Obsidian console output of the errors for every path I have find a pandoc file.

Any idea of what is going wrong?

Screenshot from 2021-07-13 23-45-03

abrahambahez avatar Jul 14 '21 04:07 abrahambahez

Hmm, that's odd! Works fine on my Linux machine. What happens if you manually set the Pandoc path setting to /usr/bin/pandoc?

OliverBalfour avatar Jul 26 '21 01:07 OliverBalfour

Got the same problem I'm using gnome 40, It tried both/usr/bin/pandocand which pandoc.

Leyeev avatar Jul 27 '21 12:07 Leyeev

OS: Mac OS 14.1.2 (16611.3.10.1.3) Obsidian 0.12.12. Pandoc Plugin v0.2.5 Pandoc Installer pandoc-2.14.1-macOS I have the same error "Pandoc Export Failed:" Attached are screenshots of my parameters.

Installation:

  1. I used the standard Pandoc installer package (see above for version)
  2. I checked that the relevant .obsidian folder had all of the requisite files
  3. In parameters I referenced the style.css folder.

I am stumped! Screenshot 2021-08-06 at 12 26 57 Screenshot 2021-08-06 at 12 26 27

Carriolan avatar Aug 06 '21 11:08 Carriolan

@abrahambahez Looks like the plugin does not work if you have Obsidian installed using snap. Installing using deb and then using the aut upgrade solved the issue for me

Davidsoff avatar Aug 17 '21 12:08 Davidsoff

@abrahambahez Looks like the plugin does not work if you have Obsidian installed using snap. Installing using deb and then using the aut upgrade solved the issue for me

Yes, indeed! It seems to work with the AppImage installation too, but not with the flatpak nor the snap ones

abrahambahez avatar Aug 19 '21 02:08 abrahambahez

OS: Mac OS 14.1.2 (16611.3.10.1.3) Obsidian 0.12.12. Pandoc Plugin v0.2.5 Pandoc Installer pandoc-2.14.1-macOS I have the same error "Pandoc Export Failed:" Attached are screenshots of my parameters.

Installation:

  1. I used the standard Pandoc installer package (see above for version)
  2. I checked that the relevant .obsidian folder had all of the requisite files
  3. In parameters I referenced the style.css folder.

I am stumped! Screenshot 2021-08-06 at 12 26 57 Screenshot 2021-08-06 at 12 26 27

In your case I see that you put the literal words 'which pandoc' inside the "Pandoc path" field but you should put the output of that command in a terminal instead.

So, you could try to:

  1. Leave the "Pandoc path" field empty to use the default, or
  2. Open a terminal in your Mac, write 'which pandoc' in it, press enter, copy the output and paste it in the "Pandoc path" field

I think this should solve that issue

abrahambahez avatar Aug 19 '21 02:08 abrahambahez

why is the issue closed? the fact that the plugin fails for snap and flatpack installs is still there?

Davidsoff avatar Aug 19 '21 07:08 Davidsoff

Thanks David - It worked!

-- Peter Sheffield On 17 Aug 2021, 13:09 +0100, David Soff @.***>, wrote:

@abrahambahez Looks like the plugin does not work if you have Obsidian installed using snap. Installing using deb and then using the aut upgrade solved the issue for me — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Carriolan avatar Aug 19 '21 15:08 Carriolan