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

"Loading Smart Connections" after upgrading to the latest version from 2.1.95 #797

Open
deparko opened this issue Sep 22, 2024 · 11 comments

Comments

@deparko
Copy link

deparko commented Sep 22, 2024

Hi,
Upgraded to the latest and getting "Loading Smart Connections". Dev Console says unable to load embedding model (see attached).
SCR-20240921-qyur
SCR-20240921-qymg

2.1.95 was working ok!

please advise

Mark

@brianpetro
Copy link
Owner

Try toggling on the "legacy transformers" setting and setting the GPU batch size to 0
Screenshot 2024-09-02 at 6 57 32 AM
🌴

@deparko
Copy link
Author

deparko commented Sep 22, 2024

Updated settings, toggled legacy transformer and restarted Obsidian. Same issue, see attached.
SCR-20240922-iwgv
SCR-20240922-iykx

I really appreciate you help and support,

Mark

@deparko
Copy link
Author

deparko commented Sep 22, 2024

p.s. I also disabled all plugins except SmartConnections. Here is the Dev Console log:
SCR-20240922-jcfa

@brianpetro
Copy link
Owner

Hi @deparko and thanks for the helpful screenshots ☺️

I think I see what's going on there. There's probably a file-type that's unexpected that's causing the issue. I fixed a similar issues recently, so make sure you are on the latest version. If it's still happening on the latest version, let me know and I'll make sure this gets fixed 🌴

@deparko
Copy link
Author

deparko commented Sep 23, 2024

Hi Brian,

Yes, I installed the latest version (2.2.76) and the problem occurred. I fell back to 2.1.95 and its working. I'll try again when you push out another release. Thanks again for your work!

@jjthrash
Copy link

Adding to this issue, since it really feels like a duplicate, though the symptoms are different:

I'm seeing it take a long time at a Smart Connections indexing phase. The dev console shows dataview taking 550s, but when I disable dataview the same behavior happens.

CleanShot 2024-09-23 at 08 49 26@2x

Happy to dig further, but I've disabled to plugin to get back to my work. Just let me know.

@3e9b
Copy link

3e9b commented Sep 26, 2024

I'm also seeing a lot of loading errors in latest versions. It's getting hung on embeddings.
Screenshot 2024-09-26 at 1 00 19 PM

@brianpetro
Copy link
Owner

@3e9b a recent update unintentionally introduced a bug that doesn't allow non-markdown files to play nicely like they used to. This will be fixed the next version. In the meantime, you might try adding *.txt to the file exclusions settings (I haven't tested this, so let me know if it works) 🌴

@jjthrash
Copy link

@brianpetro I tried adding a bunch of extensions (everything but .md) to the exclusion list but I'm still seeing an FS timeout issue. I guess I'll wait for the next version.

@brianpetro
Copy link
Owner

@jjthrash thanks for letting me know 🌴

@shanelindsay
Copy link

shanelindsay commented Sep 30, 2024

This is the error I am getting:
version 2.2.76

plugin:smart-connections:7710 Error during read: Error: UNKNOWN: unknown error, read
at async readFileHandle (node:internal/origin…-fs/promises:552:24)
at async SmartFsObsidianAdapter.read (plugin:smart-connections:9946:38)
at async SmartFs.read (plugin:smart-connections:9751:23)
at async MarkdownSourceAdapter._read (plugin:smart-connections:8255:12)
at async MarkdownSourceAdapter.read (plugin:smart-connections:8244:19)
at async SmartSource.read (plugin:smart-connections:7707:23)
at async SmartSource.get_content (plugin:smart-connections:7772:12)
at async SmartSource.get_embed_input (plugin:smart-connections:7495:19)
at async Promise.all (index 0)
at async SmartSources.process_embed_queue (plugin:smart-connections:7250:7)
plugin:smart-connections:13401 Uncaught (in promise) Error: UNKNOWN: unknown error, read
at async readFileHandle (node:internal/origin…-fs/promises:552:24)s:7250:7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants