Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Kurian O.S
rotate take a list


pm.rotate([0,45,0], r=1, os=1)

On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup  wrote:

> mel and maya.cmds
>
> rotate -r -os 0 45 0;
>
> works different than
>
> pymel
>
> pm.rotate(0,45,0,r=1,os=1)
>
> any ideas why and what is going on with it?
>
>
> --
> Todd Widup
> Creature TD / Technical Artist
> t...@toddwidup.com
> todd.wi...@gmail.com
> www.toddwidup.com
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
--:: Kurian ::--

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPSoshxn4_oC_mYr-hJ4G2aR4xBcqRruhCNdA4-4ZK_CQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
it works without it as well..atleast here is it and errors on a list

On Thu, Feb 25, 2016 at 1:27 PM, Kurian O.S  wrote:

> rotate take a list
>
>
> pm.rotate([0,45,0], r=1, os=1)
>
> On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup  wrote:
>
>> mel and maya.cmds
>>
>> rotate -r -os 0 45 0;
>>
>> works different than
>>
>> pymel
>>
>> pm.rotate(0,45,0,r=1,os=1)
>>
>> any ideas why and what is going on with it?
>>
>>
>> --
>> Todd Widup
>> Creature TD / Technical Artist
>> t...@toddwidup.com
>> todd.wi...@gmail.com
>> www.toddwidup.com
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> --:: Kurian ::--
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPSoshxn4_oC_mYr-hJ4G2aR4xBcqRruhCNdA4-4ZK_CQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Todd Widup
Creature TD / Technical Artist
t...@toddwidup.com
todd.wi...@gmail.com
www.toddwidup.com

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk36macv4yhpns-OkJT4U%2B4ZkDd%2BFLqzwbRyuk6b%3D788N6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
hye Damon, I would normally...was just testing something and found this
bug/strange behavior

On Thu, Feb 25, 2016 at 1:55 PM, damon shelton 
wrote:

> Use xform 
>
>
> On Thursday, February 25, 2016, Todd Widup  wrote:
>
>> the point being though...I can get it to work in either...but the same
>> values actually rotate differently between mel/maya.cmds and pymel
>>
>> On Thu, Feb 25, 2016 at 1:41 PM, Todd Widup  wrote:
>>
>>> it works without it as well..atleast here is it and errors on a list
>>>
>>> On Thu, Feb 25, 2016 at 1:27 PM, Kurian O.S  wrote:
>>>
 rotate take a list


 pm.rotate([0,45,0], r=1, os=1)

 On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup 
 wrote:

> mel and maya.cmds
>
> rotate -r -os 0 45 0;
>
> works different than
>
> pymel
>
> pm.rotate(0,45,0,r=1,os=1)
>
> any ideas why and what is going on with it?
>
>
> --
> Todd Widup
> Creature TD / Technical Artist
> t...@toddwidup.com
> todd.wi...@gmail.com
> www.toddwidup.com
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



 --
 --:: Kurian ::--

 --
 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+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPSoshxn4_oC_mYr-hJ4G2aR4xBcqRruhCNdA4-4ZK_CQ%40mail.gmail.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> Todd Widup
>>> Creature TD / Technical Artist
>>> t...@toddwidup.com
>>> todd.wi...@gmail.com
>>> www.toddwidup.com
>>>
>>
>>
>>
>> --
>> Todd Widup
>> Creature TD / Technical Artist
>> t...@toddwidup.com
>> todd.wi...@gmail.com
>> www.toddwidup.com
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk35%3D7djj-0YD%2B5Vev0c_HbjC3QTqpGJTqoYBuVnmPnfMJA%40mail.gmail.com
>> 
>> .
>> 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 python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAM9RXoJMEVNKECHX76zjcFVVS6E-rFct9XgNcXSYyYbm22tAPA%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Todd Widup
Creature TD / Technical Artist
t...@toddwidup.com
todd.wi...@gmail.com
www.toddwidup.com

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk37mP%3D2Bpx9hacM_89zCdSQcbLdMF0zM2SKo1qc2H_6Unw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
mel and maya.cmds

rotate -r -os 0 45 0;

works different than

pymel

pm.rotate(0,45,0,r=1,os=1)

any ideas why and what is going on with it?


-- 
Todd Widup
Creature TD / Technical Artist
t...@toddwidup.com
todd.wi...@gmail.com
www.toddwidup.com

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Todd Widup
the point being though...I can get it to work in either...but the same
values actually rotate differently between mel/maya.cmds and pymel

On Thu, Feb 25, 2016 at 1:41 PM, Todd Widup  wrote:

> it works without it as well..atleast here is it and errors on a list
>
> On Thu, Feb 25, 2016 at 1:27 PM, Kurian O.S  wrote:
>
>> rotate take a list
>>
>>
>> pm.rotate([0,45,0], r=1, os=1)
>>
>> On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup  wrote:
>>
>>> mel and maya.cmds
>>>
>>> rotate -r -os 0 45 0;
>>>
>>> works different than
>>>
>>> pymel
>>>
>>> pm.rotate(0,45,0,r=1,os=1)
>>>
>>> any ideas why and what is going on with it?
>>>
>>>
>>> --
>>> Todd Widup
>>> Creature TD / Technical Artist
>>> t...@toddwidup.com
>>> todd.wi...@gmail.com
>>> www.toddwidup.com
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> --:: Kurian ::--
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPSoshxn4_oC_mYr-hJ4G2aR4xBcqRruhCNdA4-4ZK_CQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Todd Widup
> Creature TD / Technical Artist
> t...@toddwidup.com
> todd.wi...@gmail.com
> www.toddwidup.com
>



-- 
Todd Widup
Creature TD / Technical Artist
t...@toddwidup.com
todd.wi...@gmail.com
www.toddwidup.com

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CABBPk35%3D7djj-0YD%2B5Vev0c_HbjC3QTqpGJTqoYBuVnmPnfMJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread damon shelton
Use xform 

On Thursday, February 25, 2016, Todd Widup  wrote:

> the point being though...I can get it to work in either...but the same
> values actually rotate differently between mel/maya.cmds and pymel
>
> On Thu, Feb 25, 2016 at 1:41 PM, Todd Widup  > wrote:
>
>> it works without it as well..atleast here is it and errors on a list
>>
>> On Thu, Feb 25, 2016 at 1:27 PM, Kurian O.S > > wrote:
>>
>>> rotate take a list
>>>
>>>
>>> pm.rotate([0,45,0], r=1, os=1)
>>>
>>> On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup >> > wrote:
>>>
 mel and maya.cmds

 rotate -r -os 0 45 0;

 works different than

 pymel

 pm.rotate(0,45,0,r=1,os=1)

 any ideas why and what is going on with it?


 --
 Todd Widup
 Creature TD / Technical Artist
 t...@toddwidup.com 
 todd.wi...@gmail.com
 
 www.toddwidup.com

 --
 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+unsubscr...@googlegroups.com
 
 .
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>> --:: Kurian ::--
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com
>>> 
>>> .
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPSoshxn4_oC_mYr-hJ4G2aR4xBcqRruhCNdA4-4ZK_CQ%40mail.gmail.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Todd Widup
>> Creature TD / Technical Artist
>> t...@toddwidup.com 
>> todd.wi...@gmail.com
>> 
>> www.toddwidup.com
>>
>
>
>
> --
> Todd Widup
> Creature TD / Technical Artist
> t...@toddwidup.com 
> todd.wi...@gmail.com
> 
> www.toddwidup.com
>
> --
> 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+unsubscr...@googlegroups.com
> 
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CABBPk35%3D7djj-0YD%2B5Vev0c_HbjC3QTqpGJTqoYBuVnmPnfMJA%40mail.gmail.com
> 
> .
> 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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAM9RXoJMEVNKECHX76zjcFVVS6E-rFct9XgNcXSYyYbm22tAPA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Maya-Python] API and Offset BlendShape

2016-02-25 Thread Rémi Deletrain
Hi everyone,

I try to get offset points of blendshape with maya API.

whis pymel is very simple with this line:

--

pmc.PyNode(blendshapeName).inputTarget[0].inputTargetGroup[0].inputTargetItem[6000].inputPointsTarget.get()

--

whis API:

--

#For get MFnBlendShape
selectionList = OpenMaya.MSelectionList()
selectionList.add(blendShapeName)

bsObject = OpenMaya.MObject()
selectionList.getDependNode(0, bsObject)
bsDependencyNode = OpenMaya.MFnDependencyNode(blendShapeObject)

#For get weights datas
attributeName = 
"inputTarget[0].inputTargetGroup[0].inputTargetItem[6000].inputPointsTarget"

selectionList = OpenMaya.MSelectionList()
wPlug = OpenMaya.MPlug()

selectionList.add(blendShapeName + "." + attributeName)
selectionList.getPlug(0, wPlug)

--

But after is impossible to get value.
I have one solution whis getSetAttrCmds. but it requires to parse string.

there another solution?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/a7016646-d5b7-4c24-9a76-677862d6f1f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Maya-Python] mayapy playblast

2016-02-25 Thread Marcus Ottosson
Hi all,

This one is probably for the Autodesk forums, but I figured I’d give it a
show.

In a virtual machine, with bare essentials installed, I’m attempting to
playblast but are running into fatal errors.

[marcus@docker:~$ docker run --rm -ti mottosso/maya:2013sp1
[root@69e43200bda7 ~]# mayapy
Python 2.6.4 (r264:75706, Jul 27 2011, 17:36:42)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import maya.standalone
maya.standalone.initialize()>>> maya.standalone.initialize()
>>> from maya import cmds
>>> cmds.playblast()
maya encountered a fatal error
Signal: 11 (Unknown Signal)
Result: untitled
Fatal Error. Attempting to save in /usr/tmp/.20160225.2226.ma

The bare essentials are these:

RUN yum update -y && yum install -y \
nano \
csh \
libXp \
libXmu \
libXpm \
libXi \
libtiff \
libXinerama \
elfutils \
gstreamer-plugins-base.x86_64 \
gamin \
git \
mesa-utils \
tcsh \
xorg-x11-server-Xorg \
wget && \
yum groupinstall -y "X Window System"


   - https://hub.docker.com/r/mottosso/mayabase-centos/~/dockerfile/

My question to you then is:

   - What else could be needed for playblasting to work?

Best,
Marcus
​
-- 
*Marcus Ottosson*
konstrukt...@gmail.com

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCzU7a12LmHJv9CXLTEmgKDxt-yDWm_UGWM4tROPUpBkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] rotate difference in Mel and python

2016-02-25 Thread Geordie Martinez
pm.rotate can take 3 floats or a dt.Vector(float,float,float) or just a
tuple with three floats. pm.rotate((0,45,0),r=True, os=True)
it is flexible.
​

On Thu, Feb 25, 2016 at 1:57 PM, Todd Widup  wrote:

> hye Damon, I would normally...was just testing something and found this
> bug/strange behavior
>
> On Thu, Feb 25, 2016 at 1:55 PM, damon shelton 
> wrote:
>
>> Use xform 
>>
>>
>> On Thursday, February 25, 2016, Todd Widup  wrote:
>>
>>> the point being though...I can get it to work in either...but the same
>>> values actually rotate differently between mel/maya.cmds and pymel
>>>
>>> On Thu, Feb 25, 2016 at 1:41 PM, Todd Widup 
>>> wrote:
>>>
 it works without it as well..atleast here is it and errors on a list

 On Thu, Feb 25, 2016 at 1:27 PM, Kurian O.S  wrote:

> rotate take a list
>
>
> pm.rotate([0,45,0], r=1, os=1)
>
> On Thu, Feb 25, 2016 at 1:19 PM, Todd Widup 
> wrote:
>
>> mel and maya.cmds
>>
>> rotate -r -os 0 45 0;
>>
>> works different than
>>
>> pymel
>>
>> pm.rotate(0,45,0,r=1,os=1)
>>
>> any ideas why and what is going on with it?
>>
>>
>> --
>> Todd Widup
>> Creature TD / Technical Artist
>> t...@toddwidup.com
>> todd.wi...@gmail.com
>> www.toddwidup.com
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk34Ewu9_i_cTd48jB2GGMm11XNYjhOYmJAm-5o0SPn6-sQ%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> --:: Kurian ::--
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhPSoshxn4_oC_mYr-hJ4G2aR4xBcqRruhCNdA4-4ZK_CQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



 --
 Todd Widup
 Creature TD / Technical Artist
 t...@toddwidup.com
 todd.wi...@gmail.com
 www.toddwidup.com

>>>
>>>
>>>
>>> --
>>> Todd Widup
>>> Creature TD / Technical Artist
>>> t...@toddwidup.com
>>> todd.wi...@gmail.com
>>> www.toddwidup.com
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CABBPk35%3D7djj-0YD%2B5Vev0c_HbjC3QTqpGJTqoYBuVnmPnfMJA%40mail.gmail.com
>>> 
>>> .
>>> 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 python_inside_maya+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAM9RXoJMEVNKECHX76zjcFVVS6E-rFct9XgNcXSYyYbm22tAPA%40mail.gmail.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Todd Widup
> Creature TD / Technical Artist
> t...@toddwidup.com
> todd.wi...@gmail.com
> www.toddwidup.com
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion 

Re: [Maya-Python] mayapy playblast

2016-02-25 Thread Justin Israel
Maybe you are missing video drivers in the bare bones image? Or maybe you
need to actually pass the display to the docker container:
http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

docker run -ti --rm  -e DISPLAY=$DISPLAY  -v
/tmp/.X11-unix:/tmp/.X11-unix mottosso/maya:2013sp1

If that doesn't work, does it work under an ubuntu image?


On Fri, Feb 26, 2016 at 12:01 PM Marcus Ottosson 
wrote:

> Hi all,
>
> This one is probably for the Autodesk forums, but I figured I’d give it a
> show.
>
> In a virtual machine, with bare essentials installed, I’m attempting to
> playblast but are running into fatal errors.
>
> [marcus@docker:~$ docker run --rm -ti mottosso/maya:2013sp1
> [root@69e43200bda7 ~]# mayapy
> Python 2.6.4 (r264:75706, Jul 27 2011, 17:36:42)
> [GCC 4.1.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import maya.standalone
> maya.standalone.initialize()>>> maya.standalone.initialize()
> >>> from maya import cmds
> >>> cmds.playblast()
> maya encountered a fatal error
> Signal: 11 (Unknown Signal)
> Result: untitled
> Fatal Error. Attempting to save in /usr/tmp/.20160225.2226.ma
>
> The bare essentials are these:
>
> RUN yum update -y && yum install -y \
> nano \
> csh \
> libXp \
> libXmu \
> libXpm \
> libXi \
> libtiff \
> libXinerama \
> elfutils \
> gstreamer-plugins-base.x86_64 \
> gamin \
> git \
> mesa-utils \
> tcsh \
> xorg-x11-server-Xorg \
> wget && \
> yum groupinstall -y "X Window System"
>
>
>- https://hub.docker.com/r/mottosso/mayabase-centos/~/dockerfile/
>
> My question to you then is:
>
>- What else could be needed for playblasting to work?
>
> Best,
> Marcus
> ​
> --
> *Marcus Ottosson*
> konstrukt...@gmail.com
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCzU7a12LmHJv9CXLTEmgKDxt-yDWm_UGWM4tROPUpBkg%40mail.gmail.com
> 
> .
> 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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1Tx_An7xhSSpP68kuyRvqMwSZLju8mm6jrVvm83U9%2BfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Maya-Python] mayapy playblast

2016-02-25 Thread Justin Israel
And also, you might get a better idea of what Maya was doing when it
crashed if you debug it with gdb?

gdb -ex run --args /bin/bash `which mayapy`
...
>>> # do stuff
[crash]
(gdb) bt
[back track follow]



On Fri, Feb 26, 2016 at 1:26 PM Justin Israel 
wrote:

> Maybe you are missing video drivers in the bare bones image? Or maybe you
> need to actually pass the display to the docker container:
> http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/
>
> docker run -ti --rm  -e DISPLAY=$DISPLAY  -v
> /tmp/.X11-unix:/tmp/.X11-unix mottosso/maya:2013sp1
>
> If that doesn't work, does it work under an ubuntu image?
>
>
> On Fri, Feb 26, 2016 at 12:01 PM Marcus Ottosson 
> wrote:
>
>> Hi all,
>>
>> This one is probably for the Autodesk forums, but I figured I’d give it a
>> show.
>>
>> In a virtual machine, with bare essentials installed, I’m attempting to
>> playblast but are running into fatal errors.
>>
>> [marcus@docker:~$ docker run --rm -ti mottosso/maya:2013sp1
>> [root@69e43200bda7 ~]# mayapy
>> Python 2.6.4 (r264:75706, Jul 27 2011, 17:36:42)
>> [GCC 4.1.2] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import maya.standalone
>> maya.standalone.initialize()>>> maya.standalone.initialize()
>> >>> from maya import cmds
>> >>> cmds.playblast()
>> maya encountered a fatal error
>> Signal: 11 (Unknown Signal)
>> Result: untitled
>> Fatal Error. Attempting to save in /usr/tmp/.20160225.2226.ma
>>
>> The bare essentials are these:
>>
>> RUN yum update -y && yum install -y \
>> nano \
>> csh \
>> libXp \
>> libXmu \
>> libXpm \
>> libXi \
>> libtiff \
>> libXinerama \
>> elfutils \
>> gstreamer-plugins-base.x86_64 \
>> gamin \
>> git \
>> mesa-utils \
>> tcsh \
>> xorg-x11-server-Xorg \
>> wget && \
>> yum groupinstall -y "X Window System"
>>
>>
>>- https://hub.docker.com/r/mottosso/mayabase-centos/~/dockerfile/
>>
>> My question to you then is:
>>
>>- What else could be needed for playblasting to work?
>>
>> Best,
>> Marcus
>> ​
>> --
>> *Marcus Ottosson*
>> konstrukt...@gmail.com
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCzU7a12LmHJv9CXLTEmgKDxt-yDWm_UGWM4tROPUpBkg%40mail.gmail.com
>> 
>> .
>> 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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1nVmohxvUFm4j3BVujT56Hw%2BkhCHS7iqLxjJqzw8T-7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.