-
Notifications
You must be signed in to change notification settings - Fork 15
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
The addon freezes Blender when it tries to load it. #12
Comments
Hi, thanks for your report and I apologize for the issue you've been facing. Unfortunately, I have not been able to reproduce it so far. From the zip you provided, it appears you aren't using the latest version (you are using 1.7.1, the latest is 1.8.0). It's also important to note that an active internet connection is required in order for the add-on to properly make calls to the RPC, otherwise blender will hang until a connection is made (this also includes on startup). Perhaps you've been having connection issues lately? Make sure you're properly able to connect to discord.com, and ensure that no firewalls are somehow blocking in/out traffic from the Discord client and Blender. After ensuring your connection and if it still fails to load, what GPU(s) are you using? This may not sound relevant to the problem, although the script also grabs your GPU name as a display option on startup which would be the only other thing I would believe to cause a crash. Thanks |
Installing the latest version seems to not cause Blender to freeze, also keep in mind that this just happened completely out of nowhere, and had never occurred before.
Nah, I was not having any connection issues when that begun, especially with Discord, since I was actively asking people on Discord if they have any idea what could be causing this sudden freezing. That being said, the addon freezing the entire program if there is no internet connection sounds like a massive bug in itself. What if somebody is in a location without reliable internet, and their connection begins cutting off while they are working on a project ? As for my GPU, it's a Gigabyte RTX 2060. |
"the addon freezing the entire program if there is no internet connection sounds like a massive bug in itself"
Yes, obviously that is not the desired effect, but its a limitation with regular code execution, it freezes the entire UI until code completion. Ive had attempts of preventing load when no internet is detected to no avail, but I plan on reading up how to either use asyncio or using a modal operator so these problems dont happen in the future, however free time hasnt been on my side lately.
Before enabling the addon, could you try toggling the console via `Window > Toggle System Console` and see if there are any errors that may appear when you try to enable it?
Thanks
Message ID: ***@***.***>
|
Nothing weird is being logged on the console when enabling the addon, even when I reinstall the old 1.7.1 version and re-enable it.
|
just experienced same issue. I launched blender with debug mode, and seen nothing weird. I got angry and just smashed ctrl-c to exit. But then a traceback said something about this addon. Full traceback here:
It seems to get stuck on function EDIT: Some info:
|
I have been able to replicate a freezing issue on latest software some while ago, however this was a time where Discord services were slow, thus causing the presence to freeze the client until the Discord RPC responded. While most freezes end up to be an issue on pypresence's end, Most of the freezing problems will most likely be fixed if (a) I get the time to make the functions asynchronous and (b) I write better error handling; both of which are planned for the next release. |
I'm not sure how this is happening, but ever since today, the addon has caused my Blender installation to freeze. It causes Blender to hang when it tries to load it on startup, or if you try enabling it on the preferences window. Even trying to open my previous versions of 2.93 and 3.2 caused the same problem. The only way to stop the freezing was for me to remove it from the scripts folder so Blender can't find it and load it while it's using my main config.
I have no idea why that is happening, or why it spontaneously begun just today. But it did make me think that somehow my userpref.blend file was retroactively corrupted.
Here is the script of the addon from the appdata scripts folder for 3.3, along with my preferences file too. In case that can help you troubleshoot this bizarre bug.
Prefs and addon.zip
The text was updated successfully, but these errors were encountered: