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

Obsidian freezing after scanning vault #397

Closed
TempDR4169 opened this issue Jan 10, 2023 · 6 comments
Closed

Obsidian freezing after scanning vault #397

TempDR4169 opened this issue Jan 10, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@TempDR4169
Copy link

Obsidian window becomes unresponsive after clicking the Scan Vault button on the side bar. Notifications appea but do not disappear.

@yonggithub
Copy link

same to me

@TempDR4169
Copy link
Author

I found a fix. The issue happens due to when images are pasted alongside text causing all of the image data to be pasted as data:image therefore when syncing the program has to scan through all of the data causing the program to freeze because of the amount of data it has to scan through

@Solarrixs
Copy link

This also occurs if you have Excalidraw files. What I do is just bring them out of the Obsidian vault, sync, and then bring them back in.

@lsolesen
Copy link

lsolesen commented Aug 13, 2023

Excalidraw by @zsviczian files also have these open issues #350 #439.

@Solarrixs For Excalidraw see a workaround here: #439

@niposch
Copy link
Contributor

niposch commented Nov 14, 2023

related for excalidraw files #288 and #289

@zsviczian
Copy link

You may want to try turning on compression of Excalidraw files in plugin settings. I originally built the compression for avoiding Excalidraw JSON from turning up in Obsidian Search, but I can imagine that it may be able to help with Anki indexing as well.

image

Additionally I wonder if Anki offers filtering based on frontmatter properties or tags. That could be used to influence indexing.

In addition anki could use the ExcalidrawAutomate.isExcalidrawFile(file:TFile) function to filter out Excalidraw files. Just add "obsidian-excalidraw-plugin": "1.9.14" to dev dependencies and use the getEA() function.
image

@ShootingKing-AM ShootingKing-AM added the bug Something isn't working label Jan 19, 2024
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
None yet
Development

No branches or pull requests

7 participants