Hi Lynton,<br><br>which version of the Qpid Python libraries did you use?<br><br>I&#39;m cross-posting this to the qpid-dev list... so the Qpid python guys (not me) can help out,<br><br>Cheers,<br>Rob<br><br><div><span class="gmail_quote">
On 28/09/2007, <b class="gmail_sendername">Lynton Grice</b> &lt;<a href="mailto:lynton.grice@netweaverguru.com">lynton.grice@netweaverguru.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-GB">

<div>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">Hi there,</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">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.</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">I have installed
the RabbitMQ Server (1.2.0).....and have installed the QPID Python libs.....and
I run on Windows XP....</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">The server is up
and running on the default port etc.....</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">BUT I cannot get
the Python code working properly or get the test runs going.......here is the
code below that is dying:</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">import qpid</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">from qpid.client
import Client</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">from qpid.content
import Content</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">client =
Client(&quot;<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>&quot;, 5672, spec=qpid.spec.load(&#39;amqp0-8.xml&#39;))&nbsp;
&quot;spec is in the same directory....</span></font></p>

<p style=""><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; color: red;" lang="EN-ZA">client.start({ &#39;LOGIN&#39;: &#39;guest&#39;, &#39;PASSWORD&#39;: &#39;guest&#39;}) </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">The client.start
method DIES.....and the user and password are correct....the error I get in
Wing IDE is:</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; color: red;" lang="EN-ZA">Closed: </span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">Traceback
(innermost last):</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">File
&quot;D:\tmp\Rabbit\rabbit.py&quot;, line 1, in ?</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp; import qpid</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">File &quot;D:\tmp\Rabbit\rabbit.py&quot;,
line 8, in ?</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp; client.start({
&#39;LOGIN&#39;: &#39;guest&#39;, &#39;PASSWORD&#39;: &#39;guest&#39;}) File
&quot;D:\Python24\Lib\site-packages\qpid\client.py&quot;, line 83, in start</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;
self.channel(0).connection_open(self.vhost)</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">File
&quot;D:\tmp\Rabbit\&lt;string&gt;&quot;, line 3, in connection_open File
&quot;D:\Python24\Lib\site-packages\qpid\peer.py&quot;, line 182, in invoke</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp; raise
Closed(self.reason)</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">If I debug the
code it seems to go happily into the &quot;client.py&quot; code.....but when it
calls &quot;self.wait()&quot; but then executes the following and raises
&quot;EOFError&quot; because it seems to be closed or something</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">self.started.wait()</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;&nbsp;&nbsp; if
self.closed:</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; raise
EOFError()</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">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?</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">Thanks for the
help.....I would appreciate any sort of feedback on this.....</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">Thanks again ;-)</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">Lynton</span></font></p>

<p style=""><font face="Courier New" size="2"><span style="font-size: 10pt;" lang="EN-ZA">&nbsp;</span></font></p>

</div>

</div>


<br>_______________________________________________<br>rabbitmq-discuss mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
</a><br><br></blockquote></div><br>