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 ?
unittest()
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):
attr_dict={}
adobj=win32com. client.GetObjec t(self.LdapPath ) #<<<<this line causes the error
return {'aaa':'bbb'} 0 920 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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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.
| |