Skip to content

Instantly share code, notes, and snippets.

View pawansingh00's full-sized avatar
🏠
Working from home

Pawan Kumar Singh pawansingh00

🏠
Working from home
View GitHub Profile
@pawansingh00
pawansingh00 / Latest_version_Debug_Logs.txt
Last active November 16, 2021 08:21
Latest_version_Debug_Logs
2021-11-16 13:48:00,965 - DEBUG - No global extra conf, not calling method YcmCorePreload
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
serving on http://pawansingh-glider-pc:5000
2021-11-16 13:48:19,262 - DEBUG - Event name: FileReadyToParse
2021-11-16 13:48:19,262 - INFO - Adding buffer identifiers for file: /home/pawansingh/ycmd/samples/some_java7.java
@pawansingh00
pawansingh00 / Old_version_Debug_Logs.txt
Last active November 16, 2021 08:41
Old_version_Debug_Logs
2021-11-16 08:34:30,610 - DEBUG - No global extra conf, not calling method YcmCorePreload
serving on http://localhost:5000
2021-11-16 08:37:56,455 - INFO - Received event notification
2021-11-16 08:37:56,455 - DEBUG - Event name: FileReadyToParse
2021-11-16 08:37:56,456 - INFO - Adding buffer identifiers for file: /home/ubuntu/ycmd/some_java7.java
2021-11-16 08:37:56,469 - INFO - Looking for jdt.ls
2021-11-16 08:37:56,470 - DEBUG - Found launchers: ['/ycmd/third_party/eclipse.jdt.ls/target/repository/plugins/org.eclipse.equinox.launcher_1.5.0.v20180119-0753.jar']
2021-11-16 08:37:56,470 - DEBUG - Found launchers: ['/ycmd/third_party/eclipse.jdt.ls/target/repository/plugins/org.eclipse.equinox.launcher_1.5.0.v20180119-0753.jar']
2021-11-16 08:37:56,471 - INFO - Starting jdt.ls Language Server...
@pawansingh00
pawansingh00 / clangd_error.txt
Created November 17, 2021 15:30
clangd_error.txt
2021-11-17 15:27:01,863 - DEBUG - Event name: FileReadyToParse
2021-11-17 15:27:01,863 - INFO - Adding buffer identifiers for file: /home/ubuntu/ycmd/some_c.c
/home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd)
2021-11-17 15:27:01,932 - INFO - Clangd executable found at /home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin and up to date
2021-11-17 15:27:01,933 - INFO - Using Clangd from /home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd
2021-11-17 15:27:01,933 - INFO - Computed Clangd command: ['/home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/ubuntu/ycmd-setup/ycmd/third_party/clang/lib/clang/13.0.0', '-limit-results=500', '-log=verbose']
2021-11-17 15:27:01,933 - INFO - Completion config: 50, detailing -1 candiates
2021-11-17 15:27:01,933 - INFO - Returning
2021-11-18 10:34:29,780 - DEBUG - Event name: FileReadyToParse
2021-11-18 10:34:29,780 - INFO - Adding buffer identifiers for file: /home/pawansingh/ycmd/samples/some_c.c
2021-11-18 10:34:30,450 - INFO - Clangd executable found at /home/pawansingh/ycmd/third_party/clangd/output/bin and up to date
2021-11-18 10:34:30,450 - INFO - Using Clangd from /home/pawansingh/ycmd/third_party/clangd/output/bin/clangd
2021-11-18 10:34:30,451 - INFO - Computed Clangd command: ['/home/pawansingh/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/pawansingh/ycmd/third_party/clang/lib/clang/13.0.0', '-limit-results=500', '-log=verbose']
2021-11-18 10:34:30,452 - INFO - Completion config: 50, detailing -1 candiates
2021-11-18 10:34:30,452 - INFO - Returning cached Clangd command: ['/home/pawansingh/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/pawansingh/ycmd/third_party/clang/lib/clang/13.0.0', '-limit-results=500', '-log=verbo
@pawansingh00
pawansingh00 / install-gcc-9.sh
Created November 18, 2021 08:03
Install gcc 9 on Ubuntu LTS 12.04,14.04,16.04 and 18.04
#!/usr/bin/env sh
sudo apt-get update -y && \
sudo apt-get upgrade -y && \
sudo apt-get dist-upgrade -y && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update -y && \
sudo apt-get install gcc-9 g++-9 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 && \
@pawansingh00
pawansingh00 / cmake_install.sh
Last active December 6, 2021 11:33
Installing latest cMake
# Building and Installing (Recommended for developers)
# For this approach you need to install the GCC tools:
sudo apt update
sudo apt install build-essential libtool autoconf unzip wget
# 1 - Uninstall the default version provided by Ubuntu's package manager.
sudo apt remove --purge --auto-remove cmake
# or sudo apt purge --auto-remove cmake
@pawansingh00
pawansingh00 / build.py_logs.txt
Created November 18, 2021 10:30
build.py logs
ubuntu@ip-172-32-2-28:~/ycmd-setup/ycmd$ python3.8 build.py --all --verbose
Searching Python 3.8 libraries...
Found Python library: /usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so
Found Python headers folder: /usr/include/python3.8
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
@pawansingh00
pawansingh00 / c#_debug_logs.txr
Created November 25, 2021 06:11
C#_autosuggestion_error
"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 /ev
Could not load signature of OmniSharp.CommandLineApplication:get_LogLevel due to: Could not load file or assembly or one of its dependencies. assembly:netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 type:<unknown type> member:<none>
System.TypeLoadException: Failure has occurred while loading a type.
at OmniSharp.Http.Driver.Program+<>cDisplayClass0_1.<Main>b1 () [0x00000] in <bf6761d1be88458fb36a3a4024077905>:0
at OmniSharp.CommandLineApplication+<>cDisplayClass11_0.<OnExecute>b0 () [0x0000b] in <14903a02b2c54ee0863bee9bf9ff4218>:0
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x00039] in <344a1e8cd6594b17b1e01f8df6ae8827>:0
at OmniSharp.CommandLineApplication.Execute (System.String[] args) [0x00081] in <14903a02b2c54ee0863bee9bf9ff4218>:0
at OmniSharp.Http.Driver.Program+<>cDisplayClass0_0.<Main>b0 () [0x00028] in <bf6761d1be88458fb36a3a4024077905>:0
at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <14903a02b2c54ee0863bee9bf9ff4218>:0