Skip to content

Instantly share code, notes, and snippets.

@bstaletic
Last active November 11, 2019 19:29
Show Gist options
  • Save bstaletic/180aa3489763b83696f65850a541afd4 to your computer and use it in GitHub Desktop.
Save bstaletic/180aa3489763b83696f65850a541afd4 to your computer and use it in GitHub Desktop.
2019-11-11 20:29:31,035 - DEBUG - Starting ycmd with: ['/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd/venv/bin/python', '-m', 'ptvsd', '--host', 'localhost', '--port', '1238', '--wait', '--no-subprocesses', '/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/python/ycm/../../third_party/ycmd/ycmd', '--port=52373', '--options_file=/tmp/tmplvshblov', '--log=debug', '--idle_suicide_seconds=1800', '--stdout=/tmp/ycmd_52373_stdout_c0mjnote.log', '--stderr=/tmp/ycmd_52373_stderr_pe8q8v0e.log']
2019-11-11 20:29:31,138 - DEBUG - GET b'http://127.0.0.1:52373/ready'
{'content-type': 'application/json', 'x-ycm-hmac': b'29r6AVD9gOCZL9jhy0jVZNYR/jCzjdrEYUpyvWZSowE='}
2019-11-11 20:29:31,183 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=52373): Max retries exceeded with url: /ready (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0c2c7f0ca0>: Failed to establish a new connection: [Errno 111] Connection refused'))
2019-11-11 20:29:31,284 - ERROR - The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 2. Type ':YcmToggleLogs ycmd_52373_stderr_pe8q8v0e.log' to check the logs.
2019-11-11 20:30:10,947 - DEBUG - POST b'http://127.0.0.1:52373/debug_info'
{'content-type': 'application/json', 'x-ycm-hmac': b'0bxsqyy6ByLW6irhbHjnIaz5svw2mYBBqVsJeijjwm8='}
b'{"filepath": "/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd/ycmd/tests/java/testdata/simple_eclipse_project/src/com/test/TestLauncher.java", "line_num": 1, "column_num": 1, "working_dir": "/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd", "file_data": {"/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd/ycmd/tests/java/testdata/simple_eclipse_project/src/com/test/TestLauncher.java": {"contents": "package com.test;\\n\\nimport com.youcompleteme.testing.Tset;\\nimport com.youcompleteme.*; import com.test.wobble.*;\\n\\nclass TestLauncher {\\n private TestFactory factory = new TestFactory();\\n private Tset tset = new Tset();\\n\\n public TestLauncher( int test ) {}\\n\\n public static int static_int = 5;\\n public static int static_method() {\\n\\t return static_int;\\n }\\n\\n private interface Launchable {\\n public void launch( TestFactory f );\\n }\\n\\n private void Run( Launchable l ) {\\n tset.getTset().add( new Test() );\\n l.launch( factory );\\n }\\n\\n public static void main( String[] args ) {\\n TestLauncher l = new TestLauncher( 10 );\\n l.Run( new Launchable() {\\n @Override\\n public void launch() {\\n AbstractTestWidget w = factory.getWidget( \\"Test\\" );\\n w.doSomethingVaguelyUseful();\\n\\n System.out.println( \\"Did something useful: \\" + w.getWidgetInfo() );\\n }\\n });\\n static_method();\\n TestLauncher t = new TestLauncher( 4 );\\n t.Run( null );\\n }\\n}\\n", "filetypes": ["java"]}}}'
2019-11-11 20:30:10,951 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=52373): Max retries exceeded with url: /debug_info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0c2c811520>: Failed to establish a new connection: [Errno 111] Connection refused'))
2019-11-11 20:30:15,825 - DEBUG - POST b'http://127.0.0.1:52373/debug_info'
{'content-type': 'application/json', 'x-ycm-hmac': b'0bxsqyy6ByLW6irhbHjnIaz5svw2mYBBqVsJeijjwm8='}
b'{"filepath": "/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd/ycmd/tests/java/testdata/simple_eclipse_project/src/com/test/TestLauncher.java", "line_num": 1, "column_num": 1, "working_dir": "/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd", "file_data": {"/home/bstaletic/.vim/pack/bundle/start/YouCompleteMe/third_party/ycmd/ycmd/tests/java/testdata/simple_eclipse_project/src/com/test/TestLauncher.java": {"contents": "package com.test;\\n\\nimport com.youcompleteme.testing.Tset;\\nimport com.youcompleteme.*; import com.test.wobble.*;\\n\\nclass TestLauncher {\\n private TestFactory factory = new TestFactory();\\n private Tset tset = new Tset();\\n\\n public TestLauncher( int test ) {}\\n\\n public static int static_int = 5;\\n public static int static_method() {\\n\\t return static_int;\\n }\\n\\n private interface Launchable {\\n public void launch( TestFactory f );\\n }\\n\\n private void Run( Launchable l ) {\\n tset.getTset().add( new Test() );\\n l.launch( factory );\\n }\\n\\n public static void main( String[] args ) {\\n TestLauncher l = new TestLauncher( 10 );\\n l.Run( new Launchable() {\\n @Override\\n public void launch() {\\n AbstractTestWidget w = factory.getWidget( \\"Test\\" );\\n w.doSomethingVaguelyUseful();\\n\\n System.out.println( \\"Did something useful: \\" + w.getWidgetInfo() );\\n }\\n });\\n static_method();\\n TestLauncher t = new TestLauncher( 4 );\\n t.Run( null );\\n }\\n}\\n", "filetypes": ["java"]}}}'
2019-11-11 20:30:15,831 - ERROR - HTTPConnectionPool(host='127.0.0.1', port=52373): Max retries exceeded with url: /debug_info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0c2c811df0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment