"HTTPError: HTTP Error 504: Gateway Time-ou"t with get_node_table()

39 views
Skip to first unread message

Pascal KREZEL

unread,
Oct 28, 2016, 1:36:52 PM10/28/16
to cytoscape-discuss
Hi,

In the file "New_wrapper_api_sample.ipynb", I got the following error:

================================================================================
# Get table from Cytoscape

node_table = scale_free100.get_node_table()

---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
<ipython-input-74-3f41ca2cab17> in <module>()
1 # Get table from Cytoscape
----> 2 node_table = scale_free100.get_node_table()

/home/pkrezel/Programmes/anaconda3/lib/python3.5/site-packages/py2cytoscape/data/cynetwork.py in get_node_table(self, format)
152
153 def get_node_table(self, format=None):
--> 154 return self.__get_table('node', format)
155
156 def get_edge_table(self, format=None):

/home/pkrezel/Programmes/anaconda3/lib/python3.5/site-packages/py2cytoscape/data/cynetwork.py in __get_table(self, type, format)
143 if format is None or format is 'dataframe':
144 uri = url + '.tsv'
--> 145 return pd.read_csv(uri, sep='\t', index_col=0, header=0)
146 elif format is 'csv' or format is 'tsv':
147 return self.session.get(url + '.' + format).content

...

/home/pkrezel/Programmes/anaconda3/lib/python3.5/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
588 class HTTPDefaultErrorHandler(BaseHandler):
589 def http_error_default(self, req, fp, code, msg, hdrs):
--> 590 raise HTTPError(req.full_url, code, msg, hdrs, fp)
591
592 class HTTPRedirectHandler(BaseHandler):

HTTPError: HTTP Error 504: Gateway Time-out

================================================================================

Where does this problem come from ?

Sincerely.

Pascal KREZEL

Barry Demchak

unread,
Oct 28, 2016, 1:37:38 PM10/28/16
to cytoscap...@googlegroups.com, cytoscape...@googlegroups.com
Forwarding to HelpDesk Google Group ...
--
You received this message because you are subscribed to the Google Groups "cytoscape-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-disc...@googlegroups.com.
To post to this group, send email to cytoscap...@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-discuss.
For more options, visit https://groups.google.com/d/optout.

Barry Demchak

unread,
Nov 2, 2016, 10:31:35 AM11/2/16
to cytoscape-discuss
Pascal ...

This message was forwarded to cytoscape...@googlegroups.com ...

The cytoscape-discuss forum is now closed. Please look for a reply on HelpDesk.

Thanks!

Reply all
Reply to author
Forward
0 new messages