Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error: Cannot read properties of undefined (reading 'log') #80

Open
odockal opened this issue Jun 12, 2023 · 1 comment
Open
Assignees
Labels
kind/bug 🐞 Something isn't working

Comments

@odockal
Copy link

odockal commented Jun 12, 2023

I am seeing a lot of such errors when testing v0.0.1 DevSandbox extension (installed via podman desktop on 06/12/2023).
I have noticed especially when deleting a pod from the cluster using podman desktop.

Env: Podman desktop 1.1.0, sandbox ext. v.0.0.1, Fedora 37
Steps:

  1. Install extension, create and login to the dev sandbox, get login command
  2. Create new dev sandbox resource
  3. Pull some image, create container and pod from a container (I was using redis + python-frontend, but can be anything like quay.io/centos7/httpd-24-cento7)
  4. Go to the pod and deploy it to the sandbox cluster
  5. Check that app is running and available via the route
  6. Delete the pod
  7. Assert: pod is deleted and no error appears
    Pod is deleted, but then I am seeing a lot of errors in the dev console (100+).

Full stack trace:

index.ts:1335 Uncaught Error: Cannot read properties of undefined (reading 'log')
    at EventEmitter.<anonymous> (<anonymous>:2:7777)
    at EventEmitter.emit (VM4 sandbox_bundle:2:35718)
    at Object.onMessage (VM4 sandbox_bundle:2:47988)
(anonymous) @ index.ts:1335
emit @ VM4 sandbox_bundle:2
onMessage @ VM4 sandbox_bundle:2
@odockal
Copy link
Author

odockal commented Jun 12, 2023

@dgolovin I am not sure that this comes from the extension, I have noticed this error when deleting pod from sandbox.

@dgolovin dgolovin self-assigned this Jun 30, 2023
@dgolovin dgolovin added the kind/bug 🐞 Something isn't working label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants