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
Nicotine crashes upon quitting #1525
Comments
Thank you for taking the time to report this @afincato I am personally not qualified to know what the exact cause of this issue is, or if it would be fixed in the most recent revision of Nicotine 3.1.1 or not, but if there is no particular reason why you still need to use the previous revision, then it might be worth a go. Link: Download Installer (Catalina/10.15 and newer) Please note I can't see anything that jumps out at me in the changelog that specifically addresses the problem you reported, but I could be wrong about that, I've not tried any MacOS version myself.
I am unclear if you say this bug is reproducible or not... Please can you clarify if the issue occurred only once, or is it every time you press Should the error be encountered again in the future with the current revision, then other MacOS users would be interested to have it fixed for future versions, so please do post again on here if you encounter the error message again. |
@afincato Also what Mac? I can see you used brew for nicotine plus try |
Thanks both! I upgraded Nicotine with brew to the latest version. Tried a few downloads and that works. I noticed though that the UI is quite slow (eg the cursor), but things work (this reminded me why I switched back to Soulseek QT, UI responsiveness).
I use a MacBook Pro 15 from 2015, and upgraded to Big Sur a few months ago.
now Cmd+Q works as expected, no issue. I wonder what could have been. To give more context, yesterday before opening Nicotine+ I was trying to download a few things with Soulseek QT and it crashed on me twice after an item would be added to the download queue. Not sure if somehow my computer had to clear up some network congestion from Soulseek before being operative again. I think we can close. Appreciated the fast response! |
You're welcome :-) It shouldn't be the case that the UI is unresponsive. This is not normal behaviour, so it requires further investigation incase other similar systems are affected (Edit: it does indeed seem that M1 Macs are affected by this issue too). As the first troubleshooting step, please can you deselect When you have done this and tested it for a while, please respond to let us know if this has made any difference or not. |
Welcome @afincato is also been reported that is a GTK 3 behaviour on MacOS, see #1475 (comment) @mathiascode has mention GTK 4 seems to be an improvement for MacOS If you wiling to build and compatible a GTK 4 with brew however before doing so, wait for @mathiascode to confirm if you need to remove the GTK 3 from brew before adding GTK 4
|
i tried to build Nicotine+ with GTK4 and it seems to run fine! when doing searches the input text does not lag, changing tab and moving the cursor goes smooth. i noticed that with then for completeness i tried to install the latest dmg of Nicotine+ (instead of installing it with (i closed Nicotine+ GTK4 and copied the Nicotine+ GT3 on the desktop instead of dragging it to the Applications folder) i did upon Cmd + Q i got this other error:
i am more than happy to run the hand-compiled GTK4 version of the UI as it seems to work perfectly! (: if i made some mistake along the way please tell me, but it seems that GTK4 is performing much better. |
@mathiascode sounds like to me this be a timeout error on both GUI and Network however i cant confirm if is Big SIr 11.5.2 thats the issue for GTK4 as i have a Rust-lang issue but that would be down to a older Mac Pro on El Capitan 10.11.6
@afincato You need to create DMG file for GTK4 and replace app into Applications, Might be an idea to rename the app when is created nicotine grk4 so you can have one that gtk3 and gtk4 and so on. @afincato
If you going to do this, i would recommend either to do some sort of cronjob to delete the nicotine-plus folder and re-download using some sort of git clone method as the acual settings are stored in /Users/MrSJobs/.local/share/nicotine and with brew update and brew upgrade to keep update with GTK4. |
@afincato As a result of your bug report, a fix has been implemented which avoids this crash on similar MacOS systems. Thank you for posting the error logs which helped to identify the issue. You can run from git/brew or download and install the latest Unstable version of Nicotine+ for MacOS which also includes further optimizations for GTK4 support that you may be interested in testing out, this is still a work in progress for Nicotine+ 3.2.0 so please feel free to post on here should you encounter any further issues. Thank you for your time and feedback. |
Thanks for your work! I just had some time to try the new version out (using the pre-compiled, unstable version for macOS) and upon launching Nicotine I got this error:
Manually pulling down from git and running the pip installation command, then running Could it be something with the DMG packaging going wrong? |
Why is there no GTK version reported? That's strange, but unrelated as the failure occurred in an area with an URL handler. There has been a commit added 0976348 please can you test the Unstable installer again if you can, and verify if this fixes the issue or not? |
Latest Unstable installer works perfectly. Thanks! |
Nicotine+ version: 3.1.0
Operating System/Distribution: macOS 11.5.2
Describe the bug
when quitting the program (with
cmd
+q
) i received an error message (suggesting me to report the bug).Expected behavior
the program quits as it should.
Steps to reproduce the bug
cmd
+q
Additional context
The text was updated successfully, but these errors were encountered: