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

stuck on loading.. and console errors #995

Open
iamrobmat opened this issue Feb 20, 2025 · 0 comments
Open

stuck on loading.. and console errors #995

iamrobmat opened this issue Feb 20, 2025 · 0 comments

Comments

@iamrobmat
Copy link

hey, my plugin is stuck on loading. I have copied console logs and errors and summarized with chatgpt:

Description:

While using the Smart Connections plugin in Obsidian, I encountered several issues:
1. SmartEnv configuration errors – env_path and request_adapter are being overwritten in smart_env_config.
2. SmartEmbedModel not loading – the module remains in an unloaded state, preventing the plugin from functioning properly.
3. Iframe sandboxing warning – potential security issue due to allow-scripts and allow-same-origin.
4. ENAMETOOLONG error – extremely long file names prevent the plugin from saving files.
5. ENOENT errors – missing files cause the plugin to fail when trying to load them.
6. No content to import – some files do not contain any data, even though they are in the import queue.

Error Logs:

ENAMETOOLONG error (file name too long, preventing save operation)

Error saving item multi/Clippings_FinChat_on_X_The_world's_best_investors_updated_their_holdings_last_week_Here_are_6_of_the_most_interesting_buys1_)_Stan_Druckenmiller_-_Natera_$NTRADruckenmiller_increased_his_position_in_DNA-testing_company_Natera_by_80%__This_is_now_his_largest_po_md.ajson  
Error: ENAMETOOLONG: name too long, open '/Users/robert/Obsidian/Robert/.smart-env/multi/Clippings_FinChat_on_X_The_world's_best_investors_updated_their_holdings_last_week_Here_are_6_of_the_most_interesting_buys1_)_Stan_Druckenmiller_-_Natera_$NTRADruckenmiller_increased_his_position_in_DNA-testing_company_Natera_by_80%__This_is_now_his_largest_po_md.ajson'  

ENOENT error (file not found, preventing import process)

Error loading item (queueing import) 02 notes/Andrej Karpathy.md multi/02_notes_Andrej_Karpathy_md.ajson  
Error: ENOENT: no such file or directory, open '/Users/robert/Obsidian/Robert/.smart-env/multi/02_notes_Andrej_Karpathy_md.ajson'

Iframe sandboxing warning (potential security issue)

An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
Environment:
• Operating System: [e.g., macOS Ventura 14.1.1]
• Obsidian Version: [e.g., 1.4.5]
• Smart Connections Plugin Version: [e.g., 2.3.1]
• Does the issue persist with all other plugins disabled? [Yes/No]

Steps to Reproduce:
1. Open Obsidian with the Smart Connections plugin enabled.
2. Attempt to load a large number of sources.
3. Observe the errors in the developer console (Ctrl+Shift+I on Windows/Linux, Cmd+Option+I on Mac).

Expected Behavior:
• The plugin should properly load files even if their names are long.
• Missing files should not cause blocking errors.
• SmartEmbedModel should load correctly.

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

1 participant