shiboken type error

124 views
Skip to first unread message

Todd Widup

unread,
Sep 4, 2014, 10:55:20 AM9/4/14
to python_in...@googlegroups.com
# TypeError: You need a shiboken-based type. #

I get this on EVERY pySide window that I try to launch on one machine.  I have searched online in the past for it with no luck, and the guys I am working with on this have never seen this one before. 

If I run the code line by line, and then type test the variable, it is of a shiboken type. 

And I can run this on any machine but my main workstation, because of this I am thinking its a conflict on my machine, but not even sure where to look...any ideas?

--
Todd Widup
Creature TD / Technical Artist
todd....@gmail.com

Justin Israel

unread,
Sep 4, 2014, 3:20:16 PM9/4/14
to python_in...@googlegroups.com

What about print statements along the way of the script to test as it is running?

Does it do this on more than one machine?

--
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/CABBPk37DGRJuCiFdYpgguQs%2B8QM-6UL15DwUig1phBbyjvTXTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Todd Widup

unread,
Sep 4, 2014, 3:33:00 PM9/4/14
to python_in...@googlegroups.com
no, just my main workstation   just setup all the tools on my laptop and its fine..and tested it on every computer in the office and its just mine. 

ive ran similar code line by line and it works fine up till : 
shiboken.wrapInstance(long(ptr), QWidget)

that is where it freaks at on any pyside system.  like I said, I have ran it line by line and actually verified before that wrapInstance call if its a shiboken type and it is. 

so at this point, I have to assume its a conflict on my workstation with something else in python in maya, but I cant track down anything else



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

--
Todd Widup
Creature TD / Technical Artist

Justin Israel

unread,
Sep 4, 2014, 3:44:27 PM9/4/14
to python_in...@googlegroups.com

Is this the same thing you were dealing with back in Feb?

https://groups.google.com/forum/m/#!msg/python_inside_maya/Oc6dufBADXc/ipu9_jGQK80J

Sounds like you do have some mixed library conflicts on that box.

Todd Widup

unread,
Sep 4, 2014, 4:22:46 PM9/4/14
to python_in...@googlegroups.com
same, never have been able to get it resolved, so I figured I would try again and see if anyone new to the list ran into it. 

might just nuke my box and have IT reformat it all



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

33th...@gmail.com

unread,
Sep 8, 2014, 8:06:34 AM9/8/14
to python_in...@googlegroups.com
Do you have fabric engine installed?

Just rename the pyside folder within the fabric install directory

Todd Widup

unread,
Sep 8, 2014, 3:45:04 PM9/8/14
to python_in...@googlegroups.com
AWESOME...that could definitely be it :D


On Mon, Sep 8, 2014 at 5:06 AM, <33th...@gmail.com> wrote:
Do you have fabric engine installed?

Just rename the pyside folder within the fabric install directory
--
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.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages