KosmosisDire / obsidian-webpage-export

Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
https://docs.obsidianweb.net/
MIT License
830 stars 69 forks source link

Dataview queries not rendering in all cases #358

Open oudknoei opened 7 months ago

oudknoei commented 7 months ago

Describe the bug Some pages with multiple dataview queries do not render all of the dataview queries.

Operating System Windows 11, Obsidian 1.5.3, Plugin 1.8.0

To Reproduce

Steps to reproduce the behavior:

  1. Export all folders; see warnings in log. View final output.

Screenshots Sample page in Obsidian:

image

Same page in final output: image

IMPORTANT: Error Log

image

[WARNING] Dataview plugin elements were not rendered correctly in file CNV Client Overview.md! [WARNING] Plugin element block-language-dataview from CNV Client Overview.md not rendered correctly!

KosmosisDire commented 7 months ago

Thanks I'll look into this, but I already know that I am unable to reproduce it. Is there a possibility you could send me a .zip of a sandbox vault in which you can minimally reproduce the error? This will help me determine what's causing it.

oudknoei commented 7 months ago

ok, I copied my vault, stripped it down to a few sections, removed anything proprietary and tested it. The file NXM Client Overview in the Integrations/NXM folder still exhibits this behavior. I've attached a zip of it. I hope it help. Thanks for looking into this.

SandboxIssue358.zip

KosmosisDire commented 7 months ago

I will take a look, thanks!

KosmosisDire commented 7 months ago

I am able to reproduce this given your vault! This is good and I should be able to fix it

oudknoei commented 7 months ago

That's great! I know how hard it is to fix something if you can't reproduce it.

dgudim commented 7 months ago

I have the same issue. If you need more samples, I can provide them

KosmosisDire commented 7 months ago

Can you please test out the new beta 1.8.1-0b and let me know if this fixes the issue? Please also let me know if you find any new issues. Thanks!

oudknoei commented 7 months ago

confirming that 1.8.1-0b does resolve this issue in my testing. Thanks!

kyugao commented 6 months ago

On this page, I tested rearranging the 2 dataview queries and the second one is always the one that doesn't render. On another page, I have 3 queries and it's the 3rd on that fails.

I update plugin to version 1.8.1-2b, this is exactly what happened to me.

kyugao commented 6 months ago

I have a dataview block in my index.md, when i trigger export, the plugin start processing, but stopped when processing this index.md

image

it's about 3 seconds, then next view with an warning message

image