Re: [python-win32] Windows Vista slow down Python xmlrpc

2008-03-07 Thread caxelrud
Hi, I changed "localhost" to "127.0.0.1" and worked as fast as the XP. Thanks, Michel Claveau wrote: > > Hi! > > > If you replace localhost by 127.0.0.1, Vista become fast... > > e.g. :s=xmlrpclib.ServerProxy("http://127.0.0.1:8080";) > > I think that it's a name resolution problem

[python-win32] Windows Vista slow down Python xmlrpc

2008-03-06 Thread caxelrud
I tried the following simple code for client-server comunication with xmlrpc in Wiindows XP and Windows Vista (Python 2.5(r25:51908)). The Vista hardware was classified as 2x faster then the other. I got the following results: Vista: 10.1 sec XP: 0.12 sec The XP was about 100 times faster ! Does

Re: [python-win32] problem accessing OPC clients from thread

2008-01-22 Thread caxelrud
Hi, I need some help on OPC and Python (using makepy and Matrikon simulator). I am getting an error when trying to AddItem. The error is: The item definition doesn't conform to the server's syntax. OPC_E_INVALIDITEMID 0xC0040008L Any idea ? Thanks Here the code: >>> import win32com.client >>> op