mayapy throws segmentation fault 11 errors when executing functions

94 views
Skip to first unread message

Alex W

unread,
Feb 18, 2015, 9:01:39 PM2/18/15
to python_in...@googlegroups.com
I'm just getting started with Python for Maya, following the book Practical Maya Programming with Python, and I am getting stuck quite early.  When I use mayapy, I get segmentation fault 11 errors when I try to execute functions and simple lines of code:

>>> import sys

throws the error

>>> def hello():
...          return 'Hello, Maya!'

also throws the same error.

I'm running a student version of Maya 2014 on mac osx Yosemite.  Any thoughts?

Kurian O.S

unread,
Feb 18, 2015, 9:57:15 PM2/18/15
to python_in...@googlegroups.com
Can you show us your error log ?

--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/15f23fcd-21af-452a-b254-f9f2a61b8b0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--:: Kurian ::--

Alex W

unread,
Feb 18, 2015, 11:00:15 PM2/18/15
to python_in...@googlegroups.com

Last login: Wed Feb 18 19:55:53 on ttys001

ALEXs-MBP:~ Alex$ /Applications/Autodesk/maya2014/Maya.app/Contents/bin/mayapy ; exit;

Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43) 

[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> print 'hello'

hello

>>> def hello():

Segmentation fault: 11

logout

[Process completed]


This is the error from the mayapy window.  Is there a more detailed error log that I should be able to access?



On Wednesday, February 18, 2015 at 6:57:15 PM UTC-8, Kurian wrote:
Can you show us your error log ?
On Wed, Feb 18, 2015 at 6:01 PM, Alex W <alexwil...@gmail.com> wrote:
I'm just getting started with Python for Maya, following the book Practical Maya Programming with Python, and I am getting stuck quite early.  When I use mayapy, I get segmentation fault 11 errors when I try to execute functions and simple lines of code:

>>> import sys

throws the error

>>> def hello():
...          return 'Hello, Maya!'

also throws the same error.

I'm running a student version of Maya 2014 on mac osx Yosemite.  Any thoughts?

--
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 python_inside_maya+unsub...@googlegroups.com.



--
--:: Kurian ::--

Alex W

unread,
Feb 19, 2015, 12:32:28 AM2/19/15
to python_in...@googlegroups.com
I was able to get things working by downloading Maya 2015.  I was resisting this because the projects I have been working on were 2014, but this is unrelated so it's okay.  Not sure what the problem is, but I see in one of the Maya 2015 Service Packs, a mayapy interactive prompt issue similar to mine was resolved, so maybe it had been a problem for a while?

Kurian O.S

unread,
Feb 19, 2015, 1:39:05 PM2/19/15
to python_in...@googlegroups.com
MAYA-36024 mayapy crashes on Mac 10.9 with interactive input in the prompt, there is a bug report, don't know is it the same.

--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/033a74c6-cf08-459f-bcc7-2a8225f6328d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
--:: Kurian ::--

Chris Lesage

unread,
Feb 19, 2015, 2:52:18 PM2/19/15
to python_in...@googlegroups.com
Hey Alex,

I just upgraded to Yosemite this week and I am getting this error as well in mayapy 2013 and 2014. Before I upgraded, it was working.

Chris

Justin Israel

unread,
Feb 19, 2015, 2:58:24 PM2/19/15
to python_in...@googlegroups.com

I'm always scared to update to the latest osx release, as a developer, because there always ends up being funny quirks. usually do the one just before :-)


Reply all
Reply to author
Forward
0 new messages