<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Brett & danstan - <DIV><BR class="khtml-block-placeholder"></DIV><DIV>Just wanted to say thanks. Commenting out those lines worked great and I'm not having the problems any longer. Out of curiosity, what is the purpose of the content-length check anyhow? Thanks.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Peder</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 12 Dec, 2006, at 14:21 , Brett Terpstra wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Comment out lines 547-552 in your /usr/lib/ruby/1.8/xmlrpc/client.rb. That should bypass the content-length check.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brett</DIV><DIV><BR><DIV><DIV>On Dec 12, 2006, at 3:09 PM, <A href="mailto:foodfarmfuture@gmail.com">foodfarmfuture@gmail.com</A> wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Yes the client.rb does match. It matches both the pastie and ZIP file that you had sent to danstan. I just tried it again (fetching cat) and got the same thing that I posted earlier. Who knows, maybe I'm doing something wrong.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you think of anything else I'd be happy to know.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Peder</DIV><DIV><BR><DIV><DIV>On 12 Dec, 2006, at 12:54 , Brett Terpstra wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">I'm a little confused, but it sounds like you were working from a file that didn't contain the proper edits. Does your client.rb match the pastie at <A href="http://pastie.textmate.org/25521">http://pastie.textmate.org/25521</A>?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brett</DIV><DIV><BR><DIV><DIV>On Dec 12, 2006, at 2:16 PM, <A href="mailto:foodfarmfuture@gmail.com">foodfarmfuture@gmail.com</A> wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">So I tried doing this patch. I found it easily enough, however, it was already the way Brett indicated in his file. Anyone have any further thoughts?<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Peder</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 10 Dec, 2006, at 23:11 , <A href="mailto:xolela@mac.com">xolela@mac.com</A> wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Brett actually gave me 2 options... (see below):</DIV><DIV>I used the terminal one but you can also replace the client.rb file with unzipped version of client.rb that Brett attached for me in client.rb.patch.zip in the subdirectory. </DIV><BLOCKQUOTE type="cite">/usr/lib/ruby/1.8/xmlrpc/client.rb</BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I believe that you will need administrator rights on the computer. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>An easier way that will not need you to go to the terminal is to open that file USING textmate (which views hidden files & directories). Make the changes at EXACTLY THE LINES THAT BRETT suggested (TEXTMATE shows you the lines numbers) EXACTLY as he suggested. Its just a couple of lines. Save the file using textmate (You need your admin password to do this)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>danstan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV>Begin forwarded message:</DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I took a look and it's actually more than two lines, it's more like 6. I've got two options for you if you decide to go this route. One's a patch, attached to this email, another's a pastie[1] that you can use to edit the file yourself.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The file is located at: /usr/lib/ruby/1.8/xmlrpc/client.rb</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">the lines your looking to comment start around 547 (the def in the pastie starts around 489.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Brett</DIV></BLOCKQUOTE><SPAN><DIV><client.rb.patch.zip></DIV></SPAN></DIV><DIV><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[1]<A href="http://pastie.textmate.org/25521">http://pastie.textmate.org/25521</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR style=""></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><BR style=""></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV><DIV>On Dec 10, 2006, at 6:23 PM, <A href="mailto:foodfarmfuture@gmail.com">foodfarmfuture@gmail.com</A> wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I realize that this seems to have been covered a couple of times, however, I am new to most of this and need a better clarification.<SPAN class="Apple-converted-space"> </SPAN>I've been using TM to write to my blog without any problem.<SPAN class="Apple-converted-space"> </SPAN>The past two weeks I've been very busy and haven't posted to my blog.<SPAN class="Apple-converted-space"> </SPAN>Then a couple of days ago I tried to do so and got the following when I try to Fetch Post:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">/usr/lib/ruby/1.8/xmlrpc/client.rb:551:in `do_rpc': Wrong size. Was 37509, should be <unknown> (RuntimeError)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>from /usr/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>from </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Can anyone suggest anything to help?<SPAN class="Apple-converted-space"> </SPAN>I really appreciate it.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Peder</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV></BLOCKQUOTE></DIV><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>