|
|
|
Tell us what you think of the site.
|
Autodesk Media & Entertainment User Community
|
Autodesk® 3ds Max®
|
|
Autodesk® Maya®
|
|
Autodesk® Softimage®
|
|
Autodesk® MotionBuilder®
|
|
Autodesk® Mudbox™
|
|
Autodesk® ImageModeler™
|
|
Autodesk® Sketchbook® Pro
|
|
Autodesk® Smoke on Mac®
|
| commandPort doesn’t work in Vista 32
|
|
|
It’s a problem I’ve found in Maya 2009 running on Vista 32.
if you open a port in Maya, you can’t access it because you get a “connection refused” error.
You can test it running this script in the python script editor
import socket
from maya import cmds
cmds.commandPort(n=":7890") s = socket.socket() s.connect(("localhost", 7890)) s.send("sphere") s.shutdown(2) s.close()
You should see a sphere in the origin, otherwise in the case you use maya 2009 on vista 32 you will see the connection refused error.
I think is a problem that has to do with IPv6. I disabled it in my vista but it keeps displaying the same error.
Any idea?
|
|
|
|
I’m on Vista 64 and I’m not having any luck getting commandPort to work either.
Any input on whether this works would be great.
|
|
|
|
After some trial and error I was able to get commandPort to consistently work. I had it work sometimes, and then not other times.
I found that what I had to do is run the commandPort command twice. Like so:
commandPort -eo -n "127.0.0.1:7890"; commandPort -eo -n ":7890";
Running only one of those commands would allow me to connect with Maya through telnet with Putty, but with Python I would get a ‘Connection refused’ error. It was frustrating because as I was experimenting it would occasionally work when I ran the command in that order and it took me a while to figure out why.
I’m running 2009x64 on Vistax64, I don’t know if this is a problem in other versions or OSs.
|
|
|
|
|
Thanks.
I was trying to connect Cutter to MAya with a Vista system and had a similar connection problem. Your solution is brilliant.
Author: stephen_weber
|
| Replied: 28 July 2009 09:49 AM
|
|
|
|
|
|
Thanks a lot for posting this. It solved my problem too. Same here maya 2009 and Vista64
Author: Maulik
|
| Replied: 24 December 2009 11:29 AM
|
|
|
|
|
Hey guys,
I just wanted to chime in on this thread. This seems to be IPv6 issue here with Maya. So the workaround is to set a environment variable in the Maya.env to force Maya into IPv4 under Vista OS.
MAYA_IP_TYPE = ipv4
this should get around your port issue.
cheers!
|
|
|
|
I have tried all of the above solutions in Maya 2011 64-bit and Mudbox 2011 64-bit and nothing seems to work…
I can export from Maya into Mudbox (usually with FBX errors!) but I cannot “send to Maya” from within Mudbox.
Really very annoying…
Again thanks for the information, at least it taught me more about the Script Editor.
______________________________
MIDIManNI (aka Ivan Flack)
Cookstown, N. Ireland
|
|
|
|
|
|