Skip to content

Instantly share code, notes, and snippets.

@rdbisme
Created May 19, 2020 17:15
Show Gist options
  • Save rdbisme/78239e7b089ee536391d7196d9d08dc2 to your computer and use it in GitHub Desktop.
Save rdbisme/78239e7b089ee536391d7196d9d08dc2 to your computer and use it in GitHub Desktop.
YCMD Troubleshooting
#!/usr/bin/env python
"""
Execute Mercur(v)e executable on all the simulation data to post-process it
"""
import Path
def main():
cwd = Path.
if __name__ == "__main__":
main()
2020-05-19 19:11:53,814 - DEBUG - GET b'http://127.0.0.1:55119/ready' (None)
{'content-type': 'application/json', 'x-ycm-hmac': b'E50WegIjuA/zsBBZblPa0rpqXjlCG797Cc7XYCGKfH0='}
2020-05-19 19:11:53,948 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=55119): Max retries exceeded with url: /ready (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1a321065c0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2020-05-19 19:11:54,050 - DEBUG - GET b'http://127.0.0.1:55119/ready' (None)
{'content-type': 'application/json', 'x-ycm-hmac': b'E50WegIjuA/zsBBZblPa0rpqXjlCG797Cc7XYCGKfH0='}
2020-05-19 19:11:54,060 - DEBUG - RX: <Response [200]>
true
2020-05-19 19:11:54,062 - DEBUG - GET b'http://127.0.0.1:55119/signature_help_available' ({'subserver': 'python'})
{'content-type': 'application/json', 'x-ycm-hmac': b'RslJ/y8e9MCcvUd+icRzhl5pUOtTJNo4yJdjJuR+mSA='}
2020-05-19 19:11:54,120 - DEBUG - POST b'http://127.0.0.1:55119/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'SSNhRQXjNQ8qpuXlbSMdzW09M59XEX1OmQI3VedChgo='}
b'{"filepath": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py", "line_num": 1, "column_num": 1, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py": {"contents": "#!/usr/bin/env python\\n\\"\\"\\"\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\n\\"\\"\\"\\n\\nimport Path\\n\\n\\ndef main():\\n cwd = Path.\\n\\n\\nif __name__ == \\"__main__\\":\\n main()\\n", "filetypes": ["python"]}}, "ultisnips_snippets": [{"trigger": "ld", "description": ""}, {"trigger": "le", "description": ""}, {"trigger": "def", "description": "function with docstrings"}, {"trigger": "li", "description": ""}, {"trigger": "attr", "description": "methods for customizing attribute access"}, {"trigger": "testcase", "description": "pyunit testcase"}, {"trigger": "lcp", "description": "list comprehension"}, {"trigger": "ann", "description": "Assert is not None"}, {"trigger": "addnarg", "description": ""}, {"trigger": "fut", "description": ""}, {"trigger": "LGPL2", "description": ""}, {"trigger": "LGPL3", "description": ""}, {"trigger": "addaarg", "description": ""}, {"trigger": "ifee", "description": "If / Elif / Else"}, {"trigger": "GMGPL", "description": "linking exception"}, {"trigger": "contain", "description": "methods for emulating a container type"}, {"trigger": "tgwt", "description": ""}, {"trigger": "todo", "description": "TODO comment"}, {"trigger": "foldp", "description": "Insert a vim fold marker pair"}, {"trigger": "\\"", "description": "triple quoted string (double quotes)"}, {"trigger": "diso", "description": "ISO format datetime"}, {"trigger": "clatin1", "description": ""}, {"trigger": "addp", "description": ""}, {"trigger": "\'", "description": "triple quoted string (single quotes)"}, {"trigger": "with", "description": "with"}, {"trigger": "repr", "description": "methods implementing string representation"}, {"trigger": "addarg", "description": ""}, {"trigger": ".", "description": ""}, {"trigger": "pudb", "description": ""}, {"trigger": "desc", "description": "methods implementing descriptors"}, {"trigger": "slotclass", "description": "class with slots and docstrings"}, {"trigger": "args", "description": ""}, {"trigger": "MPL2", "description": ""}, {"trigger": "addsp", "description": ""}, {"trigger": "pmdoc", "description": "pocoo style module doc string"}, {"trigger": "time", "description": "hh:mm"}, {"trigger": "epydoc", "description": ""}, {"trigger": "ei", "description": ""}, {"trigger": "dcp", "description": "dict comprehension"}, {"trigger": "el", "description": ""}, {"trigger": "iem", "description": ""}, {"trigger": "lkwg", "description": ""}, {"trigger": "pdb", "description": ""}, {"trigger": "kwg", "description": ""}, {"trigger": "c)", "description": ""}, {"trigger": "ISC", "description": ""}, {"trigger": "box", "description": "A nice box with the current comment symbol"}, {"trigger": "wh", "description": ""}, {"trigger": "cmp", "description": "methods implementing rich comparison"}, {"trigger": "roprop", "description": "Read Only Property"}, {"trigger": "_", "description": ""}, {"trigger": "ptpython", "description": ""}, {"trigger": "for", "description": "for loop"}, {"trigger": "MIT", "description": ""}, {"trigger": "getopt", "description": ""}, {"trigger": "from", "description": "from module import name"}, {"trigger": "uuid", "description": "Random UUID"}, {"trigger": "bbox", "description": "A nice box over the full width"}, {"trigger": "nosetrace", "description": ""}, {"trigger": "cla", "description": ""}, {"trigger": "imp", "description": ""}, {"trigger": "lw", "description": ""}, {"trigger": "BEERWARE", "description": ""}, {"trigger": "tryf", "description": "Try / Except / Finally"}, {"trigger": "awith", "description": ""}, {"trigger": "class", "description": "class with docstrings"}, {"trigger": "cl", "description": ""}, {"trigger": "foldc", "description": "Insert a vim fold close marker"}, {"trigger": "adef", "description": ""}, {"trigger": "a=", "description": ""}, {"trigger": "modeline", "description": "Vim modeline"}, {"trigger": "GPL2", "description": ""}, {"trigger": "GPL3", "description": ""}, {"trigger": "scp", "description": "set comprehension"}, {"trigger": "pudbr", "description": ""}, {"trigger": "property", "description": ""}, {"trigger": "docs", "description": ""}, {"trigger": "ifmain", "description": "ifmain"}, {"trigger": "defc", "description": "class method with docstrings"}, {"trigger": "test", "description": ""}, {"trigger": "deff", "description": "function or class method"}, {"trigger": "defi", "description": ""}, {"trigger": "defm", "description": ""}, {"trigger": "WTFPL", "description": ""}, {"trigger": "#!3", "description": ""}, {"trigger": "uni", "description": ""}, {"trigger": "defs", "description": "static method with docstrings"}, {"trigger": "lg", "description": ""}, {"trigger": "ife", "description": "If / Else"}, {"trigger": "fold", "description": "Insert a vim fold marker"}, {"trigger": "context", "description": "context manager methods"}, {"trigger": "ae", "description": "Assert equal"}, {"trigger": "af", "description": "Assert False"}, {"trigger": "rpdb", "description": ""}, {"trigger": "an", "description": "Assert is None"}, {"trigger": "wdb", "description": ""}, {"trigger": "date", "description": "YYYY-MM-DD"}, {"trigger": "ar", "description": "Assert raises"}, {"trigger": "cascii", "description": ""}, {"trigger": "at", "description": "Assert True"}, {"trigger": "AGPL3", "description": ""}, {"trigger": "cutf8", "description": ""}, {"trigger": "pprint", "description": ""}, {"trigger": "sa", "description": "self.attribute = attribute"}, {"trigger": "ipdb", "description": ""}, {"trigger": "dowh", "description": ""}, {"trigger": "try", "description": "Try / Except"}, {"trigger": "sk", "description": "\\"skip unittests\\" b"}, {"trigger": "if", "description": "If"}, {"trigger": "kwargs", "description": ""}, {"trigger": "ddate", "description": "Month DD, YYYY"}, {"trigger": "BSD2", "description": ""}, {"trigger": "BSD3", "description": ""}, {"trigger": "BSD4", "description": ""}, {"trigger": "pargs", "description": ""}, {"trigger": "bpdb", "description": ""}, {"trigger": "datetime", "description": "YYYY-MM-DD hh:mm"}, {"trigger": "#!2", "description": ""}, {"trigger": "aae", "description": "Assert almost equal"}, {"trigger": "trye", "description": "Try / Except / Else"}, {"trigger": "adeff", "description": ""}, {"trigger": "akw", "description": ""}, {"trigger": "AGPL", "description": ""}, {"trigger": "glog", "description": ""}, {"trigger": "lorem", "description": ""}, {"trigger": "adefm", "description": ""}, {"trigger": "rwprop", "description": "Read write property"}, {"trigger": "ret", "description": ""}, {"trigger": "#!", "description": "#!/usr/bin/env python"}, {"trigger": "clai", "description": ""}, {"trigger": "doc", "description": "doc block (triple quotes)"}, {"trigger": "numeric", "description": "methods for emulating a numeric type"}, {"trigger": "APACHE", "description": ""}, {"trigger": "dol", "description": ""}, {"trigger": "tryef", "description": "Try / Except / Else / Finally"}, {"trigger": "lc", "description": ""}], "event_name": "BufferVisit"}'
2020-05-19 19:11:54,124 - DEBUG - POST b'http://127.0.0.1:55119/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'RZpWmydctSFaq3q5RTonHsbx7Dj8PpxAmVNvGZjb6X4='}
b'{"filepath": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py", "line_num": 1, "column_num": 1, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py": {"contents": "#!/usr/bin/env python\\n\\"\\"\\"\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\n\\"\\"\\"\\n\\nimport Path\\n\\n\\ndef main():\\n cwd = Path.\\n\\n\\nif __name__ == \\"__main__\\":\\n main()\\n", "filetypes": ["python"]}}, "event_name": "FileReadyToParse"}'
2020-05-19 19:11:54,161 - DEBUG - POST b'http://127.0.0.1:55119/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'E6itCcT5rAqDAdRW71ZhRbafkR5I5NPhP01H5zIzf9Y='}
b'{"filepath": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py", "line_num": 1, "column_num": 1, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py": {"contents": "#!/usr/bin/env python\\n\\"\\"\\"\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\n\\"\\"\\"\\n\\nimport Path\\n\\n\\ndef main():\\n cwd = Path.\\n\\n\\nif __name__ == \\"__main__\\":\\n main()\\n", "filetypes": ["python"]}}}'
2020-05-19 19:11:54,264 - DEBUG - RX: <Response [200]>
false
2020-05-19 19:11:54,428 - DEBUG - POST b'http://127.0.0.1:55119/semantic_completion_available'
{'content-type': 'application/json', 'x-ycm-hmac': b'JLZTEHUXuP05vG91PIISYOugOhgXakg/wikUcMt1Mnc='}
b'{"filepath": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py", "line_num": 1, "column_num": 1, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py": {"contents": "#!/usr/bin/env python\\n\\"\\"\\"\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\n\\"\\"\\"\\n\\nimport Path\\n\\n\\ndef main():\\n cwd = Path.\\n\\n\\nif __name__ == \\"__main__\\":\\n main()\\n", "filetypes": ["python"]}}, "filetypes": "python"}'
2020-05-19 19:11:54,436 - DEBUG - RX: <Response [200]>
true
2020-05-19 19:11:54,436 - DEBUG - RX: <Response [200]>
{}
2020-05-19 19:11:57,413 - DEBUG - POST b'http://127.0.0.1:55119/debug_info'
{'content-type': 'application/json', 'x-ycm-hmac': b'YPc1IIdC87OiK7iolv2isnA/4ASnha6pOhqHivwUCbA='}
b'{"filepath": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py", "line_num": 1, "column_num": 1, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py": {"contents": "#!/usr/bin/env python\\n\\"\\"\\"\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\n\\"\\"\\"\\n\\nimport Path\\n\\n\\ndef main():\\n cwd = Path.\\n\\n\\nif __name__ == \\"__main__\\":\\n main()\\n", "filetypes": ["python"]}}}'
2020-05-19 19:11:57,420 - DEBUG - RX: <Response [200]>
{"python":{"executable":"/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python","version":"3.6.8"},"clang":{"has_support":false,"version":null},"extra_conf":{"path":null,"is_loaded":false},"completer":{"name":"Python","servers":[],"items":[{"key":"Python interpreter","value":"/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python"},{"key":"Python root","value":"/mnt/storage/ruben.di-battista/dns/oscillating-droplet"},{"key":"Python path","value":"['/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python36.zip', '/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6', '/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6/lib-dynload', '/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6/site-packages']"},{"key":"Python version","value":"3.6.8"},{"key":"Jedi version","value":"0.17.0"},{"key":"Parso version","value":"0.7.0"}]}}
2020-05-19 19:11:59,047 - DEBUG - POST b'http://127.0.0.1:55119/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'Why0RhOqUN8kpm8o/lUuqKZbvRzRnN8vvubS4JGQRQU='}
b'{"filepath": "/tmp/ycm_79_uiyv_.log", "line_num": 1, "column_num": 1, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/tmp/ycm_79_uiyv_.log": {"contents": "2020-05-19 19:11:53,814 - DEBUG - GET b\'http://127.0.0.1:55119/ready\' (None)\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'E50WegIjuA/zsBBZblPa0rpqXjlCG797Cc7XYCGKfH0=\'}\\n2020-05-19 19:11:53,948 - ERROR - HTTPConnectionPool(host=\'127.0.0.1\', port=55119): Max retries exceeded with url: /ready (Caused by NewConnectionError(\'<urllib3.connection.HTTPConnection object at 0x7f1a321065c0>: Failed to establish a new connection: [Errno 111] Connection refused\',))\\n2020-05-19 19:11:54,050 - DEBUG - GET b\'http://127.0.0.1:55119/ready\' (None)\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'E50WegIjuA/zsBBZblPa0rpqXjlCG797Cc7XYCGKfH0=\'}\\n2020-05-19 19:11:54,060 - DEBUG - RX: <Response [200]>\\ntrue\\n2020-05-19 19:11:54,062 - DEBUG - GET b\'http://127.0.0.1:55119/signature_help_available\' ({\'subserver\': \'python\'})\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'RslJ/y8e9MCcvUd+icRzhl5pUOtTJNo4yJdjJuR+mSA=\'}\\n2020-05-19 19:11:54,120 - DEBUG - POST b\'http://127.0.0.1:55119/event_notification\'\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'SSNhRQXjNQ8qpuXlbSMdzW09M59XEX1OmQI3VedChgo=\'}\\nb\'{\\"filepath\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\", \\"line_num\\": 1, \\"column_num\\": 1, \\"working_dir\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet\\", \\"file_data\\": {\\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\": {\\"contents\\": \\"#!/usr/bin/env python\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\n\\\\\\\\nimport Path\\\\\\\\n\\\\\\\\n\\\\\\\\ndef main():\\\\\\\\n cwd = Path.\\\\\\\\n\\\\\\\\n\\\\\\\\nif __name__ == \\\\\\\\\\"__main__\\\\\\\\\\":\\\\\\\\n main()\\\\\\\\n\\", \\"filetypes\\": [\\"python\\"]}}, \\"ultisnips_snippets\\": [{\\"trigger\\": \\"ld\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"le\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"def\\", \\"description\\": \\"function with docstrings\\"}, {\\"trigger\\": \\"li\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"attr\\", \\"description\\": \\"methods for customizing attribute access\\"}, {\\"trigger\\": \\"testcase\\", \\"description\\": \\"pyunit testcase\\"}, {\\"trigger\\": \\"lcp\\", \\"description\\": \\"list comprehension\\"}, {\\"trigger\\": \\"ann\\", \\"description\\": \\"Assert is not None\\"}, {\\"trigger\\": \\"addnarg\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"fut\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"LGPL2\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"LGPL3\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"addaarg\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ifee\\", \\"description\\": \\"If / Elif / Else\\"}, {\\"trigger\\": \\"GMGPL\\", \\"description\\": \\"linking exception\\"}, {\\"trigger\\": \\"contain\\", \\"description\\": \\"methods for emulating a container type\\"}, {\\"trigger\\": \\"tgwt\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"todo\\", \\"description\\": \\"TODO comment\\"}, {\\"trigger\\": \\"foldp\\", \\"description\\": \\"Insert a vim fold marker pair\\"}, {\\"trigger\\": \\"\\\\\\\\\\"\\", \\"description\\": \\"triple quoted string (double quotes)\\"}, {\\"trigger\\": \\"diso\\", \\"description\\": \\"ISO format datetime\\"}, {\\"trigger\\": \\"clatin1\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"addp\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"\\\\\'\\", \\"description\\": \\"triple quoted string (single quotes)\\"}, {\\"trigger\\": \\"with\\", \\"description\\": \\"with\\"}, {\\"trigger\\": \\"repr\\", \\"description\\": \\"methods implementing string representation\\"}, {\\"trigger\\": \\"addarg\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\".\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"pudb\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"desc\\", \\"description\\": \\"methods implementing descriptors\\"}, {\\"trigger\\": \\"slotclass\\", \\"description\\": \\"class with slots and docstrings\\"}, {\\"trigger\\": \\"args\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"MPL2\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"addsp\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"pmdoc\\", \\"description\\": \\"pocoo style module doc string\\"}, {\\"trigger\\": \\"time\\", \\"description\\": \\"hh:mm\\"}, {\\"trigger\\": \\"epydoc\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ei\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"dcp\\", \\"description\\": \\"dict comprehension\\"}, {\\"trigger\\": \\"el\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"iem\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"lkwg\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"pdb\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"kwg\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"c)\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ISC\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"box\\", \\"description\\": \\"A nice box with the current comment symbol\\"}, {\\"trigger\\": \\"wh\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"cmp\\", \\"description\\": \\"methods implementing rich comparison\\"}, {\\"trigger\\": \\"roprop\\", \\"description\\": \\"Read Only Property\\"}, {\\"trigger\\": \\"_\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ptpython\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"for\\", \\"description\\": \\"for loop\\"}, {\\"trigger\\": \\"MIT\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"getopt\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"from\\", \\"description\\": \\"from module import name\\"}, {\\"trigger\\": \\"uuid\\", \\"description\\": \\"Random UUID\\"}, {\\"trigger\\": \\"bbox\\", \\"description\\": \\"A nice box over the full width\\"}, {\\"trigger\\": \\"nosetrace\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"cla\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"imp\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"lw\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"BEERWARE\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"tryf\\", \\"description\\": \\"Try / Except / Finally\\"}, {\\"trigger\\": \\"awith\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"class\\", \\"description\\": \\"class with docstrings\\"}, {\\"trigger\\": \\"cl\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"foldc\\", \\"description\\": \\"Insert a vim fold close marker\\"}, {\\"trigger\\": \\"adef\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"a=\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"modeline\\", \\"description\\": \\"Vim modeline\\"}, {\\"trigger\\": \\"GPL2\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"GPL3\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"scp\\", \\"description\\": \\"set comprehension\\"}, {\\"trigger\\": \\"pudbr\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"property\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"docs\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ifmain\\", \\"description\\": \\"ifmain\\"}, {\\"trigger\\": \\"defc\\", \\"description\\": \\"class method with docstrings\\"}, {\\"trigger\\": \\"test\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"deff\\", \\"description\\": \\"function or class method\\"}, {\\"trigger\\": \\"defi\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"defm\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"WTFPL\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"#!3\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"uni\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"defs\\", \\"description\\": \\"static method with docstrings\\"}, {\\"trigger\\": \\"lg\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ife\\", \\"description\\": \\"If / Else\\"}, {\\"trigger\\": \\"fold\\", \\"description\\": \\"Insert a vim fold marker\\"}, {\\"trigger\\": \\"context\\", \\"description\\": \\"context manager methods\\"}, {\\"trigger\\": \\"ae\\", \\"description\\": \\"Assert equal\\"}, {\\"trigger\\": \\"af\\", \\"description\\": \\"Assert False\\"}, {\\"trigger\\": \\"rpdb\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"an\\", \\"description\\": \\"Assert is None\\"}, {\\"trigger\\": \\"wdb\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"date\\", \\"description\\": \\"YYYY-MM-DD\\"}, {\\"trigger\\": \\"ar\\", \\"description\\": \\"Assert raises\\"}, {\\"trigger\\": \\"cascii\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"at\\", \\"description\\": \\"Assert True\\"}, {\\"trigger\\": \\"AGPL3\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"cutf8\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"pprint\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"sa\\", \\"description\\": \\"self.attribute = attribute\\"}, {\\"trigger\\": \\"ipdb\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"dowh\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"try\\", \\"description\\": \\"Try / Except\\"}, {\\"trigger\\": \\"sk\\", \\"description\\": \\"\\\\\\\\\\"skip unittests\\\\\\\\\\" b\\"}, {\\"trigger\\": \\"if\\", \\"description\\": \\"If\\"}, {\\"trigger\\": \\"kwargs\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"ddate\\", \\"description\\": \\"Month DD, YYYY\\"}, {\\"trigger\\": \\"BSD2\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"BSD3\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"BSD4\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"pargs\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"bpdb\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"datetime\\", \\"description\\": \\"YYYY-MM-DD hh:mm\\"}, {\\"trigger\\": \\"#!2\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"aae\\", \\"description\\": \\"Assert almost equal\\"}, {\\"trigger\\": \\"trye\\", \\"description\\": \\"Try / Except / Else\\"}, {\\"trigger\\": \\"adeff\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"akw\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"AGPL\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"glog\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"lorem\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"adefm\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"rwprop\\", \\"description\\": \\"Read write property\\"}, {\\"trigger\\": \\"ret\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"#!\\", \\"description\\": \\"#!/usr/bin/env python\\"}, {\\"trigger\\": \\"clai\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"doc\\", \\"description\\": \\"doc block (triple quotes)\\"}, {\\"trigger\\": \\"numeric\\", \\"description\\": \\"methods for emulating a numeric type\\"}, {\\"trigger\\": \\"APACHE\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"dol\\", \\"description\\": \\"\\"}, {\\"trigger\\": \\"tryef\\", \\"description\\": \\"Try / Except / Else / Finally\\"}, {\\"trigger\\": \\"lc\\", \\"description\\": \\"\\"}], \\"event_name\\": \\"BufferVisit\\"}\'\\n2020-05-19 19:11:54,124 - DEBUG - POST b\'http://127.0.0.1:55119/event_notification\'\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'RZpWmydctSFaq3q5RTonHsbx7Dj8PpxAmVNvGZjb6X4=\'}\\nb\'{\\"filepath\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\", \\"line_num\\": 1, \\"column_num\\": 1, \\"working_dir\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet\\", \\"file_data\\": {\\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\": {\\"contents\\": \\"#!/usr/bin/env python\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\n\\\\\\\\nimport Path\\\\\\\\n\\\\\\\\n\\\\\\\\ndef main():\\\\\\\\n cwd = Path.\\\\\\\\n\\\\\\\\n\\\\\\\\nif __name__ == \\\\\\\\\\"__main__\\\\\\\\\\":\\\\\\\\n main()\\\\\\\\n\\", \\"filetypes\\": [\\"python\\"]}}, \\"event_name\\": \\"FileReadyToParse\\"}\'\\n2020-05-19 19:11:54,161 - DEBUG - POST b\'http://127.0.0.1:55119/receive_messages\'\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'E6itCcT5rAqDAdRW71ZhRbafkR5I5NPhP01H5zIzf9Y=\'}\\nb\'{\\"filepath\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\", \\"line_num\\": 1, \\"column_num\\": 1, \\"working_dir\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet\\", \\"file_data\\": {\\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\": {\\"contents\\": \\"#!/usr/bin/env python\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\n\\\\\\\\nimport Path\\\\\\\\n\\\\\\\\n\\\\\\\\ndef main():\\\\\\\\n cwd = Path.\\\\\\\\n\\\\\\\\n\\\\\\\\nif __name__ == \\\\\\\\\\"__main__\\\\\\\\\\":\\\\\\\\n main()\\\\\\\\n\\", \\"filetypes\\": [\\"python\\"]}}}\'\\n2020-05-19 19:11:54,264 - DEBUG - RX: <Response [200]>\\nfalse\\n2020-05-19 19:11:54,428 - DEBUG - POST b\'http://127.0.0.1:55119/semantic_completion_available\'\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'JLZTEHUXuP05vG91PIISYOugOhgXakg/wikUcMt1Mnc=\'}\\nb\'{\\"filepath\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\", \\"line_num\\": 1, \\"column_num\\": 1, \\"working_dir\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet\\", \\"file_data\\": {\\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\": {\\"contents\\": \\"#!/usr/bin/env python\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\n\\\\\\\\nimport Path\\\\\\\\n\\\\\\\\n\\\\\\\\ndef main():\\\\\\\\n cwd = Path.\\\\\\\\n\\\\\\\\n\\\\\\\\nif __name__ == \\\\\\\\\\"__main__\\\\\\\\\\":\\\\\\\\n main()\\\\\\\\n\\", \\"filetypes\\": [\\"python\\"]}}, \\"filetypes\\": \\"python\\"}\'\\n2020-05-19 19:11:54,436 - DEBUG - RX: <Response [200]>\\ntrue\\n2020-05-19 19:11:54,436 - DEBUG - RX: <Response [200]>\\n{}\\n2020-05-19 19:11:57,413 - DEBUG - POST b\'http://127.0.0.1:55119/debug_info\'\\n{\'content-type\': \'application/json\', \'x-ycm-hmac\': b\'YPc1IIdC87OiK7iolv2isnA/4ASnha6pOhqHivwUCbA=\'}\\nb\'{\\"filepath\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\", \\"line_num\\": 1, \\"column_num\\": 1, \\"working_dir\\": \\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet\\", \\"file_data\\": {\\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py\\": {\\"contents\\": \\"#!/usr/bin/env python\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\\\\\\\n\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\\\"\\\\\\\\n\\\\\\\\nimport Path\\\\\\\\n\\\\\\\\n\\\\\\\\ndef main():\\\\\\\\n cwd = Path.\\\\\\\\n\\\\\\\\n\\\\\\\\nif __name__ == \\\\\\\\\\"__main__\\\\\\\\\\":\\\\\\\\n main()\\\\\\\\n\\", \\"filetypes\\": [\\"python\\"]}}}\'\\n2020-05-19 19:11:57,420 - DEBUG - RX: <Response [200]>\\n{\\"python\\":{\\"executable\\":\\"/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python\\",\\"version\\":\\"3.6.8\\"},\\"clang\\":{\\"has_support\\":false,\\"version\\":null},\\"extra_conf\\":{\\"path\\":null,\\"is_loaded\\":false},\\"completer\\":{\\"name\\":\\"Python\\",\\"servers\\":[],\\"items\\":[{\\"key\\":\\"Python interpreter\\",\\"value\\":\\"/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python\\"},{\\"key\\":\\"Python root\\",\\"value\\":\\"/mnt/storage/ruben.di-battista/dns/oscillating-droplet\\"},{\\"key\\":\\"Python path\\",\\"value\\":\\"[\'/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python36.zip\', \'/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6\', \'/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6/lib-dynload\', \'/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6/site-packages\']\\"},{\\"key\\":\\"Python version\\",\\"value\\":\\"3.6.8\\"},{\\"key\\":\\"Jedi version\\",\\"value\\":\\"0.17.0\\"},{\\"key\\":\\"Parso version\\",\\"value\\":\\"0.7.0\\"}]}}\\n", "filetypes": [""]}}}'
2020-05-19 19:11:59,150 - DEBUG - RX: <Response [200]>
false
2020-05-19 19:12:11,171 - DEBUG - POST b'http://127.0.0.1:55119/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'FhENiJQspNLwFjKC8TXTFwrksRf4saYknqBKN41Evi0='}
b'{"filepath": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py", "line_num": 10, "column_num": 16, "working_dir": "/mnt/storage/ruben.di-battista/dns/oscillating-droplet", "file_data": {"/mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py": {"contents": "#!/usr/bin/env python\\n\\"\\"\\"\\nExecute Mercur(v)e executable on all the simulation data to post-process it\\n\\"\\"\\"\\n\\nimport Path\\n\\n\\ndef main():\\n cwd = Path.\\n\\n\\nif __name__ == \\"__main__\\":\\n main()\\n", "filetypes": ["python"]}}, "force_semantic": true}'
2020-05-19 19:12:11,391 - DEBUG - RX: <Response [200]>
{"completions":[],"completion_start_column":16,"errors":[]}
2020-05-19 19:11:53,976 - DEBUG - No global extra conf, not calling method YcmCorePreload
2020-05-19 19:11:54,055 - INFO - Received ready request
2020-05-19 19:11:54,064 - INFO - Received signature help available request
2020-05-19 19:11:54,127 - INFO - Received event notification
2020-05-19 19:11:54,128 - INFO - Received event notification
2020-05-19 19:11:54,129 - DEBUG - Event name: BufferVisit
2020-05-19 19:11:54,129 - DEBUG - Event name: FileReadyToParse
2020-05-19 19:11:54,130 - INFO - Adding buffer identifiers for file: /mnt/storage/ruben.di-battista/dns/oscillating-droplet/postprocess.py
2020-05-19 19:11:54,433 - INFO - Received filetype completion available request
2020-05-19 19:11:57,417 - INFO - Received debug info request
2020-05-19 19:12:11,176 - INFO - Received completion request
2020-05-19 19:12:11,177 - DEBUG - Using filetype completion: True
2020-05-19 19:12:48,059 - INFO - Received debug info request
2020-05-19 19:13:36,743 - INFO - Received defined subcommands request
2020-05-19 19:13:36,759 - INFO - Received command request
Traceback (most recent call last):
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 868, in _handle
return route.call(**args)
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle/bottle.py", line 1748, in wrapper
rv = callback(*a, **ka)
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/watchdog_plugin.py", line 97, in wrapper
return callback( *args, **kwargs )
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/hmac_plugin.py", line 62, in wrapper
body = callback( *args, **kwargs )
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/handlers.py", line 95, in RunCompleterCommand
request_data ) )
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/completer.py", line 414, in OnUserCommand
return command( self, request_data, arguments[ 1: ] )
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/python/python_completer.py", line 289, in <lambda>
self._GetDoc( request_data ) )
File "/var/tmp/ruben/.vim/bundle/YouCompleteMe/third_party/ycmd/ycmd/completers/python/python_completer.py", line 399, in _GetDoc
raise RuntimeError( 'No documentation available.' )
RuntimeError: No documentation available.
serving on http://localhost:55119
Printing YouCompleteMe debug information...
-- Completion API: 1
-- Client logfile: /tmp/ycm_79_uiyv_.log
-- Server Python interpreter: /opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python
-- Server Python version: 3.6.8
-- Server has Clang support compiled in: False
-- Clang version: None
-- No extra configuration file found
-- Python completer debug information:
-- Python interpreter: /opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/bin/python
-- Python root: /mnt/storage/ruben.di-battista/dns/oscillating-droplet
-- Python path: ['/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python36.zip', '/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu
4ps7ohwxptkozhwiy55/lib/python3.6', '/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6/lib-dynload', '/opt/software/spack/linux-ubuntu18.04-skylake_avx512/gcc-7.3.0/
python-3.6.8-pqc2t2er2z4hu4ps7ohwxptkozhwiy55/lib/python3.6/site-packages']
-- Python version: 3.6.8
-- Jedi version: 0.17.0
-- Parso version: 0.7.0
-- Server running at: http://127.0.0.1:55119
-- Server process ID: 28234
-- Server logfiles:
-- /tmp/ycmd_55119_stdout_38hbvtbj.log
-- /tmp/ycmd_55119_stderr_de6n5s7p.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment