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.84k stars 185 forks source link

Smart Connections Plugin v2.2.76 - Mobile Version Stuck on "Loading Smart Connections" #794

Open LordCail1 opened 2 months ago

LordCail1 commented 2 months ago

Issue Description:

After updating the Smart Connections plugin to version 2.2.76 on my mobile device, I noticed that the "Smart Connections Files" feature is not functioning properly. When I attempt to open it, the list shows no related files, and the message "Loading Smart Connections..." persists indefinitely, without any progress or result.

Steps to Reproduce:

  1. Ensure the Smart Connections plugin is updated to version 2.2.76.
  2. Open Obsidian on a mobile device (details below).
  3. Click on Open: View Smart Connections.
  4. Select Smart Connections Files.
  5. Observe the constant loading message with no file results.

Expected Behavior:

The Smart Connections Files should display all related files based on the connections made by the plugin.

Observed Behavior:

The interface remains stuck on "Loading Smart Connections..." indefinitely, and no related files are displayed.

System Information:

Additional Information:

This issue only occurs on mobile; the plugin seems to work fine on the PC version.

Screenshot:

Screenshot_20240918_203729_Obsidian

brianpetro commented 2 months ago

Thanks for the well-organized and detailed report 😊

Make sure this setting is toggled on Screenshot_20240918-212416

If that was off then it will probably start working after restarting the app.

The setting is not toggled on by default and is located at the bottom of the settings.

🌴

LordCail1 commented 2 months ago

Thank you so much! it worked :)

purepotential commented 2 months ago

@brianpetro On my iPad, I've basically encountered the same issue, despite having the experimental feature toggled on. However, on the Android it works perfectly.

System Information: Mobile Device: iPad Air 4th Gen iPad OS version: 17.6.1 Obsidian Version: 1.7.1 Smart Connections Plugin Version: 2.2.76

brianpetro commented 2 months ago

@purepotential thanks for letting me know. Unfortunately I don't have an apple mobile device to test on right now :/

Might be worth trying the "legacy transformers" setting and setting GPU batch size to 0 if using local models. 🌴

purepotential commented 2 months ago

@brianpetro Well, let's keep this open, next week, when I can get to my Macbook, I'll send you more logs from the iOS inspector.

dval commented 2 months ago

I started getting this error yesterday on Windows 10 desktop. Enabling the experimental mobile features does not help. From the console log I can see a few issues as I select different models.

Opening Obsidian, and then the settings panel, looks like transformers are not being found and the setting to use legacy transformers instead of GPU is not being set correctly.

It shows the following in the console:

image

When I switch from a local embedding model to an OpenAI model, it states there's nothing to queue:

image

Refreshing the sources is it's own list of errors:

image

Hopefully the output helps some.

dval commented 2 months ago

I was able to get things working again by:

It seems like the folder name changed from .smart-connections to .smart-env as .smart-connections was not created after re-install. They seem to have identical contents.

(Sorry. I realized after the fact posting desktop info to a mobile issue was not the best choice.)

brianpetro commented 2 months ago

@dval thanks for the followup ☺️🌴

bbecausereasonss commented 2 months ago

This may be a super dumb question; but where can I learn about what Mobile mode is and how to use it?

bachrc commented 1 month ago

I just installed the extension from the mobile, and the settings panel doesn't even show up

3-ark commented 1 month ago

I was able to get things working again by:

  • uninstalling smart-connections
  • deleting .smart-env and .smart-connections folders
  • re-installing smart-connections

It seems like the folder name changed from .smart-connections to .smart-env as .smart-connections was not created after re-install. They seem to have identical contents.

(Sorry. I realized after the fact posting desktop info to a mobile issue was not the best choice.)

Same here, thanks for your remind. Mine is working now!