<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-ZA link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi there,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am trying to get more into RabbitMQ and have downloaded
and installed it on my Windows box.....AWESOME product!<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>BTW: I am running Erlang R13B, RabbitMQ server “rabbitmq-server-windows-1.5.5”.....and
also the latest client Erlang code from the website. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>First off I can send and receive messages to the RabbitMQ
server using a <u>PYTHON client....that is 100% fine</u>...<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>But now I am trying to get a connection from an <u>Erlang
client and am coming up with the following error</u>...<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal> blog_example_2:test().<o:p></o:p></p>
<p class=MsoNormal><span style='color:red'>** exception error: no match of
right hand side value<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:red'>
{error,{aborted,{no_exists,[user,<<"guest">>]}}}<o:p></o:p></span></p>
<p class=MsoNormal> <span style='color:red'>in
function amqp_connection:start/3<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:red'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:red'><img width=566 height=50
id="Picture_x0020_1" src="cid:image001.png@01C9E870.20B5B410"></span><span
style='color:red'><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:red'><o:p> </o:p></span></p>
<p class=MsoNormal>So this is the basic piece of code below (just a snippet for
now)....all I want to do is open up a connection to the RabbitMQ server...<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>test() -><o:p></o:p></p>
<p class=MsoNormal> User = Password = "guest",<o:p></o:p></p>
<p class=MsoNormal> %% Start a connection to the server<o:p></o:p></p>
<p class=MsoNormal> <span style='color:red'>Connection =
amqp_connection:start(User, Password).<o:p></o:p></span></p>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>I have been looking in the “amqp_connection.erl”
code but cannot see exactly where the error occurs.....I have an idea but
nothing specific....<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I presume this is a very basic error to solve? I have see
some discussion on this at <a
href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-October/002110.html">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-October/002110.html</a>
but still see no concrete answer on how I can solve it....<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Any help in this regard will be greatly appreciated ;-) <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Many thanks<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Lynton <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>