Help - Search - Members - Calendar
Full Version: My XML-RPI misbehaving on Kung-Log, EspressoBlog
Movable Type Community Forum > Using Movable Type > Additional Features
Paolo
I tried running 3 different Mac OSX desktop apps to post outside of MT: Kung-Log, EspressoBlog and NetNewsWire. None of them works. Apparently, the xml-rpc.cgi is misbehaving on my blog: when it tries to retrieve a list of my categories it gives me an error message (XML-RPC call failed).
I include here the full Kung-Log error msg:
CODE
Query:
{blogid = 4; password = ********; username = "********"; }
Response:
{
   "/FaultCode" = -65794;
   "/FaultExtra" = {domain = -1; error = -65795; msg = "Encountered string encoding error"; };
   "/FaultString" = "/CFStreamFault";
   "/kWSHTTPResponseMessage" = <NSCFType: 0x154b470>;
   "/kWSResultIsFault" = 1;
}


What could possibly be wrong? All I can think of is that I added a string to change the hieranchy of  my individual archives within folders named after categories (as of the MT manual):
CODE
<$MTEntryCategory dirify="1"$>/<$MTEntryID pad="1"$>.html

Could this possibly be the reason?
Any help appreciated, I haven't a clue.
Thank you all.
RandyRants
If you're running MT on an IIS server, there's a bug that effects the way the IIS uses SOAP::Lite.

To fix it:

In the MT\ExtLib\XMLRPC\Transport directory, open the HTTP.pm file. Add the following line:

undef $ENV{SERVER_SOFTWARE};

before this line:

@XMLRPC::Transport::HTTP::CGI::ISA = qw(SOAP::Transport::HTTP::CGI);

There's a more detailed explination at RandyRants.com.

HTH!
adriaant
If you see "Encountered string encoding error", it is most likely your blog name and/or your category names have accented characters like é and such. Those will break the parser in Apple's WebServicesCore and as such Kung-Log. To fix it, convert the accented characters in your name with proper HTML entities (for a list see: http://www.evolt.org/article/comment/17/21234/). Make sure to use numeric HTML entities, btw, for compatibility with Kung-Log.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.