Situation here where some users aren’t getting the Shotgun menu in Maya, while most are, all while running the same SG config. I’ve checked tk-maya log files for those users (and also tk-desktop log files) but found nothing of note.
Beyond those log files, anywhere else I should be looking? Considering it’s working for the majority, I’m stumped.
Further investigation reveals that for at least one of the affected users (the one we tested with), start_toolkit isn’t being run at all, even though if you e.g. import sgtk in the Maya session where start_toolkit didn’t run, it imports fine and is the correct toolkit (so it’s not a general tookit failure).
Let’s amend the original question to “what would stop start_toolkit from even being called when Maya is launched through SGDesktop?”
I’m guessing this is where it should be called from:
After Maya has launched, inspecting the PYTHONPATH environment variable’s value shows that it includes the correct path to userSetup.py (with the start_toolkit() method) in both successful and failing situations, e.g.: