Same error with sys.quit() and just not doing anything at all.

Good news tho. It is when xgen is loaded it crashes. Guess that is one to 
pass along to autodesk.

Cheers,
Erik

On Wednesday, May 14, 2014 9:37:11 PM UTC+2, Justin Israel wrote:
>
> Maybe it is the force quit using the Maya command. Its possible that it is 
> doing some faulty shutdown logic when it is not running in the GUI. 
> Do you get the error if you just exit with sys.exit()? 
>  On May 15, 2014 2:16 AM, "Erik Johansson-Evegård" <
> [email protected] <javascript:>> wrote:
>
>> Sure.
>>
>> It can be something as simple as:
>>
>> test.py
>>
>>> import maya.standalone
>>> maya.standalone.initialize()
>>> import maya.cmds as mc
>>> mc.file(options.filename, o=True)
>>> mc.quit(force=True)
>>
>>
>>  
>> mayapy test.py
>>
>> Have found some xgen errors in the logs for the people where it don't 
>> work so gonna look further into that. Still feels weird that it should 
>> crash because of that when the scene dont contain any xgen stuff.
>>
>> Cheers,
>> Erik
>>
>> On Wednesday, May 14, 2014 1:30:06 PM UTC+2, Marcus Ottosson wrote:
>>>
>>> Hi Erik,
>>>
>>> Could you provide a minimal example which reproduces this error?
>>>
>>> Best,
>>> Marcus
>>>
>>>
>>> On 14 May 2014 12:10, Erik Johansson-Evegård 
>>> <[email protected]>wrote:
>>>
>>>> Hi People
>>>>
>>>> Some of our artists are having issues with mayapy crashing after it is 
>>>> done with the script.
>>>>
>>>> maya encountered a fatal error Signal: 11 (Unknown Signal)
>>>>> Stack trace:
>>>>>  /lib64/libc.so.6() [0x344b832900]
>>>>>  /usr/autodesk/maya2014-x64/bin/../lib/libpython2.7.so.1.0(+0x10e1b3) 
>>>>> [0x7fcf7ac3e1b3]
>>>>>  PyGILState_Ensure
>>>>>  TpythonLock::initLock(TpythonLock::TpythonLockingInfo)
>>>>>  TpythonObjectWithLock<TpythonLock>::~TpythonObjectWithLock()
>>>>>  TscriptAction::~TscriptAction()
>>>>>  std::tr1::unordered_map<std::string, TprepareRenderCmd::RegistryEntry, 
>>>>> std::tr1::hash<std::string>, std::equal_to<std::string>, 
>>>>> std::allocator<std::pair<std::string const, 
>>>>> TprepareRenderCmd::RegistryEntry> 
>>>>> >, false>::~unordered_map()
>>>>>  exit
>>>>>  __libc_start_main
>>>>>  /usr/autodesk/maya2014-x64/bin/python-bin() [0x400619]
>>>>
>>>>
>>>>
>>>> Anyone got some idea on where to start digging?
>>>>
>>>> Cheers,
>>>> Erik
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Python Programming for Autodesk Maya" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/python_inside_maya/c093edf8-b581-431d-87fd-
>>>> 2b64eb378727%40googlegroups.com<https://groups.google.com/d/msgid/python_inside_maya/c093edf8-b581-431d-87fd-2b64eb378727%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> -- 
>>> *Marcus Ottosson*
>>> [email protected]
>>>  
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/python_inside_maya/ab366ba7-fd6a-4824-87d3-0d0d1b2191a9%40googlegroups.com<https://groups.google.com/d/msgid/python_inside_maya/ab366ba7-fd6a-4824-87d3-0d0d1b2191a9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/e9d903d2-b228-4711-9998-70f2b7635311%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to