Forum: Poser Python Scripting


Subject: Calling ADP (or anyone else that can help) : re UDPServer

mathman opened this issue on May 03, 2009 · 22 posts


mathman posted Sun, 03 May 2009 at 5:40 AM

Hi all,

I have visited ADP's website, and noticed a pair of Python scripts packaged together. They are UDPServer and PPMaster.

If I understand the description correctly, these look like the answer to my prayers. I use PRPC in Poser 7 so that I can load up my characters, poses, lights etc from P3DO Explorer (mainly because I absolutely DESPISE the Poser Library with a passion). I've become used to this, and find this arrangement to be quite comfortable.

The drawback of this is that I can't run any other python script as long as this one is running.

This setup (UDPServer) looks as if it could possibly fix this problem, however I have read the description on ADP's page and still don't know how to get this setup running correctly.

At the moment, when I run UDPServer.py from within Poser, I get the following error messages : 

*Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsScriptsMenuADPUDPserver.py", line 617, in ?
    app=UDPApp(root,ip="192.168.0.198")
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsScriptsMenuADPUDPserver.py", line 462, in init
    self.udp=poserUDP(IP=ip,portIn=portIn,portOut=portOut)
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsScriptsMenuADPUDPserver.py", line 87, in init
    self.conIn.bind((self.IP,self.portIn))
  File "", line 1, in bind
socket.error: (10049, "Can't assign requested address")

Any help appreciated (I need a bit of hand-holding here, as my Python know-how isn't too great).

Many thanks and regards,
Andrew