Good question ;-). I'm sure someone knows far more than I. It seems to be a redundant security check to ensure that the data transferred wasn't corrupted or tampered with. I assume it would prevent any kind of injection into the tranmission... I also assume that our commenting out such features opens small security holes, but I've experienced no problems thus far.
Brett
On Dec 13, 2006, at 12:31 PM, foodfarmfuture@gmail.com wrote:
Brett & danstan -
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.
Peder
On 12 Dec, 2006, at 14:21 , Brett Terpstra wrote:
Comment out lines 547-552 in your /usr/lib/ruby/1.8/xmlrpc/ client.rb. That should bypass the content-length check.
Brett
On Dec 12, 2006, at 3:09 PM, foodfarmfuture@gmail.com wrote:
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.
If you think of anything else I'd be happy to know.
Peder
On 12 Dec, 2006, at 12:54 , Brett Terpstra wrote:
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 http://pastie.textmate.org/25521?
Brett
On Dec 12, 2006, at 2:16 PM, foodfarmfuture@gmail.com wrote:
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?
Peder
On 10 Dec, 2006, at 23:11 , xolela@mac.com wrote:
Brett actually gave me 2 options... (see below): 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. > /usr/lib/ruby/1.8/xmlrpc/client.rb
I believe that you will need administrator rights on the computer.
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)
danstan
Begin forwarded message: > 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. > > The file is located at: /usr/lib/ruby/1.8/xmlrpc/client.rb > the lines your looking to comment start around 547 (the def > in the pastie starts around 489. > > Brett <client.rb.patch.zip> > [1]http://pastie.textmate.org/25521 > > >
On Dec 10, 2006, at 6:23 PM, foodfarmfuture@gmail.com wrote:
> 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. I've been using TM to write to my blog > without any problem. The past two weeks I've been very busy > and haven't posted to my blog. Then a couple of days ago I > tried to do so and got the following when I try to Fetch Post: > > > /usr/lib/ruby/1.8/xmlrpc/client.rb:551:in `do_rpc': Wrong > size. Was 37509, should be <unknown> (RuntimeError) > from /usr/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2' > from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call' > from > Can anyone suggest anything to help? I really appreciate it. > > > Thanks, > > Peder >
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
__ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate