Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Maya commandline executable crash with error:255

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
578 Views, 0 Replies

Maya commandline executable crash with error:255

Anonymous
Not applicable

Ubuntu 16.04

Maya 2018

Tractor 2.2

Python 2.7

 

Hi,

I have been pulling my hair out for a couple days now trying to figure out how to launch maya from a python script with subprocessing. I need to spawn a new terminal and run a shotgun toolkit executable to launch maya with a specific set of context. When i do run the command, Maya crashes with a error 255 and i am not sure why. I can launch maya just fine directly from the commandline and i can run from commandline the tank maya-2018 command and that works as well. But when i try to run the exact same command through a subprocess maya errors out with a stack trace: strlen error. The same error occurs on pixar tractor renderfarm when try to spool from a script as well. The error doesnt happen running the spool from within maya but from my script. Any ideas on whats happening and how i can fix it? Thanks

0 Likes

Maya commandline executable crash with error:255

Ubuntu 16.04

Maya 2018

Tractor 2.2

Python 2.7

 

Hi,

I have been pulling my hair out for a couple days now trying to figure out how to launch maya from a python script with subprocessing. I need to spawn a new terminal and run a shotgun toolkit executable to launch maya with a specific set of context. When i do run the command, Maya crashes with a error 255 and i am not sure why. I can launch maya just fine directly from the commandline and i can run from commandline the tank maya-2018 command and that works as well. But when i try to run the exact same command through a subprocess maya errors out with a stack trace: strlen error. The same error occurs on pixar tractor renderfarm when try to spool from a script as well. The error doesnt happen running the spool from within maya but from my script. Any ideas on whats happening and how i can fix it? Thanks

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report