Here is a piece of code that produces the error.
In fact, your code works perfectly if you make this little change:
--- login.py.orig 2008-03-14 22:53:40.000000000 +0100
+++ login.py 2008-03-14 23:06:19.000000000 +0100
@@ -39,7 +39,7 @@
login = login_in
password = password_in
- url = "http://www.linux-france.org/cgi-bin/demexp-xmlrpc-demo"
+ url = "http://www.linux-france.org/cgi-bin/demexp-xmlrpc-test"
s = ServerProxy(url)
cookie = s.login(login, password)
In other words, use the test server instead of the demo one. The
explanation is pretty simple: the XML RPC proxy for the demo server does
*not* have the add_response() method (and probably others)! :-/
So use http://www.linux-france.org/cgi-bin/demexp-xmlrpc-test and
everything should go smoothly.