Hi!
I have here a problem with the Blogging-bundle and free blogs at wordpress.com
If I try to fetch a posting I get the following error: Received Exception: Wrong Size. Was 3732, should be <unknown> No posts are available!
Posts are available.
I can post though but after posting it, the posting has an error in the first line (and the date looks strange:
Received exception:Wrong size. Was 1275, should be <unknown> Type: Blog Post (Markdown) Blog: a Shortcut a Day Post: 5 Title: testpost3 Date: -4712-01-01 01:00:00 +0100 Pings: Off Comments: Off
testpost
The posting looks right in the dashboard of wordpress and date and everything else looks right as well.
I am quite sure that I set up things right because it worked with my blogs which weren't on wordpress.com - here's the content of the setup-file:
# List of Blogs # # Enter a blog name followed by the endpoint URL # # Blog Name URL a Shortcut a Day http://nielsk@macshortcut.wordpress.com/xmlrpc.php
Any help appreciated
Niels
Sounds like the same problem we've had with client.rb in the Ruby package. Is there any error giving you a line number in client.rb?
Brett
On Jan 3, 2007, at 6:44 AM, Niels Kobschätzki wrote:
Hi!
I have here a problem with the Blogging-bundle and free blogs at wordpress.com
If I try to fetch a posting I get the following error: Received Exception: Wrong Size. Was 3732, should be <unknown> No posts are available!
Posts are available.
I can post though but after posting it, the posting has an error in the first line (and the date looks strange:
Received exception:Wrong size. Was 1275, should be <unknown> Type: Blog Post (Markdown) Blog: a Shortcut a Day Post: 5 Title: testpost3 Date: -4712-01-01 01:00:00 +0100 Pings: Off Comments: Off
testpost
The posting looks right in the dashboard of wordpress and date and everything else looks right as well.
I am quite sure that I set up things right because it worked with my blogs which weren't on wordpress.com - here's the content of the setup-file:
# List of Blogs # # Enter a blog name followed by the endpoint URL # # Blog Name URL a Shortcut a Day http://nielsk@macshortcut.wordpress.com/xmlrpc.php
Any help appreciated
Niels
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 Jan 3, 2007, at 1:51 PM, Brett Terpstra wrote:
Sounds like the same problem we've had with client.rb in the Ruby package. Is there any error giving you a line number in client.rb?
the error is given in a tooltip (? -- little yellow pop-up beneath the cursor) -- no line numbers, nothing in the logs (at least none i looked in -- system.log and stuff) I gave every information I have afaik
Niels
On Jan 3, 2007, at 1:51 PM, Brett Terpstra wrote:
Sounds like the same problem we've had with client.rb in the Ruby package. Is there any error giving you a line number in client.rb?
One additional information -- after sending the post beneath - the size changes: Now the error reads: Received Exception: Wrong Size. Was 4882, should be <unknown> No posts are available!
Niels
There are two sections in /usr/lib/ruby/1.8/xmlrpc/client.rb that may need to be commented out. See the previous discussion[1].
[1]http://article.gmane.org/gmane.editors.textmate.general/16237
Brett
On Jan 3, 2007, at 7:01 AM, Niels Kobschätzki wrote:
On Jan 3, 2007, at 1:51 PM, Brett Terpstra wrote:
Sounds like the same problem we've had with client.rb in the Ruby package. Is there any error giving you a line number in client.rb?
One additional information -- after sending the post beneath - the size changes: Now the error reads: Received Exception: Wrong Size. Was 4882, should be <unknown> No posts are available!
Niels
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 Jan 3, 2007, at 2:17 PM, Brett Terpstra wrote:
There are two sections in /usr/lib/ruby/1.8/xmlrpc/client.rb that may need to be commented out. See the previous discussion[1].
[1]http://article.gmane.org/gmane.editors.textmate.general/16237
I commented out the mentioned lines, saved the file, retried it and the problem isn't solved. See: http://pastie.textmate.org/30885 (it's line 547-552 in Textmate)
Do I have to restart or something like this?
Niels *who will be away now for some hours - so don't wonder why I won't react on next mails*
You got me. That's the error that you're getting, so unless your machine is using a different install of Ruby that should bypass the problem. Let's see if anyone else has suggestions...
Brett
On Jan 3, 2007, at 7:24 AM, Niels Kobschätzki wrote:
On Jan 3, 2007, at 2:17 PM, Brett Terpstra wrote:
There are two sections in /usr/lib/ruby/1.8/xmlrpc/client.rb that may need to be commented out. See the previous discussion[1].
[1]http://article.gmane.org/gmane.editors.textmate.general/16237
I commented out the mentioned lines, saved the file, retried it and the problem isn't solved. See: http://pastie.textmate.org/30885 (it's line 547-552 in Textmate)
Do I have to restart or something like this?
Niels *who will be away now for some hours - so don't wonder why I won't react on next mails*
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 Jan 3, 2007, at 2:36 PM, Brett Terpstra wrote:
You got me. That's the error that you're getting, so unless your machine is using a different install of Ruby that should bypass the problem. Let's see if anyone else has suggestions...
typing "ruby --version" and then typing ctrl+r gives me 1.8.4 (that's what I compiled yesterday -- I know that there's Apples ruby with version 1.8.2 available on the machine as well but that brought the same error)
Niels
You need to make sure that you're modifying the client.rb in the version that TextMate is using for it's Ruby processor.
Brett
On Jan 3, 2007, at 10:03 AM, Niels Kobschätzki wrote:
On Jan 3, 2007, at 2:36 PM, Brett Terpstra wrote:
You got me. That's the error that you're getting, so unless your machine is using a different install of Ruby that should bypass the problem. Let's see if anyone else has suggestions...
typing "ruby --version" and then typing ctrl+r gives me 1.8.4 (that's what I compiled yesterday -- I know that there's Apples ruby with version 1.8.2 available on the machine as well but that brought the same error)
Niels
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 Jan 3, 2007, at 5:05 PM, Brett Terpstra wrote:
You need to make sure that you're modifying the client.rb in the version that TextMate is using for it's Ruby processor.
Found it - the right one is in my case located in: /usr/local/lib/ ruby/1.8/xmlrpc/client.rb Commenting out there Line 558 - 563 (same content as in line 547-552 in the old one) solved the problem
Thanks for the help
Niels