[issue10950] ServerProxy returns bad XML

Georg Brandl report at bugs.python.org
Wed Jan 19 21:41:22 CET 2011


Georg Brandl <georg at python.org> added the comment:

Not sure what you mean by "non-marshallable type".  The Last.fm API returns the XML as an XMLRPC string, including the backslashes.

I tried the same call in Ruby using the script below, and get the backslashes too.  I would say this is a fault of Last.fm's XMLRPC server.

Ruby code:

require 'xmlrpc/client'
cl = XMLRPC::Client.new2 'http://ws.audioscrobbler.com/2.0/'
puts cl.call('library.getTracks', {'api_key' => 'b25b959554ed76058ac220b7b2e0a026', 'user' => 'joanofarctan', 'page' => 1})

----------
nosy: +georg.brandl
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10950>
_______________________________________


More information about the Python-bugs-list mailing list