<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>Hi there,<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>I hope someone
can help me ;-)..... I have been on the mail lists trying to find my problem
but still no luck ;-( I am an SAP integration specialist and I play alot in
Python, Erlang etc......and am VERY impressed so far with RabbitMQ.<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>I have installed
the RabbitMQ Server (1.2.0).....and have installed the QPID Python libs.....and
I run on Windows XP....<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>The server is up
and running on the default port etc.....<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>BUT I cannot get
the Python code working properly or get the test runs going.......here is the
code below that is dying:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>import qpid<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>from qpid.client
import Client<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>from qpid.content
import Content<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>client =
Client("127.0.0.1", 5672, spec=qpid.spec.load('amqp0-8.xml'))
"spec is in the same directory....<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=red
face="Courier New"><span lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New";
color:red'>client.start({ 'LOGIN': 'guest', 'PASSWORD': 'guest'}) <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>The client.start
method DIES.....and the user and password are correct....the error I get in
Wing IDE is:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 color=red
face="Courier New"><span lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New";
color:red'>Closed: <o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>Traceback
(innermost last):<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>File
"D:\tmp\Rabbit\rabbit.py", line 1, in ?<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'> import qpid<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>File "D:\tmp\Rabbit\rabbit.py",
line 8, in ?<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'> client.start({
'LOGIN': 'guest', 'PASSWORD': 'guest'}) File
"D:\Python24\Lib\site-packages\qpid\client.py", line 83, in start<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>
self.channel(0).connection_open(self.vhost)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>File
"D:\tmp\Rabbit\<string>", line 3, in connection_open File
"D:\Python24\Lib\site-packages\qpid\peer.py", line 182, in invoke<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'> raise
Closed(self.reason)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>If I debug the
code it seems to go happily into the "client.py" code.....but when it
calls "self.wait()" but then executes the following and raises
"EOFError" because it seems to be closed or something<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>self.started.wait()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'> if
self.closed:<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'> raise
EOFError()<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>I am probably
doing something very stupid....just wanted to know if I need to START something
on the server or install something like QPID? Or perhaps something else?<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>Thanks for the
help.....I would appreciate any sort of feedback on this.....<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>Thanks again ;-)<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'>Lynton<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face="Courier New"><span
lang=EN-ZA style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></font></p>
</div>
</body>
</html>