Hi
I have been blogging at wordpress without problem. Suddenly today, I started getting the following error with fetch post (& almost similar error with post). I am running the most recent cutting edge build of TM (1349). Any help would be most appreciated..
/usr/lib/ruby/1.8/xmlrpc/client.rb:551:in `do_rpc': Wrong size. Was 11418, 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.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/metaweblog.rb:31:in `getRecentPosts' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:547:in `fetch' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:546:in `popen' from /Library/Application Support/TextMate/Support/lib/progress.rb: 11:in `call_with_progress' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:546:in `fetch' from /tmp/temp_textmate.bAle6r:3
Thanks
danstan
I had this problem when I first started blogging with Wordpress and TM. For me, it required a hack of client.rb, but now that I know what I'm doing a little better, it could probably be fixed on the Wordpress side. I'm not sure of the specifics of the bug though, I just know that Wordpress returns an incorrect size and that Ruby won't accept it. I just commented out the two lines that check for it.
Brett
On Dec 2, 2006, at 1:43 AM, xolela@mac.com wrote:
Hi
I have been blogging at wordpress without problem. Suddenly today, I started getting the following error with fetch post (& almost similar error with post). I am running the most recent cutting edge build of TM (1349). Any help would be most appreciated..
/usr/lib/ruby/1.8/xmlrpc/client.rb:551:in `do_rpc': Wrong size. Was 11418, 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.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/metaweblog.rb:31:in `getRecentPosts' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:547:in `fetch' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:546:in `popen' from /Library/Application Support/TextMate/Support/lib/progress.rb: 11:in `call_with_progress' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:546:in `fetch' from /tmp/temp_textmate.bAle6r:3
Thanks
danstan
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 Terpstra : Art Director Circle Six Design, Inc. 111 Riverfront Dr, Suite 204 .................................................. p: 507.459.4398 877.858.4332 f: 1.866.540.3063 e: brett@circlesixdesign.com http://www.circlesixdesign.com ..................................................
Thanks for your response Brett,
Do you recall which 2 lines you commented out (I assume this was in client.rb)?
I am still trying to grasp Ruby & I probably shouldnt be murking around in there - but its worth a try...
Thanks again
danstan
On Dec 2, 2006, at 5:35 AM, Brett Terpstra wrote:
I had this problem when I first started blogging with Wordpress and TM. For me, it required a hack of client.rb, but now that I know what I'm doing a little better, it could probably be fixed on the Wordpress side. I'm not sure of the specifics of the bug though, I just know that Wordpress returns an incorrect size and that Ruby won't accept it. I just commented out the two lines that check for it.
Brett
On Dec 2, 2006, at 1:43 AM, xolela@mac.com wrote:
Hi
I have been blogging at wordpress without problem. Suddenly today, I started getting the following error with fetch post (& almost similar error with post). I am running the most recent cutting edge build of TM (1349). Any help would be most appreciated..
/usr/lib/ruby/1.8/xmlrpc/client.rb:551:in `do_rpc': Wrong size. Was 11418, 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.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/metaweblog.rb:31:in `getRecentPosts' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:547:in `fetch' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:546:in `popen' from /Library/Application Support/TextMate/Support/lib/ progress.rb:11:in `call_with_progress' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:546:in `fetch' from /tmp/temp_textmate.bAle6r:3
Thanks
danstan
_ 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 Terpstra : Art Director Circle Six Design, Inc. 111 Riverfront Dr, Suite 204 .................................................. p: 507.459.4398 877.858.4332 f: 1.866.540.3063 e: brett@circlesixdesign.com http://www.circlesixdesign.com ..................................................
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 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 3, 2006, at 2:45 AM, xolela@mac.com wrote:
Thanks for your response Brett,
Do you recall which 2 lines you commented out (I assume this was in client.rb)? [...]