xmlrpclib.Fault: <Fault 406: 'Missing required arguments: username, password'>
I tried using your Drupal services but I got:
xmlrpclib.Fault: <Fault 406: 'Missing required arguments: username, password'>
This is a fresh Drupal 6 install.
Thanks
I'm got the similar error: Fault 406: 'Missing required arguments: password' when tried to run example node.save.
Run into some problems too.
If I use key auth, then I get Fault: <Fault 406: 'Missing required arguments: username, password'>
Without keys, only sessions auth, then I get return getattr(self, method_name)(self._build_eval_list(method_name, args)) TypeError: _build_eval_list() takes exactly 2 arguments (3 given)
Would really like to use this lib, but I can't get it to work, still new to python, so it might be me.
I ran into a diffent problem, using some other code on the net, and needed to change the following on Windows ... #nonce = "".join(random.sample(string.letters+string.digits, 10)) nonce = "".join(random.sample(string.ascii_letters+string.digits, 10))
Thanks LeeT
Change line 39 from
return getattr(self, method_name)(self._build_eval_list(method_name, args))
to
return getattr(self, method_name)(*self._build_eval_list(method_name, args))
Change the nonce-lines as LeeT suggested and you should be well.