Skip to content

Instantly share code, notes, and snippets.

@vv111y
Created July 12, 2019 16:43
Show Gist options
  • Select an option

  • Save vv111y/9053de16851a585034030f10a831b0e9 to your computer and use it in GitHub Desktop.

Select an option

Save vv111y/9053de16851a585034030f10a831b0e9 to your computer and use it in GitHub Desktop.
[Trace - 12:41:40 PM] Sending request 'initialize - (3495)'.
Params: {
"processId": 6514,
"rootPath": "/home/will/",
"rootUri": "file:///home/will/",
"capabilities": {
"workspace": {
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
]
},
"applyEdit": true,
"symbol": {
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
}
},
"executeCommand": {
"dynamicRegistration": false
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"workspaceFolders": true,
"configuration": true
},
"textDocument": {
"declaration": {
"linkSupport": true
},
"definition": {
"linkSupport": true
},
"implementation": {
"linkSupport": true
},
"typeDefinition": {
"linkSupport": true
},
"synchronization": {
"willSave": true,
"didSave": true,
"willSaveWaitUntil": true
},
"documentSymbol": {
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"hierarchicalDocumentSymbolSupport": true
},
"formatting": {
"dynamicRegistration": true
},
"codeAction": {
"dynamicRegistration": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"completion": {
"completionItem": {
"snippetSupport": true,
"documentationFormat": [
"markdown"
]
},
"contextSupport": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
}
}
},
"documentLink": {
"dynamicRegistration": true
},
"hover": {
"contentFormat": [
"markdown",
"plaintext"
]
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": null,
"lineFoldingOnly": null
}
}
},
"initializationOptions": {
"interpreter": {
"properties": {
"InterpreterPath": "/home/will/anaconda3/envs/main/bin/python",
"Version": "3.6"
}
},
"displayOptions": {
"preferredFormat": "markdown",
"trimDocumentationLines": false,
"maxDocumentationLineLength": 0,
"trimDocumentationText": false,
"maxDocumentationTextLength": 0
},
"searchPaths": [],
"analysisUpdates": true,
"asyncStartup": true,
"typeStubSearchPaths": [
"/home/will/.local/python-language-server/output/bin/Release/Typeshed"
]
}
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": "Analysis cache path: /home/will/.cache/Microsoft/Python Language Server",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": "GetCurrentSearchPaths /home/will/anaconda3/envs/main/bin/python ",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": "Interpreter search paths:",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": " /home/will/anaconda3/envs/main/lib/python3.6",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": " /home/will/anaconda3/envs/main/lib/python3.6/lib-dynload",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": " /home/will/anaconda3/envs/main/lib/python3.6/site-packages",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": "User search paths:",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": " /home/will/DevAcademics/ReinforcementLearning/spinningup",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'window/logMessage'.
Params: {
"message": " /home/will/DevWorkspace/gpu-sentry",
"type": 3
}
[Trace - 12:41:41 PM] Received notification 'python/beginProgress'.
Params: []
[Trace - 12:41:41 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1 items left..."
]
[Trace - 12:41:42 PM] Received notification 'python/endProgress'.
Params: []
[Trace - 12:41:54 PM] Received notification 'window/logMessage'.
Params: {
"message": "Microsoft Python Language Server version 1.0.0.0",
"type": 3
}
[Trace - 12:41:54 PM] Received notification 'window/logMessage'.
Params: {
"message": "Initializing for /home/will/anaconda3/envs/main/bin/python",
"type": 3
}
[Trace - 12:41:54 PM] Received response 'initialize - (3495)' in 851ms.
Result: {
"capabilities": {
"renameProvider": true,
"documentOnTypeFormattingProvider": {
"moreTriggerCharacter": [
";",
":"
],
"firstTriggerCharacter": "\n"
},
"documentRangeFormattingProvider": null,
"documentFormattingProvider": null,
"codeActionProvider": null,
"workspaceSymbolProvider": true,
"documentSymbolProvider": true,
"documentHighlightProvider": null,
"referencesProvider": true,
"definitionProvider": true,
"signatureHelpProvider": {
"triggerCharacters": [
"(",
",",
")"
]
},
"completionProvider": {
"triggerCharacters": [
"."
],
"resolveProvider": null
},
"hoverProvider": true,
"textDocumentSync": {
"willSaveWaitUntil": null,
"willSave": null,
"change": 2,
"openClose": true
}
}
}
[Trace - 12:41:54 PM] Sending notification 'initialized'.
Params: {
}
[Trace - 12:41:54 PM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"python": {
"analysis": {
"warnings": [
"unresolved-import",
"parameter-already-specified",
"too-many-positional-arguments-before-star"
],
"errors": [
"unknown-parameter-name",
"undefined-variable",
"parameter-missing",
"positional-argument-after-keyword",
"too-many-function-arguments"
]
}
}
}
}
[Trace - 12:41:54 PM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py",
"languageId": "python",
"version": 0,
"text": "import torch\nfrom Batch import nopeak_mask\nimport torch.nn.functional as F\nimport math\n\n\ndef init_vars(src, model, SRC, TRG, opt):\n\n init_tok = TRG.vocab.stoi['<sos>']\n src_mask = (src != SRC.vocab.stoi['<pad>']).unsqueeze(-2)\n e_output = model.encoder(src, src_mask)\n\n outputs = torch.LongTensor([[init_tok]])\n if opt.device.type == 'cuda':\n outputs = outputs.cuda()\n\n trg_mask = nopeak_mask(1, opt)\n\n out = model.out(model.decoder(outputs,\n e_output, src_mask, trg_mask))\n out = F.softmax(out, dim=-1)\n\n probs, ix = out[:, -1].data.topk(opt.k)\n log_scores = torch.Tensor([math.log(prob) for prob in probs.data[0]]).unsqueeze(0)\n\n outputs = torch.zeros(opt.k, opt.max_len).long()\n if opt.device.type == 'cuda':\n outputs = outputs.cuda()\n outputs[:, 0] = init_tok\n outputs[:, 1] = ix[0]\n\n e_outputs = torch.zeros(opt.k, e_output.size(-2),e_output.size(-1))\n if opt.device.type == 'cuda':\n e_outputs = e_outputs.cuda()\n e_outputs[:, :] = e_output[0]\n\n return outputs, e_outputs, log_scores\n\ndef k_best_outputs(outputs, out, log_scores, i, k):\n\n probs, ix = out[:, -1].data.topk(k)\n log_probs = torch.Tensor([math.log(p) for p in probs.data.view(-1)]).view(k, -1) + log_scores.transpose(0,1)\n k_probs, k_ix = log_probs.view(-1).topk(k)\n\n row = k_ix // k\n col = k_ix % k\n\n outputs[:, :i] = outputs[row, :i]\n outputs[:, i] = ix[row, col]\n\n log_scores = k_probs.unsqueeze(0)\n\n return outputs, log_scores\n\ndef beam_search(src, model, SRC, TRG, opt):\n\n\n outputs, e_outputs, log_scores = init_vars(src, model, SRC, TRG, opt)\n eos_tok = TRG.vocab.stoi['<eos>']\n src_mask = (src != SRC.vocab.stoi['<pad>']).unsqueeze(-2)\n ind = None\n for i in range(2, opt.max_len):\n\n trg_mask = nopeak_mask(i, opt)\n\n out = model.out(model.decoder(outputs[:,:i],\n e_outputs, src_mask, trg_mask))\n\n out = F.softmax(out, dim=-1)\n\n outputs, log_scores = k_best_outputs(outputs, out, log_scores, i, opt.k)\n\n if (outputs==eos_tok).nonzero().size(0) == opt.k:\n alpha = 0.7\n div = 1/((outputs==eos_tok).nonzero()[:,1].type_as(log_scores)**alpha)\n _, ind = torch.max(log_scores * div, 1)\n ind = ind.data[0]\n break\n\n if ind is None:\n length = (outputs[0]==eos_tok).nonzero()[0]\n return ' '.join([TRG.vocab.itos[tok] for tok in outputs[0][1:length]])\n\n else:\n length = (outputs[ind]==eos_tok).nonzero()[0]\n return ' '.join([TRG.vocab.itos[tok] for tok in outputs[ind][1:length]])\n"
}
}
[Trace - 12:41:54 PM] Received notification 'python/languageServerStarted'.
Params: []
[Trace - 12:41:55 PM] Received notification 'python/beginProgress'.
Params: []
[Trace - 12:41:55 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 156 items left..."
]
[Trace - 12:41:56 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"diagnostics": [
{
"message": "unresolved import 'Batch'",
"source": "Python",
"code": "unresolved-import",
"severity": 2,
"range": {
"end": {
"character": 10,
"line": 1
},
"start": {
"character": 5,
"line": 1
}
}
},
{
"message": "Undefined variable: 'nopeak_mask'",
"source": "Python",
"code": "undefined-variable",
"severity": 1,
"range": {
"end": {
"character": 26,
"line": 16
},
"start": {
"character": 15,
"line": 16
}
}
},
{
"message": "Undefined variable: 'nopeak_mask'",
"source": "Python",
"code": "undefined-variable",
"severity": 1,
"range": {
"end": {
"character": 30,
"line": 63
},
"start": {
"character": 19,
"line": 63
}
}
}
],
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
}
[Trace - 12:41:56 PM] Sending request 'textDocument/hover - (3496)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 8,
"character": 4
}
}
[Trace - 12:41:56 PM] Sending request 'textDocument/hover - (3497)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 8,
"character": 15
}
}
[Trace - 12:41:56 PM] Sending request 'textDocument/hover - (3498)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 8,
"character": 19
}
}
[Trace - 12:41:56 PM] Sending request 'textDocument/hover - (3499)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 8,
"character": 25
}
}
[Trace - 12:41:56 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1012 items left..."
]
[Trace - 12:41:57 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 1190.3651
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:41:57 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 1187.8858
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:41:57 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 1177.3438
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:41:57 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 1176.886
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:41:57 PM] Received response 'textDocument/hover - (3499)' in 409ms.
Result: null
[Trace - 12:41:57 PM] Received response 'textDocument/hover - (3497)' in 417ms.
Result: null
[Trace - 12:41:57 PM] Received response 'textDocument/hover - (3498)' in 413ms.
Result: null
[Trace - 12:41:57 PM] Received response 'textDocument/hover - (3496)' in 423ms.
Result: null
[Trace - 12:41:58 PM] Sending request 'textDocument/hover - (3500)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 9,
"character": 4
}
}
[Trace - 12:41:59 PM] Sending request 'textDocument/hover - (3501)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 10,
"character": 4
}
}
[Trace - 12:41:59 PM] Sending request 'textDocument/hover - (3502)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:41:59 PM] Sending request 'textDocument/hover - (3503)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:41:59 PM] Sending request 'textDocument/hover - (3504)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 14
}
}
[Trace - 12:41:59 PM] Sending request 'textDocument/hover - (3505)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 20
}
}
[Trace - 12:41:59 PM] Sending request 'textDocument/hover - (3506)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 33
}
}
[Trace - 12:42:10 PM] Sending request 'textDocument/hover - (3507)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:42:10 PM] Sending request 'textDocument/signatureHelp - (3508)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:42:15 PM] Sending request 'textDocument/references - (3509)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
},
"context": {
"includeDeclaration": false
}
}
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 679.3445
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3502)' in 800ms.
Result: null
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 682.4988000000001
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 683.3442
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3506)' in 587ms.
Result: null
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3501)' in 250ms.
Result: null
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 710.5263
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3504)' in 601ms.
Result: null
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3507)' in 701ms.
Result: null
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3503)' in 607ms.
Result: null
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 713.9011
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/signatureHelp"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received response 'textDocument/signatureHelp - (3508)' in 717ms.
Result: null
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 18429.503800000002
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3500)' in 502ms.
Result: null
[Trace - 12:42:17 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 852.0243
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/hover"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:17 PM] Received response 'textDocument/hover - (3505)' in 716ms.
Result: null
[Trace - 12:42:22 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1543 items left..."
]
[Trace - 12:42:22 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1489 items left..."
]
[Trace - 12:42:25 PM] Sending request 'textDocument/hover - (3510)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:42:25 PM] Received response 'textDocument/hover - (3510)' in 242ms.
Result: {
"range": {
"end": {
"character": 11,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"contents": {
"value": "```\noutputs\n```",
"kind": "markdown"
}
}
[Trace - 12:42:25 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1775 items left..."
]
[Trace - 12:42:26 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1849 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1980 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1905 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1777 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1732 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1635 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1527 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1489 items left..."
]
[Trace - 12:42:27 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1481 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1448 items left..."
]
[Trace - 12:42:28 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 11484.0727
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/references"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:42:28 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/references",
"stackTrace": " at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)\n at System.IO.Enumeration.FileSystemEnumerator`1.DequeueNextDirectory()\n at System.IO.Enumeration.FileSystemEnumerator`1.DirectoryFinished()\n at System.IO.Enumeration.FileSystemEnumerator`1.FindNextEntry()\n at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()\n at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)\n at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)\n at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.ScanClosedFiles(String name, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 107\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.FindAllReferencesAsync(String name, IPythonModule declaringModule, ILocatedMember rootDefinition, SourceLocation location, DefinitionSource definitionSource, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 72\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.FindAllReferencesAsync(Uri uri, SourceLocation location, ReferenceSearchOptions options, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 64\n at Microsoft.Python.LanguageServer.Implementation.LanguageServer.FindReferences(JToken token, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/LanguageServer.cs:line 245",
"name": "UnauthorizedAccessException"
},
"EventName": "python_language_server/rpc.exception"
}
[Trace - 12:42:28 PM] Received response 'textDocument/references - (3509)' in 494ms.
Result: null
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1424 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1387 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1357 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1353 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1316 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1285 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1231 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1185 items left..."
]
[Trace - 12:42:28 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1105 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1065 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 1021 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 978 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 926 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 882 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 865 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 849 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 806 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 779 items left..."
]
[Trace - 12:42:29 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 765 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 743 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 724 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 691 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 665 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 601 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 527 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 500 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 476 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 460 items left..."
]
[Trace - 12:42:30 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 452 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 441 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 433 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 421 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 406 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 370 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 339 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 309 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 304 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 297 items left..."
]
[Trace - 12:42:31 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 288 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 275 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 268 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 259 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 247 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 211 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 183 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 160 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 64 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 31 items left..."
]
[Trace - 12:42:32 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 12 items left..."
]
[Trace - 12:42:33 PM] Received notification 'python/reportProgress'.
Params: [
"Analyzing in background, 2 items left..."
]
[Trace - 12:42:33 PM] Received notification 'python/endProgress'.
Params: []
[Trace - 12:42:34 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"moduleCount": 1356.0,
"elapsedMs": 38254.6921,
"workingMB": 1960.620032,
"peakPagedMB": 0.0,
"privateMB": 0.0
},
"Properties": {
"plsVersion": "1.0.0.0"
},
"EventName": "python_language_server/analysis_complete"
}
[Trace - 12:42:40 PM] Sending request 'textDocument/hover - (3511)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:42:40 PM] Received response 'textDocument/hover - (3511)' in 45ms.
Result: {
"range": {
"end": {
"character": 11,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"contents": {
"value": "```\noutputs: Tensor\n```",
"kind": "markdown"
}
}
[Trace - 12:44:02 PM] Sending request 'textDocument/references - (3512)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
},
"context": {
"includeDeclaration": false
}
}
[Trace - 12:44:03 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 657.538
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/references"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:44:03 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/references",
"stackTrace": " at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)\n at System.IO.Enumeration.FileSystemEnumerator`1.DequeueNextDirectory()\n at System.IO.Enumeration.FileSystemEnumerator`1.DirectoryFinished()\n at System.IO.Enumeration.FileSystemEnumerator`1.FindNextEntry()\n at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()\n at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)\n at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)\n at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.ScanClosedFiles(String name, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 107\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.FindAllReferencesAsync(String name, IPythonModule declaringModule, ILocatedMember rootDefinition, SourceLocation location, DefinitionSource definitionSource, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 72\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.FindAllReferencesAsync(Uri uri, SourceLocation location, ReferenceSearchOptions options, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 64\n at Microsoft.Python.LanguageServer.Implementation.LanguageServer.FindReferences(JToken token, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/LanguageServer.cs:line 245",
"name": "UnauthorizedAccessException"
},
"EventName": "python_language_server/rpc.exception"
}
[Trace - 12:44:03 PM] Received response 'textDocument/references - (3512)' in 674ms.
Result: null
[Trace - 12:44:03 PM] Sending request 'textDocument/hover - (3513)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:44:03 PM] Received response 'textDocument/hover - (3513)' in 41ms.
Result: {
"range": {
"end": {
"character": 11,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"contents": {
"value": "```\noutputs: Tensor\n```",
"kind": "markdown"
}
}
[Trace - 12:44:22 PM] Sending request 'textDocument/references - (3514)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
},
"context": {
"includeDeclaration": false
}
}
[Trace - 12:44:23 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
"elapsedMs": 445.9121
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/references"
},
"EventName": "python_language_server/rpc.request"
}
[Trace - 12:44:23 PM] Received notification 'telemetry/event'.
Params: {
"Measurements": {
},
"Properties": {
"plsVersion": "1.0.0.0",
"method": "textDocument/references",
"stackTrace": " at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)\n at System.IO.Enumeration.FileSystemEnumerator`1.DequeueNextDirectory()\n at System.IO.Enumeration.FileSystemEnumerator`1.DirectoryFinished()\n at System.IO.Enumeration.FileSystemEnumerator`1.FindNextEntry()\n at System.IO.Enumeration.FileSystemEnumerator`1.MoveNext()\n at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)\n at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)\n at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.ScanClosedFiles(String name, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 107\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.FindAllReferencesAsync(String name, IPythonModule declaringModule, ILocatedMember rootDefinition, SourceLocation location, DefinitionSource definitionSource, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 72\n at Microsoft.Python.LanguageServer.Sources.ReferenceSource.FindAllReferencesAsync(Uri uri, SourceLocation location, ReferenceSearchOptions options, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/Sources/ReferenceSource.cs:line 64\n at Microsoft.Python.LanguageServer.Implementation.LanguageServer.FindReferences(JToken token, CancellationToken cancellationToken) in /home/will/.local/python-language-server/src/LanguageServer/Impl/LanguageServer.cs:line 245",
"name": "UnauthorizedAccessException"
},
"EventName": "python_language_server/rpc.exception"
}
[Trace - 12:44:23 PM] Received response 'textDocument/references - (3514)' in 458ms.
Result: null
[Trace - 12:44:23 PM] Sending request 'textDocument/hover - (3515)'.
Params: {
"textDocument": {
"uri": "file:///home/will/DevAcademics/NLP/AISC-Workshop/asgn2+3/Transformer/Beam.py"
},
"position": {
"line": 12,
"character": 4
}
}
[Trace - 12:44:23 PM] Received response 'textDocument/hover - (3515)' in 39ms.
Result: {
"range": {
"end": {
"character": 11,
"line": 12
},
"start": {
"character": 4,
"line": 12
}
},
"contents": {
"value": "```\noutputs: Tensor\n```",
"kind": "markdown"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment