Up until recently, Ive had great luck with the blogging bundle for TextMate. However, now in both Tiger and Leopard I get this error whenever I try to do anything (like Fetch Posts or Publish a Post).
Received exception:#<NoMethodError: undefined method `[]' for nil:NilClass> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rexml/parsers/baseparser.rb:320:in `pull' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rexml/parsers/streamparser.rb:16:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rexml/document.rb:185:in `parse_stream' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/xmlrpc/parser.rb:717:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/xmlrpc/parser.rb:460:in `parseMethodResponse' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/xmlrpc/client.rb:421:in `call2' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/xmlrpc/client.rb:410:in `call' /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/metaweblog.rb:34:in `newPost' /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:531:in `post_or_update' /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ progress.rb:36:in `call' /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ progress.rb:36:in `call_with_progress' /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ progress.rb:43:in `call' /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ progress.rb:43:in `call_with_progress' /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb: 17:in `dialog' /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ progress.rb:40:in `call_with_progress' /Applications/TextMate.app/Contents/SharedSupport/Bundles/ Blogging.tmbundle/Support/lib/blogging.rb:526:in `post_or_update' /tmp/temp_textmate.GftXwA:3 ... Exception parsing Line: 0 Position: 0 Last 80 unconsumed characters: </methodResponse
I've scoured the web looking for info about this but cannot find anything. Any suggestions would be greatly appreciated.
Thanks!
-- Matt Berther http://www.mattberther.com
On 1 Nov 2007, at 03:11, Matt Berther wrote:
Up until recently, Ive had great luck with the blogging bundle for TextMate. However, now in both Tiger and Leopard I get this error whenever I try to do anything (like Fetch Posts or Publish a Post).
Did you upgrade the blogging system on your server recently? And what is the blogging system running on your server?
Hi Allan,
I have not recently upgraded...
I apologize for the terrible report; I thought that I had included the wordpress version, but after re-reading, I saw that I didnt even mention wordpress.
It's wordpress 2.2.2 -- mattberther.com
On 11/1/07, Allan Odgaard throw-away-2@macromates.com wrote:
On 1 Nov 2007, at 03:11, Matt Berther wrote:
Up until recently, Ive had great luck with the blogging bundle for TextMate. However, now in both Tiger and Leopard I get this error whenever I try to do anything (like Fetch Posts or Publish a Post).
Did you upgrade the blogging system on your server recently? And what is the blogging system running on your server?
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 1 Nov 2007, at 20:03, Matt Berther wrote:
I apologize for the terrible report; I thought that I had included the wordpress version, but after re-reading, I saw that I didnt even mention wordpress.
It's wordpress 2.2.2 -- mattberther.com
Okay, first thing I would suggest is upgrade to WP 2.3.1.
From the stack trace it seems like the XML received from the server is malformed.
You can enable logging of all the XML-RPC traffic in WordPress by editing xmlrpc.php (on the server). Search for “log” and it should be possible to specify a filename for the log. This log might reveal if WP is sending malformed XML.
Hi Allan,
Thank you for your advice. I've upgraded to WP 2.3.1 and still see the issue. However, I am not so sure that it is a problem on the server. On a windows box at work, I use the e-text editor, which utilizes the blogging bundle from textmate. On the windows box, things work just fine. However, on the Leopard box at home, it seems to strip the last
character from the xml response.
I'm kind of at a loss for how to resolve this. Any tips would be much appreciated.
On Nov 4, 2007 2:59 AM, Allan Odgaard throw-away-2@macromates.com wrote:
On 1 Nov 2007, at 20:03, Matt Berther wrote:
I apologize for the terrible report; I thought that I had included the wordpress version, but after re-reading, I saw that I didnt even mention wordpress.
It's wordpress 2.2.2 -- mattberther.com
Okay, first thing I would suggest is upgrade to WP 2.3.1.
From the stack trace it seems like the XML received from the server is malformed.
You can enable logging of all the XML-RPC traffic in WordPress by editing xmlrpc.php (on the server). Search for "log" and it should be possible to specify a filename for the log. This log might reveal if WP is sending malformed XML.
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
Hi again, Allan.
This problem gets weirder and weirder. Out of sheer morbid curiosity, I tried again on OSX when I got home. All seems to be ok now.
Although, I did notice that I had some problems with my feeds which was resolved with removing some empty lines around <? ?> blocks in my themes, causing empty lines prior to the xml declaration in my feeds. I cant help but wonder if this was what was causing my errors with the xmlrpc.
Thanks for helping with this...
-- Matt Berther http://www.mattberther.com
On Nov 8, 2007, at 9:55 AM, Matt Berther wrote:
Hi Allan,
Thank you for your advice. I've upgraded to WP 2.3.1 and still see the issue. However, I am not so sure that it is a problem on the server. On a windows box at work, I use the e-text editor, which utilizes the blogging bundle from textmate. On the windows box, things work just fine. However, on the Leopard box at home, it seems to strip the last
character from the xml response.
I'm kind of at a loss for how to resolve this. Any tips would be much appreciated.
On Nov 4, 2007 2:59 AM, Allan Odgaard throw-away-2@macromates.com wrote:
On 1 Nov 2007, at 20:03, Matt Berther wrote:
I apologize for the terrible report; I thought that I had included the wordpress version, but after re-reading, I saw that I didnt even mention wordpress.
It's wordpress 2.2.2 -- mattberther.com
Okay, first thing I would suggest is upgrade to WP 2.3.1.
From the stack trace it seems like the XML received from the server is malformed.
You can enable logging of all the XML-RPC traffic in WordPress by editing xmlrpc.php (on the server). Search for "log" and it should be possible to specify a filename for the log. This log might reveal if WP is sending malformed XML.
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
-- Matt Berther http://www.mattberther.com