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

MacOS 14.5 no sound #1041

Open
matt-horwood-mayden opened this issue May 28, 2024 · 10 comments
Open

MacOS 14.5 no sound #1041

matt-horwood-mayden opened this issue May 28, 2024 · 10 comments

Comments

@matt-horwood-mayden
Copy link

Hello,

I have an issue with the sound not working after some time, I think it might be a macos sleep thing. A restart seems to make the sound work for a bit

@HenriWahl
Copy link
Owner

@matt-horwood-mayden sorry for the late reply. Can you try the meanwhile released newer version?

@matt-horwood-mayden
Copy link
Author

have updated to 3.16.2, will see how long the sound works for. I also have an OS update to 15.1 pending, so may have to see if that affects anything

@matt-horwood-mayden
Copy link
Author

I have just got back from the school run and nagstamon is not making any sound, but the floating thing is flashing.

I have had my mac go to sleep over night, I do wander if that kills its sound notification thread

@HenriWahl
Copy link
Owner

I remember there was a problem with Nagstamon being packaged by pyinstaller in Nagstamon. The package basically is a ZIP file, which gets extracted at every start into a temporary folder. For some reason the contained sound files got deleted after a while - sounds like something like this came back with the lates pyinstaller.

@HenriWahl
Copy link
Owner

To prove this theory you could define some other sound somewhere on your harddisk and see if it vanishes too.

@matt-horwood-mayden
Copy link
Author

Hello 👋🏼

I have good news and bad, I have been using custom sounds all this time. So have swapped back to the default, will see if thats the issue

image

@HenriWahl
Copy link
Owner

@matt-horwood-mayden this is really strange because it was originally a problem of the included sounds.

@matt-horwood-mayden
Copy link
Author

Does that mean you have fixed builtin sounds and a similar fix might work for custom sounds?

I have been running with the builtin sounds and they too seem to stop after some time, but I have noticed that they do return intermittently. Not sure if that helps or not.

@HenriWahl
Copy link
Owner

@matt-horwood-mayden no - only the builtin sound need the fix, because the packaging tool pyinstaller stuffs all things related to Nagstamon into a zipped file which gets unzipped at start into a temporary folder by design. I noted that macOS from time to time cleans up this folder and thus deletes all sound files. Nagstamon cares about these sound files and rewrites them if they had been cleaned away. This "mechanism" is not needed for custom sound files.

@matt-horwood-mayden
Copy link
Author

ok, that is very odd then. what can I do to help debug?

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

2 participants