Open 1fth3n3ls3 opened 3 years ago
Hi,
Thanks for the information.
What OS version are you on, and have you tried the latest version (2.9+)?
https://github.com/krathjen/studiolibrary/releases/tag/2.9.6.b3
Cheers,
Kurt
I'm working in windows, I will give a try to the beta to see if solves the problem.
Edit: The same error still happens. It's really kind of weird...
any fix for this? I have a project that requires studio library.
I too have the same crash. I just bought a new MSI GE76 laptop ( 11980HK CPU ), and upon installation of Maya 2017 and StudioLibrary. As soon as I click on the Studio Library Icon, it crashes straight to desktop without an error message. Following the original posters advice I commented out
\studiolibrary-2.7.1\src\studiolibrary\utils.py (The code inside def sendAnalytics, I just removed it ) \studiolibrary-2.7.1\src\studiolibrary\librarywindow.py ( The code inside def CheckForUpdates, I just removed it )
works fine now :)
any fix for this? I have a project that requires studio library.
yes, it works if you follow my instructions I posted below.
Thanks Gooseman77! We were also experiencing the crash with Maya 2019.3.1, and instead of commenting out functions we were able to prevent the crash by creating a config.json file in ./src/studiolibrary/config and disabling analytics only (didn't need to disable CheckForUpdates, though this is also a config parameter). This was our file:
{ "analyticsEnabled": false }
set OPENSSL_ia32cap=~0x20000000
Thanks, @Gooseman77 ! Just to add, using studiolibrary-2.9.6.b3 , crashing when opening SL in maya 2019, my solution was pretty much the same. deleting the sendAnalytics procedure, line 207 in the librarywindow.py file, found in file path \studiolibrary-2.9.6.b3\src\studiolibrary. And that's it. Might just be a problem with newer CPUs.
@Gooseman77
Hello, after I tested your method, I still can't open it.
I think I may have done something wrong, could you please upload your profile and send it directly to me
Was anyone able to upload the fixed version? Still crashing 2022
Found a good fix from the people at Animbot and Studio Library. Edit the environment variables on your windows machine and create a new one with the following name: OPENSSL_ia32cap and the following value: ~0x20000000 This will disable a feature in newer CPU's that makes some Maya Python based plugins fail to start (you need to restart your machine for these variables to take effect)
This is a video link for those looking for a fix
Maya simply close without any error message when I try to open a fresh new instalation of Studio library 2.7.1. That happens in Maya 2020 (also in 2022 in python 2.7 compliant mode). After trying to find what can be causing the issue it seem it has to be with threading module and also QTrhead, one of them is use in sendAnalytics function and the other one is the method who checks for updates. It seems to be a known issue https://www.mail-archive.com/python_inside_maya@googlegroups.com/msg18861.html but is the first time I'm experiencing in a new installation. Commenting this two calls Studio Library show the window without problems and Maya don't crash. Don't know if something in my local configuration contributes to generate this error.