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

Not able to change a context / Custom view load failed #1900

Open
damianjankowski opened this issue Dec 21, 2022 · 1 comment
Open

Not able to change a context / Custom view load failed #1900

damianjankowski opened this issue Dec 21, 2022 · 1 comment
Labels
question Further information is requested

Comments

@damianjankowski
Copy link

damianjankowski commented Dec 21, 2022




Describe the bug
Not able to change context

Precondition:
k9s installed via scoop

To Reproduce
Steps to reproduce the behavior:

  1. Run k9s -l debug
  2. Type ctx
  3. Choose context
  4. Enter

Expected behavior
Content should be present

image

Versions (please complete the following information):
K9s Rev: v0.26.7
K8s Rev: v1.23.12
Windows 10 21H1

Additional context
�[90m5:32PM�[0m �[32mINF�[0m 🐶 K9s starting up...
�[90m5:32PM�[0m �[31mWRN�[0m Unable to locate K9s config. Generating new configuration...
�[90m5:32PM�[0m �[32mINF�[0m ✅ Kubernetes connectivity
�[90m5:32PM�[0m �[31mWRN�[0m No context specific skin file found -- C:\Users\user\AppData\Local\k9s\foo-bar-test-weu-2-aks_skin.yml
�[90m5:32PM�[0m �[31mWRN�[0m No skin file found -- C:\Users\user\AppData\Local\k9s\skin.yml. Loading stock skins.
�[90m5:32PM�[0m �[31mWRN�[0m Custom view load failed C:\Users\user\AppData\Local\k9s\views.yml �[36merror=�[0m�[31m"open C:\Users\user\AppData\Local\k9s\views.yml: The system cannot find the file specified."�[0m
�[90m5:32PM�[0m �[31mWRN�[0m CustomView watcher failed �[36merror=�[0m�[31m"GetFileAttributes: The system cannot find the file specified."�[0m
�[90m5:32PM�[0m �[31mWRN�[0m No context specific skin file found -- C:\Users\user\AppData\Local\k9s\foo-bar-develop-weu-2-aks_skin.yml
�[90m5:32PM�[0m �[31mWRN�[0m No skin file found -- C:\Users\user\AppData\Local\k9s\skin.yml. Loading stock skins.
�[90m5:32PM�[0m �[31mWRN�[0m Custom view load failed C:\Users\user\AppData\Local\k9s\views.yml �[36merror=�[0m�[31m"open C:\Users\user\AppData\Local\k9s\views.yml: The system cannot find the file specified."�[0m
�[90m5:32PM�[0m �[31mWRN�[0m CustomView watcher failed �[36merror=�[0m�[31m"GetFileAttributes: The system cannot find the file specified."�[0m
�[90m5:36PM�[0m �[32mINF�[0m 🐶 K9s starting up...
�[90m5:36PM�[0m �[33mDBG�[0m Active Context "foo-bar-test-weu-2-aks"
�[90m5:36PM�[0m �[32mINF�[0m ✅ Kubernetes connectivity
�[90m5:36PM�[0m �[31mWRN�[0m No context specific skin file found -- C:\Users\user\AppData\Local\k9s\foo-bar-test-weu-2-aks_skin.yml
�[90m5:36PM�[0m �[31mWRN�[0m No skin file found -- C:\Users\user\AppData\Local\k9s\skin.yml. Loading stock skins.
�[90m5:36PM�[0m �[33mDBG�[0m Factory START with ns "all" �[90m5:36PM�[0m �[33mDBG�[0m Fetching latest k9s rev... �[90m5:36PM�[0m �[33mDBG�[0m K9s latest rev: "v0.26.7" �[90m5:36PM�[0m �[33mDBG�[0m CustomView watching C:\Users\user\AppData\Local\k9s\views.yml
�[90m5:36PM�[0m �[31mWRN�[0m Custom view load failed C:\Users\user\AppData\Local\k9s\views.yml �[36merror=�[0m�[31m"open C:\Users\user\AppData\Local\k9s\views.yml: The system cannot find the file specified."�[0m
�[90m5:36PM�[0m �[31mWRN�[0m CustomView watcher failed �[36merror=�[0m�[31m"GetFileAttributes: The system cannot find the file specified."�[0m
�[90m5:37PM�[0m �[33mDBG�[0m TABLE-UPDATER canceled -- "v1/pods"
�[90m5:37PM�[0m �[33mDBG�[0m SWITCH CTX "contexts"--"foo-bar-develop-weu-2-aks"
�[90m5:37PM�[0m �[33mDBG�[0m Switching context "foo-bar-develop-weu-2-aks"
�[90m5:37PM�[0m �[33mDBG�[0m TABLE-UPDATER canceled -- "contexts"
�[90m5:37PM�[0m �[33mDBG�[0m --> Switching Context "foo-bar-develop-weu-2-aks"--"ctx"
�[90m5:37PM�[0m �[33mDBG�[0m ClusterInfo updater canceled!
�[90m5:37PM�[0m �[33mDBG�[0m CustomViewWatcher CANCELED C:\Users\user\AppData\Local\k9s\views.yml!! �[90m5:37PM�[0m �[33mDBG�[0m Factory START with ns "default"
�[90m5:37PM�[0m �[31mWRN�[0m No context specific skin file found -- C:\Users\user\AppData\Local\k9s\foo-bar-develop-weu-2-aks_skin.yml
�[90m5:37PM�[0m �[31mWRN�[0m No skin file found -- C:\Users\user\AppData\Local\k9s\skin.yml. Loading stock skins.
�[90m5:37PM�[0m �[33mDBG�[0m CustomView watching `C:\Users\user\AppData\Local\k9s\views.yml
�[90m5:37PM�[0m �[31mWRN�[0m Custom view load failed C:\Users\user\AppData\Local\k9s\views.yml �[36merror=�[0m�[31m"open C:\Users\user\AppData\Local\k9s\views.yml: The system cannot find the file specified."�[0m
�[90m5:37PM�[0m �[31mWRN�[0m CustomView watcher failed �[36merror=�[0m�[31m"GetFileAttributes: The system cannot find the file specified."�[0m

@derailed
Copy link
Owner

@damianjankowski I don't see a hard error here?? It seems your context was loaded otherwise you would not see pods or metrics... Do you have any pods running in the default ns?

@derailed derailed added the question Further information is requested label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants