brianpetro / obsidian-smart-connections

Chat with your notes & see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
https://smartconnections.app
GNU General Public License v3.0
2.2k stars 157 forks source link

Stuck on file 1440 #447

Open devinat1 opened 5 months ago

devinat1 commented 5 months ago

On a fresh install of obsidian smart connections, my obsidian freezes when I am on file 1440, to the point where I cannot even place my OpenAI API key.

SYSTEM INFO: Obsidian version: v1.5.3 Installer version: v1.4.16 Operating system: Windows 10 Home 10.0.23620 Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Base theme: dark Community theme: Minimal v7.4.7 Snippets enabled: 0 Restricted mode: off Plugins installed: 54 Plugins enabled: 35 1: Minimal Theme Settings v7.3.1 2: Templater v2.1.2 3: Admonition v10.1.1 4: Auto Link Title v1.5.3 5: Ghost Fade Focus v3.0.0 6: Home tab v1.1.2 7: Hover Editor v0.11.16 8: Kanban v1.5.3 9: LanguageTool Integration v0.3.6 10: Linter v1.22.0 11: QuickAdd v1.6.1 12: Quick Switcher++ v4.0.0 13: Readwise Official v2.0.1 14: Paste URL into selection v1.7.0 15: Tab Switcher v1.4.0 16: Dataview v0.5.64 17: Todoist Plugin v1.11.1 18: Plugin Update Tracker v1.5.2 19: Citations v0.4.5 20: Editor Syntax Highlight v0.1.3 21: ExcaliBrain v0.2.12 22: Excalidraw v2.0.18 23: Homepage v3.6.0 24: Zotero Integration v3.1.7 25: Google Photos v1.6.5 26: Recent Files v1.3.10 27: Obsidian_to_Anki v3.6.0 28: qmd as md v0.0.2 29: Custom Frames v2.4.6 30: Commander v0.5.1 31: Shell commands v0.21.0 32: Pandoc Plugin v0.4.1 33: Pandoc Reference List v2.0.25 34: Canvas Mindmap v0.1.9 35: Collapse Node v1.0.0

brianpetro commented 5 months ago

@devinat1 thanks for reaching out about this.

Are you able to provide a screenshot?

If you could include the developer console logs that would also be really helpful.

Menu: View > Toggle Developer Tools

Thanks for your help in solving this

🌴

devinat1 commented 5 months ago

Unfortunately not since obsidian crashes prior to being able to do that

brianpetro commented 5 months ago

@devinat1 What about a screenshot?

🌴

devinat1 commented 5 months ago

It simply shows 1440/2440 files on the top right of the screen as a pop-up, with nothing else prior to the crash. I have disabled the extension to avoid any file corruption.

brianpetro commented 5 months ago

Hey @devinat1

Thanks for your quick response.

I understand your concern, but there isn't any risk of file corruption in your notes.

Besides something that can only be discovered in the logs, the only other possibility is that your computer has insufficient resources for the local embedding models. This is unlikely to happen with the default local model because of it's small size, but it's possible.

To see if it's the local model issue, you can:

1) open the smart-connections/data.json file and set both the models to "None" (screenshot below) 2) enable the plugin nothing should crash 3) goto the Smart Connections settings and set the notes embedding model to one of the OpenAI models

Screenshot 2024-02-06 at 10 18 33 PM

If that doesn't work, getting any errors in the console logs is the only way forward. To do that:

1) with the plugin still disabled, open the developer console. 2) enable the plugin. 3) take a screenshot that ideally contains the notification you're seeing and the developer console.

Thanks for your help in solving this,

🌴