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

Not starting on Fedora 37 #433

Open
kaushalyap opened this issue Apr 14, 2023 · 6 comments
Open

Not starting on Fedora 37 #433

kaushalyap opened this issue Apr 14, 2023 · 6 comments
Labels

Comments

@kaushalyap
Copy link

Thanks for building this, I was wanting something like this for while. But there is an issue with my OS (Fedora 37).

I have downloaded AppImage, when I execute it shows following

Screenshot from 2023-04-14 18-43-43

Debug Log

❯ ./spyglass_23.4.1_amd64.AppImage 
2023-04-14T13:11:16.074555Z  INFO main spyglass_app: Loading prefs from: "/home/username/.config/spyglass"    
2023-04-14T13:11:16.085518Z  INFO tokio-runtime-worker spyglass_app: checking for update...    
2023-04-14T13:11:16.113211Z  INFO                 main spyglass_app: Registering CmdOrCtrl+Shift+/ as shortcut    
mv: /tmp/.mount_spyglaD3a91e/usr/lib/libselinux.so.1: no version information available (required by mv)
2023-04-14T13:11:16.222870Z  INFO                 main spyglass_app::plugins::notify: starting notify plugin    
2023-04-14T13:11:16.223036Z  INFO tokio-runtime-worker spyglass_app::plugins::notify: waiting for backend...    
2023-04-14T13:11:16.223117Z  INFO tokio-runtime-worker spyglass_app::plugins::startup: Running startup tasks    
2023-04-14T13:11:16.223153Z  INFO tokio-runtime-worker spyglass_app::plugins::startup: Running migrations    
2023-04-14T13:11:16.278645Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying all pending migrations
2023-04-14T13:11:16.282057Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying migration 'm20221024_000001_connection_table'
2023-04-14T13:11:16.325643Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Migration 'm20221024_000001_connection_table' has been applied
2023-04-14T13:11:16.368781Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying migration 'm20221031_000001_add_error_column_to_crawl_queue'
2023-04-14T13:11:16.371749Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Migration 'm20221031_000001_add_error_column_to_crawl_queue' has been applied
2023-04-14T13:11:16.373969Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying migration 'm20221101_000001_add_open_url_col'
2023-04-14T13:11:16.375781Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Migration 'm20221101_000001_add_open_url_col' has been applied
2023-04-14T13:11:16.377638Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying migration 'm20221107_000001_recreate_connection_table'
2023-04-14T13:11:16.384907Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Migration 'm20221107_000001_recreate_connection_table' has been applied
2023-04-14T13:11:16.387234Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying migration 'm20221109_000001_add_tags_table'
2023-04-14T13:11:16.393888Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Migration 'm20221109_000001_add_tags_table' has been applied
2023-04-14T13:11:16.395833Z  INFO tokio-runtime-worker sea_orm_migration::migrator: Applying migration 'm20221115_000001_local_file_pathfix'
Asset `startup` not found; fallback to startup.html
thread 'tokio-runtime-worker' panicked at 'Unable to open / create directory: SchemaError("An index exists but the schema does not match.")', crates/migrations/src/m20221115_000001_local_file_pathfix.rs:42:56
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@a5huynh
Copy link
Collaborator

a5huynh commented Apr 14, 2023

Hey @kaushalyap , looks like you might have an older index that missed a migration.

If you don't mind, could you delete the old config & any old data? It should be under ~/.confg/spyglass and ~/.local/share/spyglass. Spyglass should be able to startup again and walk you through setting everything up again.

@a5huynh a5huynh added the linux label Apr 14, 2023
@kaushalyap
Copy link
Author

@a5huynh Thanks for the quick response, while after deleting config I do not get the error, but I cannot see the icon on system tray, as I heard in Gnome it is hassle.

I even tried CTRL + SHIFT + / to see the search UI, but search UI did not show up, but I could see the process on the system monitor.

FYI : My window manger is X11.

@a5huynh
Copy link
Collaborator

a5huynh commented Apr 17, 2023

@kaushalyap That is a little odd! Is any spyglass window visible in your taskbar at all? Would you mind attaching your logs as well? It should be under ~/.local/share/spyglass/logs

I'll spin up a VM of Fedora 37 to see if there's any issues

@kaushalyap
Copy link
Author

kaushalyap commented Apr 19, 2023

@a5huynh After deleting config it shows up on startup with running migrations spinner.

Logs for today: client.log.2023-04-19

2023-04-19T01:14:03.029467Z  INFO spyglass_app: Loading prefs from: "/home/username/.config/spyglass"    
2023-04-19T01:14:03.050758Z  INFO spyglass_app: checking for update...    
2023-04-19T01:14:03.082146Z  INFO spyglass_app: Registering CmdOrCtrl+Shift+/ as shortcut    
2023-04-19T01:14:03.175259Z  INFO spyglass_app::plugins::notify: starting notify plugin    
2023-04-19T01:14:03.175274Z  INFO spyglass_app::plugins::startup: Running startup tasks    
2023-04-19T01:14:03.175345Z  INFO spyglass_app::plugins::startup: Running migrations    
2023-04-19T01:14:03.175350Z  INFO spyglass_app::plugins::notify: waiting for backend...    
2023-04-19T01:14:03.335641Z  INFO sea_orm_migration::migrator: Applying all pending migrations
2023-04-19T01:14:03.342258Z  INFO sea_orm_migration::migrator: Applying migration 'm20221115_000001_local_file_pathfix'

@kaushalyap
Copy link
Author

@a5huynh after deleting both ~/.config/spyglass and ~/.local/share/spyglass/ and restarting showed me the intro wizard and search box, even though CTRL + SHIFT + / does not seem to work anyway I could access settings so I could change the default keybindings?

@a5huynh
Copy link
Collaborator

a5huynh commented May 10, 2023

@kaushalyap sorry completely missed this comment!

You are able to update the hotkey in your settings file. If you check under ~/.config/spyglass/settings.ron you can add/replace the existing "shortcut" setting to the hotkey of your choice. Some examples of what key combos are supported are available here: https://docs.spyglass.fyi/usage/settings.html

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

No branches or pull requests

2 participants