[Closed] Max 2010: <netManager>.GetServers gives error
I have a render pass manager tool I wrote that I’ve been using for the past two Max versions, which now errors when I try to use it in Max 2010. I think I’ve found the specific issue. If you type this into the listener:
netMan=netRender.getManager()
netMan.connect #automatic "255.255.255.0"
Everything works fine up to this point. But if you then try to get a list of the servers by running this:
servList=netMan.GetServers()
It then gives a ** system exception ** error.
This only happens in max 2010.
Any ideas?
Hi Jon,
I’ve tried my code and I’be tried your code and i cannot re-produce the error.
netMan=netRender.getManager()
<MixinInterface:NetManager>
netMan.connect #automatic "255.255.255.0"
true
servList=netMan.GetServers()
#(<MixinInterface:NetServer>, <MixinInterface:NetServer>)
can you think of anything else that might be causing it?
Josh.
Unfortunately I can’t. I get the same error on two different machines, one on Vista and one on XP. They’re both on the same network.Thanks though.
Thanks,
Yeah, I tried reinstalling BB on all the nodes (I have three on the render farm), and still, when I try this code on any of the three, they all give the same error. Two are Vista, one is XP. Two are production machines with lots of various software loaded, but the other is a bare-bones render-only machine, with only the OS installed, plus Max of course. The only thing they all have in common is they they share the same network, and they all run this code correctly with previous versions of Max but not with Max 2010.
This is very frustrating, as my whole render pipeline is dependent on this code working properly. Something is definately working different under the hood in Max 2010.
i guess 2010 is out in the US and not in the uk? my sub center still lists 2009 as the only available.
[edit] ah, sorry, just checked the other forum, tend not to look at that one anymore! :hmm: nice to see the usual UI moans that accompany each release!
Have you tried supplying a platform? The Platform (#32,#64,#default) parameter tells it how to connect to the manager, as either 32bit or 64bit (NOTE: you can only connect one at a time, so your results will either be 32bit or 64bit).
-Eric
That was a great idea, Eric, but unfortunately that didn’t do it either.
Doh, sorry I haven’t deployed 2010 here, yet, so can’t help with out just coming up with ideas.
-Eric
I posted this issue at the-area.com forums, and I got a good fast response from Chris Johnson.
http://area.autodesk.com/index.php/forums/viewthread/25137/
I’m hoping this will be fixed with the next hotfix that rolls out.
Thanks all.