Created
November 25, 2021 06:11
-
-
Save pawansingh00/f7f1cafb37f9845da258fec64300473d to your computer and use it in GitHub Desktop.
C#_autosuggestion_error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"POST /completions HTTP/1.1" 200 3186 | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,516 - DEBUG - Event name: FileReadyToParse | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,516 - INFO - Adding buffer identifiers for file: /home/ubuntu/ycmd/some_csharp.cs | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,517 - INFO - Starting OmniSharp server | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,517 - INFO - Loading solution file /home/ubuntu/ycmd/some_csharp.sln | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,517 - INFO - using port 60217 | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,517 - INFO - Starting OmniSharp server with: ['/usr/bin/mono', '/home/ubuntu/ycmd-setup/ycmd/ycmd/completers/cs/../../../third_party/omnisharp-roslyn/omnisharp/OmniSharp.exe', '-p', '60217', '-s', '/home/ubuntu/ycmd/some_csharp.sln'] | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,524 - INFO - Started OmniSharp server | |
Nov 25 06:08:13 python3.8[9182]: 127.0.0.1 - - [25/Nov/2021 06:08:13] "POST /event_notification HTTP/1.1" 200 2 | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,531 - DEBUG - Using filetype completion: True | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,531 - DEBUG - TX (/autocomplete): {'line': 30, 'column': 14, 'buffer': 'using System.Globalization;\nusing System.IO;\nusing System.CodeDom.Compiler;\nusing System.Linq;\nusing System.Reflection;\nusing System.Text;\nusing System;using System.Collections.Generic;\nusing System.Collections;\nusing System.ComponentModel;\nusing System.Runtime.Serialization;\nusing System.Text.RegularExpressions;\nusing System.Diagnostics.CodeAnalysis;\n\n\n\nclass Result\n{\n /*\n * implement method/function with name \'solve\' below.\n *\n * The function is expected to return a value of type int.\n * The function accepts following parameters:\n * 1. doll is of type List<int>.\n */\n\n public static int solve(List<int> doll)\n {\n //Write your code here\n \n doll.\n\n return;\n }\n\n}\n\nclass Solution\n{\n public static void Main(string[] args)\n {\n TextWriter textWriter = new StreamWriter(@System.Environment.GetEnvironmentVariable("OUTPUT_FILE_PATH"), true);\n textWriter.WriteLine("");\n textWriter.Flush();\n \n\n int dollCount = Convert.ToInt32(Console.ReadLine().Trim());\n\n List<int> doll = new List<int>();\n String[] dollItemsInput = Console.ReadLine().Trim().Split(\' \');\n\n for (int i = 0; i < dollCount; i++)\n {\n int dollItem = Convert.ToInt32(dollItemsInput[i]);\n doll.Add(dollItem);\n }\n\n int outcome = Result.solve(doll);\n\n textWriter.WriteLine(outcome);\n textWriter.Flush();\n textWriter.Close();\n }\n}\n', 'filename': '/home/ubuntu/ycmd/some_csharp.cs', 'WantSnippet': False, 'WantKind': True, 'WantReturnType': False, 'WantDocumentationForEveryCompletionResult': True} | |
Nov 25 06:08:13 python3.8[9182]: 2021-11-25 06:08:13,532 - ERROR - Exception from semantic completer (using general) | |
Nov 25 06:08:13 python3.8[9182]: Traceback (most recent call last): | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 1354, in do_open | |
Nov 25 06:08:13 python3.8[9182]: h.request(req.get_method(), req.selector, req.data, headers, | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/http/client.py", line 1256, in request | |
Nov 25 06:08:13 python3.8[9182]: self._send_request(method, url, body, headers, encode_chunked) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request | |
Nov 25 06:08:13 python3.8[9182]: self.endheaders(body, encode_chunked=encode_chunked) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders | |
Nov 25 06:08:13 python3.8[9182]: self._send_output(message_body, encode_chunked=encode_chunked) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output | |
Nov 25 06:08:13 python3.8[9182]: self.send(msg) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/http/client.py", line 951, in send | |
Nov 25 06:08:13 python3.8[9182]: self.connect() | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/http/client.py", line 922, in connect | |
Nov 25 06:08:13 python3.8[9182]: self.sock = self._create_connection( | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/socket.py", line 808, in create_connection | |
Nov 25 06:08:13 python3.8[9182]: raise err | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/socket.py", line 796, in create_connection | |
Nov 25 06:08:13 python3.8[9182]: sock.connect(sa) | |
Nov 25 06:08:13 python3.8[9182]: ConnectionRefusedError: [Errno 111] Connection refused | |
Nov 25 06:08:13 python3.8[9182]: During handling of the above exception, another exception occurred: | |
Nov 25 06:08:13 python3.8[9182]: Traceback (most recent call last): | |
Nov 25 06:08:13 python3.8[9182]: File "/home/ubuntu/ycmd-setup/ycmd/ycmd/handlers.py", line 118, in GetCompletions | |
Nov 25 06:08:13 python3.8[9182]: completions = filetype_completer.ComputeCandidates( request_data ) | |
Nov 25 06:08:13 python3.8[9182]: File "/home/ubuntu/ycmd-setup/ycmd/ycmd/completers/completer.py", line 303, in ComputeCandidates | |
Nov 25 06:08:13 python3.8[9182]: candidates = self._GetCandidatesFromSubclass( request_data ) | |
Nov 25 06:08:13 python3.8[9182]: File "/home/ubuntu/ycmd-setup/ycmd/ycmd/completers/completer.py", line 341, in _GetCandidatesFromSubclass | |
Nov 25 06:08:13 python3.8[9182]: raw_completions = self.ComputeCandidatesInner( request_data ) | |
Nov 25 06:08:13 python3.8[9182]: File "/home/ubuntu/ycmd-setup/ycmd/ycmd/completers/cs/cs_completer.py", line 184, in ComputeCandidatesInner | |
Nov 25 06:08:13 python3.8[9182]: in solutioncompleter._GetCompletions( request_data ) ] | |
Nov 25 06:08:13 python3.8[9182]: File "/home/ubuntu/ycmd-setup/ycmd/ycmd/completers/cs/cs_completer.py", line 541, in _GetCompletions | |
Nov 25 06:08:13 python3.8[9182]: completions = self._GetResponse( '/autocomplete', parameters ) | |
Nov 25 06:08:13 python3.8[9182]: File "/home/ubuntu/ycmd-setup/ycmd/ycmd/completers/cs/cs_completer.py", line 868, in _GetResponse | |
Nov 25 06:08:13 python3.8[9182]: response = urllib.request.urlopen( | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen | |
Nov 25 06:08:13 python3.8[9182]: return opener.open(url, data, timeout) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 525, in open | |
Nov 25 06:08:13 python3.8[9182]: response = self._open(req, data) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 542, in _open | |
Nov 25 06:08:13 python3.8[9182]: result = self._call_chain(self.handle_open, protocol, protocol + | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain | |
Nov 25 06:08:13 python3.8[9182]: result = func(*args) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 1383, in http_open | |
Nov 25 06:08:13 python3.8[9182]: return self.do_open(http.client.HTTPConnection, req) | |
Nov 25 06:08:13 python3.8[9182]: File "/usr/lib/python3.8/urllib/request.py", line 1357, in do_open | |
Nov 25 06:08:13 python3.8[9182]: raise URLError(err) | |
Nov 25 06:08:13 python3.8[9182]: urllib.error.URLError: <urlopen error [Errno 111] Connection refused> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment