473,698 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pyro: ActiveState (wind32) to Unix

I'm using ActiveState python on a windows box to talk to ACtive Directory. I'm running a Pyro Server on the same box.

The client is Linux running std Python 2.4.

It works just fine until the server codes calls some win32com.client api; then I get
Traceback (most recent call last):
File "C:\All\project s\AccAdminTools \src\demo002\cl ient\client.py" , line 25, in ?
File "C:\All\project s\AccAdminTools \src\demo002\cl ient\client.py" , line 21, in unittest
properties = ad.getPropertie s()
File "c:\all\tools\p ython24\lib\sit e-packages\Pyro-3.7-py2.4-win32.egg\Pyro\ core.py", line 390, in __call__
return self.__send(sel f.__name, args, kwargs)
File "c:\all\tools\p ython24\lib\sit e-packages\Pyro-3.7-py2.4-win32.egg\Pyro\ core.py", line 468, in _invokePYRO
return self.adapter.re moteInvocation( name, constants.RIF_V arargsAndKeywor ds, vargs, kargs)
File "c:\all\tools\p ython24\lib\sit e-packages\Pyro-3.7-py2.4-win32.egg\Pyro\ protocol.py", line 416, in remoteInvocatio n
answer = pickle.loads(an swer)
ImportError: No module named pywintypes

_______________ _____the offending code is _______________ _______________ __________ def getProperties(s elf):
def getProperties(s elf):
adobj=win32com. client.GetObjec t(self.LdapPath ) #<<<<this line causes the error
return {'aaa':'bbb'}
Oct 11 '07 #1
0 922

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: hyperbob | last post by:
Hi, I'm working on a distributed application using Pyro, and I've come across several issues I'm not really sure how to handle, since this is my first distributed application. My application consists of several servers supplying various functions. They require a name server to be running first. How do I make it run? What if another application has already set up a pyro name server (because if I use such a server it could be shut down
by: Graham | last post by:
Which is better perl setup on w98se: Full cygwin or activestate ? (or other) In particular I will probably be installing DBI +DBD and using with Oracle 9i Personal Regards Graham
by: adam | last post by:
I'm using Pyro to develop a distribuited system running my integration test suite I've found a strange behaviour it seems that whenever I have a failed resolve or unregister on a name server, the name server acts normally during its life span, but when I shut it down... something remains up... if, afterwards, i lookup for a name server python freezes
by: writeson | last post by:
Hi all, At work I'm considering proposing a solution for our distributed processing system (a web based shopping cart that feeds an actual printing production line) based on Pyro. I've done some minor experiments with this and Pyro looks interesting and like a good implementation of what I want. I've got a couple of questions though: 1) Has anyone had any experience with Pyro, and if so, have you had any stability, or memory use...
by: jamitwidme | last post by:
Hello everyone Can someone help me fix this problem? I am using an example from Pyro(Python Remote Object) website directly. It is the last example from http://pyro.sourceforge.net/manual/8-example.htm I have two computers to run Server and Client. ############################################
by: Dudeja, Rajat | last post by:
Hi, So, now I've finally started using Eclipse and PyDev as an IDE for my GUI Application. I just wrote some sample programs as an hands on. Now I would like to take up Tkinter. I'm using Active State Python version 2.5 and found that there is not Tkinter and Tk module in it. To use Tkinter do I actually require Tk installed on my machine? Please suggest and where can I find both these modules?
by: Irmen de Jong | last post by:
I'm happy to announce Pyro 3.8 -- Python's own powerful remote method invocation technology! You can get it via http://pyro.sourceforge.net, then go to the SF project homepage download area. While 3.8 is a bug-fix release there are quite a lot of improvements since the previous version. Please check the changes chapter in the manual for details: http://pyro.sourceforge.net/manual/12-changes.html#latest
by: Chuckk Hubbard | last post by:
The docs say to try to discover the URI on my own if this happens. Could I get a hand doing that? This isn't just something I want to solve on my machine, e.g. by changing my network setup or what not; this is a program I hope to distribute and I hope my users can avoid having to deal with this, because I suspect they won't. Thankye. Here's what I typed and what I got:
by: Chuckk Hubbard | last post by:
OK, I think I have it. The Manual says to start a Name Server "using the ns command", and I figured out that means using the pyro-ns script. On Mon, Nov 10, 2008 at 10:49 AM, Chuckk Hubbard <badmuthahubbard@gmail.comwrote: --
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.