Closed idogada-akamai closed 1 month ago
@rberrelleza After upgrading I got this message:
Command 'Okteto: Up' resulted in an error (command 'okteto.up' not found)
I tried to-reinstall the extension, same result
Attaching screen recording of the error I am getting
@rberrelleza Is it expected to be fixed sometime in the near future?
@rberrelleza I tried to debug this locally, it seems to be related to Telemtry. Commenting all relevant code in extension.ts
, prevent this error from appearing.
I will continue to debug this and update
After some further debugging. I am not sure exactly how and why it happens but I saw that when you run sentry.init
(source), a code from the Dendron extension gets executed and throws the following error:
session.update is not a function
Disabling Dendron seems to solve the issue. Though I am not sure what happens here 😅
This is very interesting. I think the problem might be that sentry is a global property, and there might a collision between both extensions. I'll see if theres'a way to only load sentry in our extension.
How did you figure this out @idogdeveleap ?
@rberrelleza I cloned the repo and started debugging and diving into each function call until I noticed that the path is no longer from Okteto
@david9991 are you still hitting the issue with the undefined track property?
@rberrelleza No, I am just experimenting 'command okteto.X not found' issue with Telemetry enabled. While I am debugging this I am getting error message 'session.update is not a function'.
this is not reproducing on newer versions of sentry and vscode
Describe the bug Every Okteto command using the extension results in the following error message. For example, when running
Okteto Up
I get this prompt:To Reproduce Steps to reproduce the behavior:
Remote - Kubernetes
extensionRemote - SSH
extensionExpected behavior Okteto command to succeed. For example in
Okteto Up
, to connect vscode in the development pod, with file sync working.Desktop (please complete the following information):
Additional context When running
okteto up
the from terminal, and connecting via the remote explorer, it'r working. Seems to be an issue with the extension