Can not call shotgun in maya 2020.4

Can not call shotgun in maya 2020.4

Anonymous
Not applicable
1,154 Views
3 Replies
Message 1 of 4

Can not call shotgun in maya 2020.4

Anonymous
Not applicable

At first, I have run my pipeline package on maya 2020.4 then it crashed with no warning. after that I'm trying to import module by module of the package. then I found the shotgun can not be called in maya

 

This is my code

 

import shotgun _api3
sg = shotgun_api3.Shotgun(site_name, script_name, api_key)

 

then it's crashed again.

 

I check with python.exe on C:/. It can work fine. Anyone got this issue like me and how can you solve it?

I try to ping google.com on maya session and it crashed too ==


Additional, we can't use studio library too. it got the same issues with calling shotgun 


It happened only on new machines in my studio. which I don't think it related to its hardware, but FYI.

CPU Intel Core I7-11700KF
M/B ASROCK Z590M PRO4
RAM 32GB Bus 3200
VGA GTX1660 Super/RTX 2060
SSD Samsung M.2 980 500GB Nvme/M.2 WD Blue 500GB Nvme
HDD WD Blue 1TB
OS Windows 10 20H2/21H1
CPU Cooler Cooler Master MasterAir MA410M
PSU CORSAIR RM850 850WATT 80+ GOLD

0 Likes
1,155 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Hi,

 

Did you find a solution to your problem? I think we have here the exact same issue, suddent crash while trying to connect to shotgun on maya interpreter (in maya and with mayapy), only on recent workstations. Same windows, same maya (fyi it crashes with 2020.4 but also 2018.5 here)

After digging a little more I found that it seems to come from httplib2, I tried to update it with no success, still digging…

thanks!

Paul

Message 3 of 4

baptiste.legoisECKRU
Explorer
Explorer

Hi, Can someone from Autodesk / Shotgrid help us on that please...

0 Likes
Message 4 of 4

Anonymous
Not applicable

solution found here:

https://forums.autodesk.com/t5/maya-forum/faulting-module-crash/td-p/10539490

then here:

https://support.foundry.com/hc/en-us/articles/360012750300-Q100573-Katana-Mari-and-Nuke-can-fail-to-...

 

tl;dr

setting the variable OPENSSL_ia32cap=~0x200000200000000 in windows solves the issue

0 Likes