Enhancing Export fails with ‘p is not iterable’ despite functional Pandoc install
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.
I am having the same issue.
I am also having the same issue with version 1.10.11 in Obsidian 1.10.5 😎
I am having the same issue.
same issue with version 1.10.11
Same problem. Uopn reverting back to 1.10.10, it is working again.
Same here... :-(
Same here, too...
Same problem. Uopn reverting back to 1.10.10, it is working again.
How do you revert to a previous version?
I have this issue, too
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:
-
Install "BRAT" from the community plugins market.
-
Open the command palette (Ctrl+P) and run the command: BRAT: Add a beta plugin for testing.
-
Paste the repository URL: https://github.com/mokeyish/obsidian-enhancing-export
-
When prompted for a version, type exactly: 1.10.10
-
Click "Add plugin" and restart Obsidian.
After doing this, the export is working again. Hope this helps everyone while waiting for a permanent fix!
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
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.