WebFaction
Community site: login faq

Hi

I'm using the Python API and trying to update a site using XMRPCLIB:

server.update_website(session_id, site['name'], site['ip'], site['https'], list(subdomains), *site['website_apps'])

The code used to work until recently. I am now getting the error below.

File "/usr/local/lib/python2.5/xmlrpclib.py", line 1147, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.5/xmlrpclib.py", line 1437, in __request
    verbose=self.__verbose
  File "/usr/local/lib/python2.5/xmlrpclib.py", line 1201, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/local/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
    return u.close()
  File "/usr/local/lib/python2.5/xmlrpclib.py", line 787, in close
    raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'is_disabled: Value cannot be empty'>

It doesn't make sense because the script used to work and I can't find the 'is_disabled' field anywhere in the API nor in my Models.

Any help is appreciated!

asked 21 Mar '11, 21:55

gorans
312
accept rate: 0%


Sorry about this, this was a bug in our API and it's now fixed. You can run your code again and it should now work.

permanent link

answered 22 Mar '11, 04:19

remi
1973
accept rate: 26%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×337
×75
×33
×11
×9

question asked: 21 Mar '11, 21:55

question was seen: 4,535 times

last updated: 22 Mar '11, 04:19

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM