Hi there.

I have tried to launch qpid-route to configure a network between two
windows systems and got errors back. It looks like the official
windows 2.6.2 installation of Python does not like a couple of things:

1 - getppid(), called in delegates.py, does not exist under Windows.
Now, let alone a discussion about why it is so and the convenience of
using that parameter in a Windows OS, which I leave to someone else
knowing nothing at all on the subject, I found a possible
implementation at http://d.hatena.ne.jp/chrono-meter/20090325/p1
plus my personal contribution of replacing the definition
def getppid(pid)
 with
def getppid():
    """the Windows version of os.getppid"""
    pid = os.getpid()

2 - the "from exceptions import Closed" statements generates a ·cannot
import" error. I replaced that with "from exceptions import *" and
worked. Besides, it imports just one more empty class.

Please note that I just reached the level of not getting syntax
errors: I still don't know whether my patches actually do the trick.

To finish off I noticed that bug issue no 1641 goes about the same
matter. However, not knowing how to interact with JIRA and not wanting
to break the correct flow of bugs reporting, I preferred posting my
email here.

Thanks
Alex

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to