Forum: Ruby xmlrpc: 500 internal server error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
fugalh (Guest)
on 2005-12-06 04:49
(Received via mailing list)
I wrote this little server, and a simple client remote using Tk, using
the fabulous XMLRPC:

require "xmlrpc/server"
require 'xmms'

s =, '')

This works fabulously, however for many calls (but not all), the client
gets an exception raised: RuntimeError: HTTP-Error: 500 Internal Server

The exception is raised, but the command (e.g. prev, next, pause, play,
etc.) works perfectly. I think it might have to do with return type,
because functions that return a value, like title, do not raise the
exception. Should I wrap Xmms::Remote in some kind of proxy that
coerces the return type of methods into something XMLRPC likes?
This topic is locked and can not be replied to.