-
Notifications
You must be signed in to change notification settings - Fork 135
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
Very slow to read Excalibrain and Excalidraw files #439
Comments
Try turning on compressed mode in Excalidraw settings. It will convert the Excalidraw file into a base64 string chopped into short paragraphs. I originally introduced this feature to speed up obsidian search, maybe it will solve this problem as well. |
I did two things to speed up.
Now the Obsidian_to_Anki sync managed to finish. |
Note that compressed mode will only compress files you open/create/modify after turning on this setting, it won't batch compress all your earlier files in the vault. |
Retried again today and now it stalls on the Icon Library.excalidraw suggested by @zsviczian: From the console window
For the file the attached code is used. |
I added an ignore setting that allows you to ignore excalidraw files myself. |
@niposch Tried out using it, but got the following when not adding anything to the ignore filter.
|
@lsolesen thanks for the stack trace. I found and fixed the issue. I didn't correctly handle it when the setting wasn't initialized. |
Maybe be we can limit the size of files that are being scanning by some setting by default? |
The plugin is very slow to read Excalibrain and Excalidraw files by @zsviczian.
I am using the following regex to look for Anki-cards:
Is there some kind of workaround, as Obsidian is not responding while waiting for the very long process - and completely stalling on some of the Excalibrain files needing to shutdown Obsidian from the task manager - and no cards are being written to Anki?
Removing Excalibrain files solves the issue.
The text was updated successfully, but these errors were encountered: