search for: faultstring

Displaying 9 results from an estimated 9 matches for "faultstring".

Did you mean: failstring
2011 Feb 13
1
RCytoscape setPosition error
...odesFr, nodesTo) nElemFr = length(nodesFr) nElemTo = length(nodesTo) g <- graph::addNode(nodesAll, g) setPosition(cw, nodesFr , c(400, 400, 400), c(100, 200, 300)) setPosition(cw, nodesTo , c(600, 600, 600), c(100, 200, 300)) Error in convertToR(xmlParse(node, asText = TRUE)) : faultCode: 0 faultString: Failed to invoke method setNodesPositions in class tudelft.CytoscapeRPC.CytoscapeRPCCallHandler: null setPosition(cw, nodesTo , c(600, 600, 600), c(100, 200, 300)) Error in convertToR(xmlParse(node, asText = TRUE)) : faultCode: 1001 faultString: Node with id: D could not be found. Thanks --Fah...
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
...nd.domain.create(config) except xmlrpclib.Fault, ex: - import signal - if vncpid: - os.kill(vncpid, signal.SIGKILL) if ex.faultCode == xen.xend.XendClient.ERROR_INVALID_DOMAIN: err("the domain ''%s'' does not exist." % ex.faultString) else: err("%s" % ex.faultString) - except Exception, ex: - # main.py has good error messages that let the user know what failed. - # unless the error is a create.py specific thing, it should be handled - # at main. The purpose of this general...
2006 Jan 04
5
Webservice External XMLRPC
...ot;, "/api/directspool", 3003) begin param = server.call(''add'',:html=>''sadfdsaf'',:from=>''dsafdsaf'') puts "4 + 5 = #{param}" rescue XMLRPC::FaultException => e puts "Error:" puts e.faultCode puts e.faultString end I get the following error : no such method ''add'' on API DirectSpoolAPI The rails loggins says : Processing ApiController#directspool (for 10.0.0.1 at 2006-01-04 22:04:03) [POST] Parameters: {"methodName"=>"add", "action"=>"directs...
2006 Mar 23
0
Re: [Xen-changelog] Improve error handling, in particular fixing the ProtocolError that is thrown
...xen.xend.XendClient import server > > # getopt.gnu_getopt is better, but only exists in Python 2.3+. Use > @@ -1111,7 +1111,10 @@ > except SystemExit: > sys.exit(1) > except xmlrpclib.Fault, ex: > - print "Error: %s" % ex.faultString > + if ex.faultCode == xen.xend.XendClient.ERROR_INVALID_DOMAIN: > + print "Error: the domain ''%s'' does not exist." % ex.faultString > + else: > + print "Error: %s" % ex.faultString >...
2006 Feb 18
0
activerecord connections with xmlrpc
...ire ''xmlrpc/client'' client = XMLRPC::Client.new("localhost","/RPC2",8080) begin param = client.call("get_username",123) puts "Hello #{param}" rescue XMLRPC::FaultException => e puts "Error:" puts e.faultCode puts "faultString = [#{e.faultString}]" end ------------------------------------------------------ "PragDave" had a recent blog on a related note: http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/Connections.rdoc but again being a newbie to ruby/rails, my gymnastics with trying to put the Act...
2008 Jan 17
0
[PATCH] Fix xm restore command
...r/lib/python/xen/xm/main.py", line 2531, in main _, rc = _run_cmd(cmd, cmd_name, args) File "/usr/lib/python/xen/xm/main.py", line 2555, in _run_cmd return True, cmd(args) File "/usr/lib/python/xen/xm/main.py", line 747, in xm_restore err("%s" % ex.faultString) AttributeError: error instance has no attribute ''faultString'' This patch fixes the bugs. Test results are as follows. # touch /tmp/dummy # xm restore /tmp/dummy Error: not a valid guest state file: signature read Usage: xm restore <CheckpointFile> [-p] Restore a domai...
2007 Sep 21
2
ActionWebServer and SOAPFault
..._id => :int}], :returns => [Customer] And controller: def find_customer_by_id(customer_id) Customer.find(customer_id) end The requirement from the vendor is that if such customer does not exist I have to send back to client SOAPFault message with faultcode = "error", faultstring = "no such customer" and such detail: <error> <param id="errorCode" label="Error code">incorrect_request</param> <param id="errorDescr" label="Error description">Custome with such customer_id does not exists</param> &lt...
2008 Sep 16
2
xm, no such domain error code...
Right now xm will return 1 if you run `xm list non_existant_domain` Wouldnt it be a better idea to have a specific error code for this error so that scripts wrapping around xm can better determine if the domain does not exist or if xm just failed for whatever reason? ~Shaun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2006 Aug 16
7
ActionWebService: XMLRPC Server Multicall possible?
Hi all, I have a question concerning ActionWebService XMLRPC servers: Is it possible to send multicall requests to the Web service? I tried to use multicall and get the error message: no such method ''system.multicall'' on API [MyAPI] In Changeset 2021 there is the following commit message: add ''system.multicall'' support to XML-RPC. boxcarred methods must