Pascal KREZEL
unread,Oct 28, 2016, 1:36:52 PM10/28/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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