Replies: 4 comments 9 replies
-
hi @2vireddy - can you please check if there are any errors reported in |
Beta Was this translation helpful? Give feedback.
-
I'm also facing the same issue `Gauge version: 1.1.8 Pluginshtml-report (4.0.12) 07-04-2021 16:08:56.505 [Gauge] [DEBUG] Gauge could not initialize. Install 'ms-python.python' extension for code insights. For more information seeProblems, check logs.Troubleshooting 07-04-2021 16:08:56.506 [Gauge] [DEBUG] jsonrpc2: --> request #0: initialize: {"processId":16280,"clientInfo":{"name":"Visual Studio Code","version":"1.55.0"},"locale":"en-us","rootPath":"e:\Gauge\new_gauge\TVLQA\gauge-pom","rootUri":"file:///e%!!(MISSING)A(MISSING)/Gauge/new_gauge/TVLQA/gauge-pom","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true,"resourceOperations":["create","rename","delete"],"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"changeAnnotationSupport":{"groupsOnLabel":true}},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true,"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]},"tagSupport":{"valueSet":[1]}},"codeLens":{"refreshSupport":true},"executeCommand":{"dynamicRegistration":true},"configuration":true,"workspaceFolders":true,"semanticTokens":{"refreshSupport":true},"fileOperations":{"dynamicRegistration":true,"didCreate":true,"didRename":true,"didDelete":true,"willCreate":true,"willRename":true,"willDelete":true}},"textDocument":{"publishDiagnostics":{"relatedInformation":true,"versionSupport":false,"tagSupport":{"valueSet":[1,2]},"codeDescriptionSupport":true,"dataSupport":true},"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"contextSupport":true,"completionItem":{"snippetSupport":true,"commitCharactersSupport":true,"documentationFormat":["markdown","plaintext"],"deprecatedSupport":true,"preselectSupport":true,"tagSupport":{"valueSet":[1]},"insertReplaceSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"insertTextModeSupport":{"valueSet":[1,2]}},"completionItemKind":{"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]}},"hover":{"dynamicRegistration":true,"contentFormat":["markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":true,"signatureInformation":{"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true},"activeParameterSupport":true},"contextSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true,"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,"tagSupport":{"valueSet":[1]},"labelSupport":true},"codeAction":{"dynamicRegistration":true,"isPreferredSupport":true,"disabledSupport":true,"dataSupport":true,"resolveSupport":{"properties":["edit"]},"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"honorsChangeAnnotations":false},"codeLens":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1,"honorsChangeAnnotations":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"colorProvider":{"dynamicRegistration":true},"foldingRange":{"dynamicRegistration":true,"rangeLimit":5000,"lineFoldingOnly":true},"declaration":{"dynamicRegistration":true,"linkSupport":true},"selectionRange":{"dynamicRegistration":true},"callHierarchy":{"dynamicRegistration":true},"semanticTokens":{"dynamicRegistration":true,"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator"],"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"formats":["relative"],"requests":{"range":true,"full":{"delta":true}},"multilineTokenSupport":false,"overlappingTokenSupport":false},"linkedEditingRange":{"dynamicRegistration":true}},"window":{"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"showDocument":{"support":true},"workDoneProgress":true},"general":{"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"markdown":{"parser":"marked","version":"1.1.0"}},"saveFiles":true},"trace":"off","workspaceFolders":[{"uri":"file:///e%!!(MISSING)A(MISSING)/Gauge/new_gauge/TVLQA/gauge-pom","name":"gauge-pom"}]}07-04-2021 16:08:56.507 [Gauge] [DEBUG] jsonrpc2: <-- result #0: initialize: {"capabilities":{"textDocumentSync":1,"completionProvider":{"resolveProvider":true,"triggerCharacters":[""," ",""","\u003c",":",","]},"definitionProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentFormattingProvider":true,"renameProvider":true}} |
Beta Was this translation helpful? Give feedback.
-
I guess the problem was with the python extension. so we followed this link to fix python extension error. |
Beta Was this translation helpful? Give feedback.
-
Also gauge spec files were open when VSCode is invoked which causes gauge extension to be invoked before the python extension loads and causes the error. @sriv please correct me if i am wrong |
Beta Was this translation helpful? Give feedback.
-
I am trying to setup a gauge python project and already have a framework which works on other machines of my colleagues but i am unable to get gauge up on my Windows PC .
[Gauge] [INFO] Starting language runner
05-04-2021 20:18:16.472 [python] [INFO] Python: 3.8.2
05-04-2021 20:18:16.472 [python] [DEBUG] Loading step implementations from s:\Git-TVL-Mar25\TVLQA\gauge-pom\step_impl dirs.
05-04-2021 20:18:39.103 [Gauge] [DEBUG] Gauge could not initialize. Install 'ms-python.python' extension for code insights. For more information seeProblems, check logs.Troubleshooting
Some of the gauge lsp feature will not work as expected.
05-04-2021 20:18:39.103 [Gauge] [INFO] LangServer: reading on stdin, writing on stdout
05-04-2021 20:18:39.111 [Gauge] [ERROR] notif #0: initialized: current runner is not compatible with gauge LSP
PS S:\Git-TVL-Mar25\TVLQA\gauge-pom> gauge -v
Gauge version: 1.1.8
Commit Hash: b1501f4
Plugins
html-report (4.0.12)
python (0.3.15)
screenshot (0.0.1)
xml-report (0.2.3)
manifest.json
{ "Language": "python", "Plugins": [ "html-report", "xml-report" ] }
I initialized a new gauge python project and it works fine and gauge launches successfully, but the framework setup from git does not work on my windows pc. is there any changes that has to be made in any of .json files. I have been trying to resolve this issue by different combinations but have been unsuccessful.
your help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions