XML-RPC error

11 views
Skip to first unread message

Grimes Mark

unread,
May 14, 2013, 1:50:03 PM5/14/13
to rcyto...@googlegroups.com
Paul

I keep getting the error:
Error: faultCode: 0 faultString: Failed to parse XML-RPC request:
Failed to parse double value: NA

What is this?

The context is shown below. (I also get it sometimes when loading
edges.)

Thanks,

Mark




> cygraph <- plot.cy (cf)
> cywin <- new.CytoscapeWindow (winname, graph= cygraph)
nodes have no label attribute -- adding default labels
> displayGraph(cywin)
estimated displayGraph time: 0.2 seconds
adding 6 nodes...
sending 6 nodes
ending sendNodes
adding 0 edges...
CytoscapeWindow.sendEdges, no edges in graph. returning
adding node attributes...
[1] "BlueSKNBPIM.CS10549"
[1] "BlueSKNBDRM.CS10548"
[1] "BlueSKNBEndo.1.CS10551"
[1] "BlueSKNBEndo.2.CS10552"
[1] "BlueSKNBLyso.CS10550"
[1] "LAN6end1pY.CS6121"
Error: faultCode: 0 faultString: Failed to parse XML-RPC request:
Failed to parse double value: NA
> sessionInfo()
R version 3.0.0 (2013-04-03)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] parallel grid splines stats graphics grDevices
utils datasets methods base

other attached packages:
[1] rgl_0.93.932 plyr_1.8 GOstats_2.26.0
Category_2.26.0 GO.db_2.9.0 org.Hs.eg.db_2.9.0
[7] RSQLite_0.11.3 DBI_0.2-5 AnnotationDbi_1.22.2
Biobase_2.20.0 BiocGenerics_0.6.0 RCytoscape_1.10.0
[13] XMLRPC_0.3-0 graph_1.38.0 gplots_2.11.0
KernSmooth_2.23-10 caTools_1.14 gdata_2.12.0
[19] gtools_2.7.1 tsne_0.1-2 vegan_2.0-7
permute_0.7-0 RUnit_0.4.26 bio3d_1.1-5
[25] adegenet_1.3-7 ape_3.0-8 igraph_0.6.5-1
ade4_1.5-2 MASS_7.3-26 cluster_1.14.4
[31] Hmisc_3.10-1 survival_2.37-4 stringr_0.6.2
fdrtool_1.2.10 qgraph_1.2.1

loaded via a namespace (and not attached):
[1] annotate_1.38.0 AnnotationForge_1.2.0 bitops_1.0-5
ellipse_0.3-8 genefilter_1.42.0
[6] GSEABase_1.22.0 IRanges_1.18.0 jpeg_0.1-2
lattice_0.20-15 lavaan_0.5-12
[11] nlme_3.1-109 png_0.1-4 psych_1.3.2
RBGL_1.36.0 RCurl_1.95-4.1
[16] sem_3.1-3 stats4_3.0.0 tools_3.0.0
XML_3.95-0.2 xtable_1.7-1

Paul Shannon

unread,
May 14, 2013, 1:54:02 PM5/14/13
to rcyto...@googlegroups.com, Grimes Mark, Paul Shannon

On May 14, 2013, at 10:50 AM, Grimes Mark wrote:

> Error: faultCode: 0 faultString: Failed to parse XML-RPC request: Failed to parse double value: NA


Hi Mark,

It looks like you are passing in node attributes which are NA. Perhaps you could check the node attribute values before you send? NAs are not currently expected by RCy, by XML-RPC, or by Cytoscape.

- Paul

Grimes Mark

unread,
May 14, 2013, 2:25:43 PM5/14/13
to Paul Shannon, rcyto...@googlegroups.com
Paul

Ah - yes, that is the problem.

Thanks,

Mark
Reply all
Reply to author
Forward
0 new messages