Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: When images or Excalidraw are embedded in the Admonition component, the export will Stuck #419

Open
PIPIKAI opened this issue Apr 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@PIPIKAI
Copy link

PIPIKAI commented Apr 13, 2024

What happened?

I greatly appreciate and agree with your work, but I have encountered some issues. When I embed the image into the Administration, the exported HTML will get stuck, as shown in the following figure.

Reproduction

Here is my version status

Specific situation1:

Stuck

image

Specific situation2:

Strangely, when exporting and embedding documents that cause deadlocks, there is no problem with it.

For example, when I export the document shown below, it won't get stuck

image

Last Working Version

No response

Version

v1.8.01

Operating System

Windows

Obsidian Version

v1.5.12

Which browsers can you reproduce this in?

No response

Relevant log output

Log:
[INFO] 	Including stylesheet: css-settings-manager
[WARNING] 	Creating an RSS feed requires a site url to be set in the export settings.
[INFO] 	Including stylesheet: css-settings-manager
[INFO] 	Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO] 	Including stylesheet: svelte-pcimu8-style
[INFO] 	Including stylesheet: svelte-1vwr9dd-style
[INFO] 	Including stylesheet: svelte-156w7na-style
[INFO] 	Including stylesheet: svelte-egt0yd-style
[INFO] 	Including stylesheet: svelte-q3wqg9-style
[INFO] 	Including stylesheet: svelte-1widvzq-style
[INFO] 	Using "学习大纲(计划)" header as title because it was H1 at the top of the page
[INFO] 	Using "介绍" header as title because it was H1 at the top of the page
[INFO] Fallback path parsing:	..\..\..\study面经\Waking-Up面试准备.assets\snowflake-distributed-id-schematic-diagram.png?lastModify=1697553908
[INFO] Fallback path parsing:	..\..\..\study面经\Waking-Up面试准备.assets服务注册与发现.drawio.png?lastModify=1697553908
[INFO] 	Using "gpio的输出" header as title because it was H1 at the top of the page
[INFO] 	Closing render window
[WARNING] 	Creating an RSS feed requires a site url to be set in the export settings.
[INFO] 	Including stylesheet: css-settings-manager
[INFO] 	Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO] 	Including stylesheet: svelte-pcimu8-style
[INFO] 	Including stylesheet: svelte-1vwr9dd-style
[INFO] 	Including stylesheet: svelte-156w7na-style
[INFO] 	Including stylesheet: svelte-egt0yd-style
[INFO] 	Including stylesheet: svelte-q3wqg9-style
[INFO] 	Including stylesheet: svelte-1widvzq-style
[INFO] 	Using "🌅echars" header as title because it was H1 at the top of the page
[INFO] 	Closing render window
[WARNING] 	Creating an RSS feed requires a site url to be set in the export settings.
[INFO] 	Including stylesheet: css-settings-manager
[INFO] 	Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO] 	Including stylesheet: svelte-pcimu8-style
[INFO] 	Including stylesheet: svelte-1vwr9dd-style
[INFO] 	Including stylesheet: svelte-156w7na-style
[INFO] 	Including stylesheet: svelte-egt0yd-style
[INFO] 	Including stylesheet: svelte-q3wqg9-style
[INFO] 	Including stylesheet: svelte-1widvzq-style
[INFO] 	Closing render window
[WARNING] 	Creating an RSS feed requires a site url to be set in the export settings.
[INFO] 	Including stylesheet: css-settings-manager
[INFO] 	Including stylesheet: ADMONITIONS_CUSTOM_STYLE_SHEET
[INFO] 	Including stylesheet: svelte-pcimu8-style
[INFO] 	Including stylesheet: svelte-1vwr9dd-style
[INFO] 	Including stylesheet: svelte-156w7na-style
[INFO] 	Including stylesheet: svelte-egt0yd-style
[INFO] 	Including stylesheet: svelte-q3wqg9-style
[INFO] 	Including stylesheet: svelte-1widvzq-style
[INFO] 	Closing render window


Settings:
	settingsVersion --------- 1.8.01
	makeOfflineCompatible     true
	inlineAssets ------------ false
	includePluginCSS          5 plugins included
	includeSvelteCSS -------- true
	titleProperty             title
	customHeadContentPath ---
	faviconPath              
	documentWidth ----------- 70em
	sidebarWidth              20em
	minOutlineCollapse ------ 1
	startOutlineCollapsed     false
	allowFoldingHeadings ---- true
	allowFoldingLists         true
	allowResizingSidebars --- true
	logLevel                  warning
	minifyHTML -------------- true
	makeNamesWebStyle         true
	onlyExportModified ------ false
	deleteOldFiles            true
	addThemeToggle ---------- true
	addOutline                true
	addFileNav -------------- true
	addSearchBar              true
	addGraphView ------------ true
	addTitle                  true
	addRSSFeed -------------- true
	siteURL                  
	authorName -------------- zzk
	vaultTitle                vault Title
	exportPreset ------------ website
	openAfterExport           false
	graphAttractionForce ---- 1
	graphLinkLength           10
	graphRepulsionForce ----- 150
	graphCentralForce         3
	graphEdgePruning -------- 100
	graphMinNodeSize          3
	graphMaxNodeSize -------- 7
	showDefaultTreeIcons      true
	emojiStyle -------------- Native
	defaultFileIcon           lucide//file
	defaultFolderIcon ------- lucide//folder
	defaultMediaIcon          lucide//file-image
	exportPath -------------- E:\\\\study\\codes\\projects\\web\\dist
	filesToExport             1


Enabled Plugins:
	Calendar
	Style Settings
	Templater
	MySnippets
	Pandoc Plugin
	Recent Files
	File Hider
	Surfing
	Day and Night
	BRAT
	Homepage
	Excalidraw
	Admonition
	Dataview
	Git
	Webpage HTML Export
	Note Gallery
	Text Progress Bar
	obsidian echarts
	Iconize
	AttachFlow

Additional Info

No response

@PIPIKAI PIPIKAI added the bug Something isn't working label Apr 13, 2024
@PIPIKAI PIPIKAI changed the title [Bug]: When images or Excalidraw are embedded in the Admonition component, the export will deadlock [Bug]: When images or Excalidraw are embedded in the Admonition component, the export will Stuck Apr 13, 2024
@KosmosisDire
Copy link
Owner

Interesting, I will look into this. Thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants