Package: python-cherrypy3 Version: 3.0.2-2 Severity: normal Tags: patch If an error is raised, on_error is called with the exception as an argument. The xmlrpc on_error then always raises a ProtocolError because it accepts no arguments. This has been fixed in their svn trunk (see http://cherrypy.org/changeset/2015 and http://cherrypy.org/ticket/836 ).
Here is a patch against the current debian package. --- /usr/share/python-support/python-cherrypy3/cherrypy/lib/xmlrpc.py.org 2008-08-08 09:01:57.000000000 -0600 +++ /usr/share/python-support/python-cherrypy3/cherrypy/lib/xmlrpc.py 2008-08-08 09:01:20.000000000 -0600 @@ -39,7 +39,7 @@ encoding=encoding, allow_none=allow_none)) -def on_error(): +def on_error(*args, **kwargs): body = str(sys.exc_info()[1]) _set_response(xmlrpclib.dumps(xmlrpclib.Fault(1, body))) -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python-cherrypy3 depends on: ii python 2.5.2-1 An interactive high-level object-o ii python-support 0.8.1 automated rebuilding support for P python-cherrypy3 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]