Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from py2cytoscape import cyrest
>>> cytoscape = cyrest.cyclient()
>>> cytoscape.result()
>>> cytoscape.result()
<Response [500]> 500
b'{\n "data": {"file":"C:\\\\Users\\\\DOTASE~1\\\\AppData\\\\Local\\\\Temp\\\\C:\\\\Users\\\\DOTASE~1\\\\AppData\\\\Local\\\\Temp\\\\tmpf6lpqnhz.png"},\n "errors":[{"status":500,"type":"urn:cytoscape:ci:cyrest-core:v1:handle-json-command:errors:2","message":"C:\\\\Users\\\\DOTASE~1\\\\AppData\\\\Local\\\\Temp\\\\C:\\\\Users\\\\DOTASE~1\\\\AppData\\\\Local\\\\Temp\\\\tmpf6lpqnhz.png (The filename, directory name, or volume label syntax is incorrect)","link":"file:/C:/Users/D%20Otasek/CytoscapeConfiguration/3/framework-cytoscape.log"}]\n}'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\D Otasek\AppData\Local\Programs\Python\Python37\lib\site-packages\py2cytoscape\cyrest\cyrest.py", line 110, in result
response=api("view", "export" , {"options":filetype,"OutputFile":outfile}, host=host,port=port,version=version,verbose=verbose)
File "C:\Users\D Otasek\AppData\Local\Programs\Python\Python37\lib\site-packages\py2cytoscape\cyrest\base.py", line 149, in api
raise ValueError(res["errors"][0])
ValueError: {'status': 500, 'type': 'urn:cytoscape:ci:cyrest-core:v1:handle-json-command:errors:2', 'message': 'C:\\Users\\DOTASE~1\\AppData\\Local\\Temp\\C:\\Users\\DOTASE~1\\AppData\\Local\\Temp\\tmpf6lpqnhz.png (The filename, directory name, or volume label syntax is incorrect)', 'link': 'file:/C:/Users/D%20Otasek/CytoscapeConfiguration/3/framework-cytoscape.log'}