Skip to content

Instantly share code, notes, and snippets.

View TuM0xA-S's full-sized avatar

TuM0xA-S

View GitHub Profile
@TuM0xA-S
TuM0xA-S / protoFixer.py
Created July 16, 2021 15:31
fix proto conflict in scratch project easily
# script to fix proto conflict panics
import re
target_variable = "GOLANG_PROTOBUF_REGISTRATION_CONFLICT"
def gitlabci_fixer():
gitlabci_fix = \
"""\
# hack to fix proto conflict
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: "warn"
"index.php" 2L, 9B
Error detected while processing function <SNR>19_PollSignatureHelp[19]..<SNR>19_UpdateSignatureHelp[5]..function <SNR>19_PollSignatureHelp[19]..<SNR>19_UpdateSignatureHelp:
line 5:
Traceback (most recent call last):
Error detected while processing function <SNR>19_PollSignatureHelp[19]..<SNR>19_UpdateSignatureHelp[5]..function <SNR>19_PollSignatureHelp[19]..<SNR>19_UpdateSignatureHelp:
line 5:
File "<string>", line 1, in <module>
Error detected while processing function <SNR>19_PollSignatureHelp[19]..<SNR>19_UpdateSignatureHelp[5]..function <SNR>19_PollSignatureHelp[19]..<SNR>19_UpdateSignatureHelp:
line 5:
File "/home/tum0xa/.vim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 366, in UpdateSignatureHelp
Starting language server, use -vvv for verbose output
[INFO][245862.762445] Listening on STDIO[]
[INFO][245862.763923] IN:{
"id": 1,
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"capabilities": {
"textDocument": {
"codeAction": {
serving on http://localhost:52469
2021-04-12 19:32:36,630 - DEBUG - GET b'http://127.0.0.1:52469/ready' (None)
{'content-type': 'application/json', 'x-ycm-hmac': b'cDc5aQymvUKqjnoLB99DCvtVgwzvfsXXAhDD1FUNfgc='}
2021-04-12 19:32:36,745 - DEBUG - RX: <Response [200]>
true
2021-04-12 19:32:38,739 - DEBUG - GET b'http://127.0.0.1:52469/signature_help_available' ({'subserver': 'php'})
{'content-type': 'application/json', 'x-ycm-hmac': b'd/2XsMEdfqDm23YCpCJN1rTByN5U5nap1g1FmWEAZpE='}
2021-04-12 19:32:38,742 - DEBUG - POST b'http://127.0.0.1:52469/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'Qyl/zX0dP/F6waN/bLSNNs6UKXDK2so68iZ8Emv3cyE='}
b'{"filepath": "/home/tum0xa/src/phpsite/index.php", "line_num": 1, "column_num": 1, "working_dir": "/home/tum0xa/src/phpsite", "file_data": {"/home/tum0xa/src/phpsite/index.php": {"contents": "<?php\\n?>\\n", "filetypes": ["php"]}}, "event_name": "BufferVisit"}'
2021-04-12 19:32:38,744 - DEBUG - POST b'http://127.0.0.1:52469/event_notification'
2021-04-12 19:32:36,688 - DEBUG - No global extra conf, not calling method YcmCorePreload
2021-04-12 19:32:36,720 - INFO - Completion config: 50, detailing -1 candiates
2021-04-12 19:32:36,720 - INFO - Completion config: 50, detailing -1 candiates
2021-04-12 19:32:36,720 - INFO - Completion config: 50, detailing -1 candiates
2021-04-12 19:32:36,721 - INFO - Completion config: 50, detailing -1 candiates
2021-04-12 19:32:36,743 - INFO - Received ready request
127.0.0.1 - - [12/Apr/2021 19:32:36] "GET /ready HTTP/1.1" 200 4
2021-04-12 19:32:38,743 - INFO - Received signature help available request
2021-04-12 19:32:38,744 - INFO - Completion config: 50, detailing -1 candiates
2021-04-12 19:32:38,745 - INFO - Received event notification
@TuM0xA-S
TuM0xA-S / ycmd-stderr.log
Created April 10, 2021 20:51
ycmd stderr log
2021-04-10 23:47:10,010 - DEBUG - No global extra conf, not calling method YcmCorePreload
2021-04-10 23:47:10,046 - INFO - Completion config: 50, detailing 10 candiates
2021-04-10 23:47:10,046 - INFO - Completion config: 50, detailing 10 candiates
2021-04-10 23:47:10,046 - INFO - Completion config: 50, detailing 10 candiates
2021-04-10 23:47:10,047 - INFO - Completion config: 50, detailing 10 candiates
2021-04-10 23:47:10,072 - INFO - Received ready request
2021-04-10 23:47:10,077 - INFO - Received signature help available request
2021-04-10 23:47:10,078 - INFO - Completion config: 50, detailing 10 candiates
2021-04-10 23:47:10,080 - INFO - Received event notification
2021-04-10 23:47:10,081 - DEBUG - Event name: BufferVisit
@TuM0xA-S
TuM0xA-S / ycm.debuginfo
Created April 7, 2021 20:49
another log
Printing YouCompleteMe debug information...
-- Resolve completions: On demand
-- Client logfile: /tmp/ycm_b7052il1.log
-- Server Python interpreter: /usr/bin/python3
-- Server Python version: 3.9.2
-- Server has Clang support compiled in: False
-- Clang version: None
-- No extra configuration file found
-- GenericLSP completer debug information:
-- phpCompleter running
@TuM0xA-S
TuM0xA-S / ycm.log
Created April 7, 2021 20:47
some error while using ycm
"~/src/phpsite/index.php" 12L, 181B
Error detected while processing function <SNR>70_PollSignatureHelp[19]..<SNR>70_UpdateSignatureHelp[5]..function <SNR>70_PollSignatureHelp[19]..<SNR>70_UpdateSignatureHelp:
line 5:
Traceback (most recent call last):
Error detected while processing function <SNR>70_PollSignatureHelp[19]..<SNR>70_UpdateSignatureHelp[5]..function <SNR>70_PollSignatureHelp[19]..<SNR>70_UpdateSignatureHelp:
line 5:
File "<string>", line 1, in <module>
Error detected while processing function <SNR>70_PollSignatureHelp[19]..<SNR>70_UpdateSignatureHelp[5]..function <SNR>70_PollSignatureHelp[19]..<SNR>70_UpdateSignatureHelp:
line 5:
File "/home/tum0xa/.vim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 366, in UpdateSignatureHelp