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

Mousai thinks it is not online #84

Closed
wimdows opened this issue Apr 23, 2023 · 13 comments
Closed

Mousai thinks it is not online #84

wimdows opened this issue Apr 23, 2023 · 13 comments

Comments

@wimdows
Copy link

wimdows commented Apr 23, 2023

Since yesterday Mousai tells me that the search request is being saved, and will be looked up next time I am online. I am pretty sure I am conected. I am using a Librem5.

@wimdows wimdows changed the title Mousai thnks it is not online Mousai thinks it is not online Apr 23, 2023
@SeaDve
Copy link
Owner

SeaDve commented Apr 23, 2023

Could you provide some more context, like logs? Thanks!

@wimdows
Copy link
Author

wimdows commented Apr 23, 2023

I am not a log expert. Which one(s) would you like?

@SeaDve
Copy link
Owner

SeaDve commented Apr 23, 2023

the one produced from Mousai through RUST_LOG=mousai=debug env var

@SeaDve
Copy link
Owner

SeaDve commented Apr 23, 2023

I would also like to ask about version

Btw, I remember that Mousai had a bug report template. It should provide guides on which information to provide which would be helpful in diagnosing the issue.

@wimdows
Copy link
Author

wimdows commented Apr 23, 2023

Don't know where to look for that log.. I will wait for the next update, maybe the problem will solve itself. Sorry for bothering you.

@wimdows
Copy link
Author

wimdows commented Apr 23, 2023

Version, I do know: 0.7.3.

@SeaDve
Copy link
Owner

SeaDve commented Apr 23, 2023

Version, I do know: 0.7.3.

Thanks!

I will wait for the next update, maybe the problem will solve itself.

I don't think it will in this case. There were changes in v0.7.3 that is relevant to this. To get the logs, just run RUST_LOG=mousai=debug mousai or if you're on flatpak, run RUST_LOG=mousai=debug flatpak run io.github.seadve.Mousai

@wimdows
Copy link
Author

wimdows commented Apr 24, 2023

Okay. Will do.

@wimdows
Copy link
Author

wimdows commented Apr 24, 2023

Hmm. No sign of the error any more. My bad, probably.

@SeaDve
Copy link
Owner

SeaDve commented Apr 25, 2023

I think I figured out the issue. It was outputting incorrect error message. It was probably not at all connection error, but you have reached token limit.

I have fixed it in a previous commit: 211130a

@SeaDve
Copy link
Owner

SeaDve commented Apr 25, 2023

I'm closing this, but feel free to reopen when you come across the issue again

@SeaDve SeaDve closed this as completed Apr 25, 2023
@bla6apm
Copy link

bla6apm commented Jun 28, 2023

Hi!

I'm facing the same issue. This is the log from console:

RUST_LOG=mousai=debug flatpak run io.github.seadve.Mousai
2023-06-28T10:51:27.919253Z  INFO mousai::application: Mousai (io.github.seadve.Mousai)
2023-06-28T10:51:27.919267Z  INFO mousai::application: Version: 0.7.5 ()
2023-06-28T10:51:27.919269Z  INFO mousai::application: Datadir: /app/share/mousai
2023-06-28T10:51:28.011070Z DEBUG mousai::database: Opened db env path="/home/bla6/.var/app/io.github.seadve.Mousai/data/mousai/db" info=EnvInfo { map_addr: 0x0, map_size: 104857600, last_page_number: 16, last_txn_id: 9, maximum_number_of_readers: 126, number_of_readers: 0 } real_disk_size=Ok(104857600)
2023-06-28T10:51:28.011090Z DEBUG mousai::database::migrations: No migrations to run for current version current_version=1
2023-06-28T10:51:28.011517Z DEBUG mousai::database: Opened db env path="/home/bla6/.var/app/io.github.seadve.Mousai/data/mousai/db" info=EnvInfo { map_addr: 0x0, map_size: 104857600, last_page_number: 16, last_txn_id: 9, maximum_number_of_readers: 126, number_of_readers: 0 } real_disk_size=Ok(104857600)
2023-06-28T10:51:28.011841Z DEBUG mousai::model::song_list: Loaded 2 songs in 317.228µs
2023-06-28T10:51:28.011941Z DEBUG mousai::recognizer::recordings: Loaded 2 saved recordings in 68.5µs
2023-06-28T10:51:28.090304Z DEBUG mousai::recognizer: Offline mode is active, skipping recognition of 2 saved recordings
2023-06-28T10:51:28.162575Z DEBUG mousai::recognizer: connectivity=Limited
2023-06-28T10:51:28.162589Z DEBUG mousai::recognizer: Offline mode is active, skipping recognition of 2 saved recordings

Thank you,

@SeaDve
Copy link
Owner

SeaDve commented Jun 28, 2023

Hi!

I'm facing the same issue. This is the log from console:

RUST_LOG=mousai=debug flatpak run io.github.seadve.Mousai
2023-06-28T10:51:27.919253Z  INFO mousai::application: Mousai (io.github.seadve.Mousai)
2023-06-28T10:51:27.919267Z  INFO mousai::application: Version: 0.7.5 ()
2023-06-28T10:51:27.919269Z  INFO mousai::application: Datadir: /app/share/mousai
2023-06-28T10:51:28.011070Z DEBUG mousai::database: Opened db env path="/home/bla6/.var/app/io.github.seadve.Mousai/data/mousai/db" info=EnvInfo { map_addr: 0x0, map_size: 104857600, last_page_number: 16, last_txn_id: 9, maximum_number_of_readers: 126, number_of_readers: 0 } real_disk_size=Ok(104857600)
2023-06-28T10:51:28.011090Z DEBUG mousai::database::migrations: No migrations to run for current version current_version=1
2023-06-28T10:51:28.011517Z DEBUG mousai::database: Opened db env path="/home/bla6/.var/app/io.github.seadve.Mousai/data/mousai/db" info=EnvInfo { map_addr: 0x0, map_size: 104857600, last_page_number: 16, last_txn_id: 9, maximum_number_of_readers: 126, number_of_readers: 0 } real_disk_size=Ok(104857600)
2023-06-28T10:51:28.011841Z DEBUG mousai::model::song_list: Loaded 2 songs in 317.228µs
2023-06-28T10:51:28.011941Z DEBUG mousai::recognizer::recordings: Loaded 2 saved recordings in 68.5µs
2023-06-28T10:51:28.090304Z DEBUG mousai::recognizer: Offline mode is active, skipping recognition of 2 saved recordings
2023-06-28T10:51:28.162575Z DEBUG mousai::recognizer: connectivity=Limited
2023-06-28T10:51:28.162589Z DEBUG mousai::recognizer: Offline mode is active, skipping recognition of 2 saved recordings

Thank you,

You seem to have limited connection. Can you browse something like google with it?

I do recommend opening a new issue since this is likely different from the original issue here.

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

3 participants