<div dir="ltr">I take it back. Downgrading the packet version does seem to have helped. It was still showing "Client disconected" in the debug log, but in my development log I can see it's now executing the code in the worker file. Yay.<div>
<br></div><div>Thanks for the help!</div><div><br></div><div>-gb<br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 4:51 PM, Grant Blakeman <span dir="ltr"><<a href="mailto:grant.blakeman@gmail.com">grant.blakeman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi Kieran,<div><br></div><div>I'm on a Mac. I was running packet 0.1.12, so I tried downgrading to <a href="http://0.1.7." target="_blank">0.1.7.</a> But I'm still getting the same behavior: an immediate "Client disconected" in the log whenever I try to call a new worker or ask an existing one to do something.</div>
<div><br></div><div>Could there be more info somewhere other than the debug log that I might be able to check and see what's going on?</div><div><br></div><div>-gb<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">
On Mon, Sep 22, 2008 at 8:30 PM, Kieran P <span dir="ltr"><<a href="mailto:kieran776@gmail.com" target="_blank">kieran776@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Grant,<br>
<br>
Out of curiosity, are you using a Mac or Linux?<br>
<br>
If Mac, try downgrading the packet gem to <a href="http://0.1.7." target="_blank">0.1.7.</a> Later versions include
a raise line that I found causes similar problems for me.<br>
<br>
And if Linux, try upgrading to the latest. I believe 0.1.13 contains fixes related to packet on linux.....<br>
<br>
Regards<br><font color="#888888">
Kieran</font><div><br><br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 1:09 PM, Grant Blakeman <span dir="ltr"><<a href="mailto:grant.blakeman@gmail.com" target="_blank">grant.blakeman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div dir="ltr">Hi, I've tried it both ways (:arg & :args) and still get the same 'Client disconected' in the debug log. I also tried simplifying the call to see if any of the arguments were the problem:<div>
<br></div><div>MiddleMan.worker(:danny_worker).async_do_work(:arg => "<a href="mailto:grant.blakeman@gmail.com" target="_blank">grant.blakeman@gmail.com</a>")</div><div><br></div><div>and I still get the error. It seems like the disconnect happens before it even reads anything in the worker file. I tried calling an argument that wasn't in the worker:</div>
<div><br></div><div>MiddleMan.worker(:danny_worker).async_should_not_work(:arg => "<a href="mailto:grant.blakeman@gmail.com" target="_blank">grant.blakeman@gmail.com</a>")</div><div><br></div><div>and simply got the 'Client disconected' error.</div>
<div><br></div><div>Any ideas?</div><div><br></div><div>-gb</div></div></blockquote></div>
</div></div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>-Grant Blakeman<br><a href="mailto:grant.blakeman@gmail.com" target="_blank">grant.blakeman@gmail.com</a><br><a href="http://grantblakeman.com" target="_blank">http://grantblakeman.com</a><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>-Grant Blakeman<br><a href="mailto:grant.blakeman@gmail.com">grant.blakeman@gmail.com</a><br><a href="http://grantblakeman.com">http://grantblakeman.com</a><br>
</div></div>