obsidian-enhancing-export icon indicating copy to clipboard operation
obsidian-enhancing-export copied to clipboard

Enhancing Export fails with ‘p is not iterable’ despite functional Pandoc install

Open olberpawelai opened this issue 5 months ago • 12 comments

Unable to export Markdown files to other formats. Pandoc is up to date and works correctly from the command line. The error is shown in the screenshots below.

Image Image

olberpawelai avatar Nov 17 '25 16:11 olberpawelai

I am having the same issue.

dsiu avatar Nov 20 '25 09:11 dsiu

I am also having the same issue with version 1.10.11 in Obsidian 1.10.5 😎

jp4tey avatar Nov 20 '25 13:11 jp4tey

I am having the same issue.

mir-xiong avatar Nov 21 '25 03:11 mir-xiong

same issue with version 1.10.11

0xPlaydevil avatar Nov 21 '25 09:11 0xPlaydevil

Same problem. Uopn reverting back to 1.10.10, it is working again.

fungai2000 avatar Nov 21 '25 18:11 fungai2000

Same here... :-(

emnik avatar Nov 21 '25 21:11 emnik

Same here, too...

wink-code avatar Nov 23 '25 16:11 wink-code

Same problem. Uopn reverting back to 1.10.10, it is working again.

How do you revert to a previous version?

mickeys000 avatar Nov 24 '25 11:11 mickeys000

I have this issue, too

Somniosus1345 avatar Nov 25 '25 15:11 Somniosus1345

Also confirming this issue with Enhancing Export v1.10.11.

My Environment:

  • Obsidian: v1.10.6

  • OS: Windows 10 Pro

The plugin fails with the "p is not iterable" error as soon as I try to export. Reinstalling the latest version did not help.


WORKAROUND / SOLUTION FOR EVERYONE:

As other users have confirmed, the bug was introduced in v1.10.11. Version 1.10.10 works correctly.

For anyone needing a quick fix, you can downgrade to the working version using the "BRAT" plugin. This is a very useful tool for managing beta or specific versions of plugins, and I recommend it for future issues as well.

How to downgrade using BRAT:

  1. Install "BRAT" from the community plugins market.

  2. Open the command palette (Ctrl+P) and run the command: BRAT: Add a beta plugin for testing.

  3. Paste the repository URL: https://github.com/mokeyish/obsidian-enhancing-export

  4. When prompted for a version, type exactly: 1.10.10

  5. Click "Add plugin" and restart Obsidian.

After doing this, the export is working again. Hope this helps everyone while waiting for a permanent fix!


PIKADILLY avatar Nov 25 '25 19:11 PIKADILLY

Disappointing that untested changes are released like this, as this could easily have been caught and fixed before release.

The latest update adds a variable called embedArray, which defaults to null, and then attempts iterate over it, without checking if it's actually an array first: https://github.com/mokeyish/obsidian-enhancing-export/blob/main/src%2Fexporto0o.ts#L95

FeralFlora avatar Nov 26 '25 10:11 FeralFlora

Same problem. Uopn reverting back to 1.10.10, it is working again.

How do you revert to a previous version?

Check this, basically it's to replace the main.js manifest.json styles.css all with those from an older version.

newridge1999 avatar Nov 27 '25 08:11 newridge1999