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 /Applications/TextMate/TextMate.app/Contents/SharedSupport/ Bundles/Blogging.tmbundle/Support/lib/metaweblog.rb:31:in `getRecentPosts' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/ Bundles/Blogging.tmbundle/Support/lib/blogging.rb:547:in `fetch' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/ Bundles/Blogging.tmbundle/Support/lib/blogging.rb:546:in `popen' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/ Support/lib/progress.rb:11:in `call_with_progress' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/ Bundles/Blogging.tmbundle/Support/lib/blogging.rb:546:in `fetch' from /tmp/temp_textmate.XQJVcg:3
Additionally, when I attempt to fetch my categories (cat TAB), I get the following:
/usr/lib/ruby/1.8/xmlrpc/client.rb:551:in `do_rpc': Wrong size. Was 7283, 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 /tmp/temp_textmate.iNdaKE:46 from /tmp/temp_textmate.iNdaKE:45:in `popen' from /Applications/TextMate/TextMate.app/Contents/SharedSupport/ Support/lib/progress.rb:11:in `call_with_progress' from /tmp/temp_textmate.iNdaKE:45
Can anyone suggest anything to help? I really appreciate it.
Thanks,
Peder
P.s. By the way, I don't exactly feel my skills in the terminal are good enough to input the change that Brett has shared with everyone.
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[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
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>
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
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>
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
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>
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
Peder,
Are you sure that you are in the client.rb file found the directory / usr/lib/ruby/1.8/xmlrpc/ ? Please check the subdirectory of the client.rb file that you are reading..& hopefully making the changes to.. At times people have several installations of ruby and client.rb files that are in other places...
danstan
On Dec 12, 2006, at 4:09 PM, foodfarmfuture@gmail.com wrote:
/usr/lib/ruby/1.8/xmlrpc/client.rb
danstan -
Good thought. Now that I rechecked it, yes, I had been using the right one. Fortunately (or maybe un-) I have never used ruby nor even know how to and have never installed any version of it or made any alterations to the one that already exists in OS X. Maybe this sounds stupid, but I don't even know what ruby is for or how to use it with TM.
Thanks for the thought.
Peder
On 12 Dec, 2006, at 14:20 , xolela@mac.com wrote:
Peder,
Are you sure that you are in the client.rb file found the directory /usr/lib/ruby/1.8/xmlrpc/ ? Please check the subdirectory of the client.rb file that you are reading..& hopefully making the changes to.. At times people have several installations of ruby and client.rb files that are in other places...
danstan
On Dec 12, 2006, at 4:09 PM, foodfarmfuture@gmail.com wrote:
/usr/lib/ruby/1.8/xmlrpc/client.rb
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
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>
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
So did you comment out lines 547-552 as indicated by Brett? To comment use the # symbol in front of EACH of those lines.. or use the method that Brett used in his pastie (ie, =begin just before line 547 and =end just after line 552. Then save the file and re-try.
danstan
On Dec 12, 2006, at 5:21 PM, 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>
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
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>
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
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
On 13. Dec 2006, at 20:53, Brett Terpstra wrote:
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.
Actually, I think this is a bug in client.rb.
Basically if the server does not send a content-length header, client.rb will report that the result had an incorrect size. But AFAIK the content-length header is not mandatory.
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
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