spyglass-search / spyglass

A personal search engine: Create a searchable library from your personal documents, interests, and more!
https://docs.spyglass.fyi
GNU Affero General Public License v3.0
2.58k stars 59 forks source link

MacOS bugs #526

Open gasparschott opened 2 weeks ago

gasparschott commented 2 weeks ago

I've just installed Spyglass 23.11.1_universal (M1 MBP, Sequoia 15.1) and have encountered what seems to be several bugs:

  1. The "Getting Started" window runs every time Spyglass is launched, and I have to reenable local file indexing each time.
  2. No menus appear in the menu bar when the app in in front.
  3. The User Settings window is empty, so I cannot use the UI to change the keyboard shortcut, etc.
  4. If I edit the settings file directly, changes are not reflected when the app restarts.

I have uninstalled the app and all supporting files in the Library folder and then reinstalled with the same result. Thanks for any help!

gasparschott commented 2 weeks ago

Screenshot showing empty menubar:

screenshot_256

Screenshot showing empty User Settings window:

screenshot_257
a5huynh commented 2 weeks ago

Hey @gasparschott, sorry about that! I suspect this might be a signing/permissions issue. Do you see any errors if you run the backend binary in the terminal? Should be /Applications/Spyglass.app/Contents/MacOS/spyglass-server

We're in the middle of a big refactor so hopefully we'll get out a new build soon.

gasparschott commented 1 week ago

I checked some of the log files in Spyglass's Application Support folder and found the following in the client.log file:

These messages were repeated several times. There were also these these errors:

In the server.log file there was this:

Hope this helps. Meanwhile I'll look forward to the new build.

Sent with Proton Mail secure email.

On Sunday, November 3rd, 2024 at 10:47 AM, Andrew Huynh @.***> wrote:

Hey @.***(https://github.com/gasparschott), sorry about that! I suspect this might be a signing/permissions issue. Do you see any errors if you run the backend binary in the terminal? Should be /Applications/Spyglass.app/Contents/MacOS/spyglass-server

We're in the middle of a big refactor so hopefully we'll get out a new build soon.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

gasparschott commented 1 week ago

Also, I started Spyglass.app > Contents > MacOS > Spyglass and in Terminal these messages seemed suspect:

Asset startup not found; fallback to startup.html thread 'tokio-runtime-worker' panicked at crates/tauri/src/cmd/settings.rs:162:49: unable to read user settings: 67:1: Unexpected missing field close_search_bar in UserSettings note: run with RUST_BACKTRACE=1 environment variable to display a backtrace 2024-11-05T04:47:18.706041Z INFO tokio-runtime-worker spyglass_app::rpc: connected to daemon w/ version: Ok("0.1.2") 2024-11-05T04:47:18.706125Z INFO tokio-runtime-worker spyglass_app: 🛑 Shutting down version checker 2024-11-05T04:47:18.706381Z INFO tokio-runtime-worker spyglass_app::plugins::notify: subscribed to events from server! Asset wizard not found; fallback to wizard.html

On Nov 3, 2024, at 10:47 AM, Andrew Huynh @.***> wrote:

Hey @.***(https://github.com/gasparschott), sorry about that! I suspect this might be a signing/permissions issue. Do you see any errors if you run the backend binary in the terminal? Should be /Applications/Spyglass.app/Contents/MacOS/spyglass-server

We're in the middle of a big refactor so hopefully we'll get out a new build soon.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

a5huynh commented 1 week ago

Ah okay must be an issue with the default settings. Could you add in close_search_bar: false to your settings file? That should solve that issue. I'll look into adding a default for that if it's not set.

gasparschott commented 1 week ago

I added the line, however whenever I quit and relaunch Spyglass the settings.ron file is overwritten, deleting the line and resetting any changes I've made (e.g., setting "run_wizard: false”)—probably because I always have to go through the Getting Started Wizard.

FWIW, I have also confirmed that Spyglass has been granted Full Disc Access; nevertheless, it still asks for permission (multiple times) to access the Desktop and Documents folders every time on launch.

On Nov 5, 2024, at 12:26 PM, Andrew Huynh @.***> wrote:

Ah okay must be an issue with the default settings. Could you add in close_search_bar: false to your settings file? That should solve that issue. I'll look into adding a default for that if it's not set.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>