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

bug: pressing "e" inside container logs throws error #87

Closed
idelice opened this issue Jul 6, 2024 · 1 comment
Closed

bug: pressing "e" inside container logs throws error #87

idelice opened this issue Jul 6, 2024 · 1 comment

Comments

@idelice
Copy link
Contributor

idelice commented Jul 6, 2024

Steps to produce

  1. toggle plugin on
  2. press "l" (container logs) on pod
  3. press "e"

Error message

   Error  19:01:00 msg_show.emsg E5108: Error executing lua: ...rs/delice/projects/kubectl.nvim/lua/kubectl/mappings.lua:25: module 'kubectl.views.my-pod-68886ffd5c-48wbc' not found:
	no field package.preload['kubectl.views.my-pod-68886ffd5c-48wbc']
cache_loader: module kubectl.views.my-pod-68886ffd5c-48wbc not found
cache_loader_lib: module kubectl.views.my-pod-68886ffd5c-48wbc not found
	no file './kubectl/views/my-pod-68886ffd5c-48wbc.lua'
	no file '/opt/homebrew/share/luajit-2.1/kubectl/views/my-pod-68886ffd5c-48wbc.lua'
	no file '/usr/local/share/lua/5.1/kubectl/views/my-pod-68886ffd5c-48wbc.lua'
	no file '/usr/local/share/lua/5.1/kubectl/views/my-pod-68886ffd5c-48wbc/init.lua'
	no file '/opt/homebrew/share/lua/5.1/kubectl/views/my-pod-68886ffd5c-48wbc.lua'
	no file '/opt/homebrew/share/lua/5.1/kubectl/views/my-pod-68886ffd5c-48wbc/init.lua'
	no file './kubectl/views/my-pod-68886ffd5c-48wbc.so'
	no file '/usr/local/lib/lua/5.1/kubectl/views/my-pod-68886ffd5c-48wbc.so'
	no file '/opt/homebrew/lib/lua/5.1/kubectl/views/my-pod-68886ffd5c-48wbc.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
	no file './kubectl.so'
	no file '/usr/local/lib/lua/5.1/kubectl.so'
	no file '/opt/homebrew/lib/lua/5.1/kubectl.so'
	no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	...rs/delice/projects/kubectl.nvim/lua/kubectl/mappings.lua:25: in function <...rs/delice/projects/kubectl.nvim/lua/kubectl/mappings.lua:20>

Expected

I should be able to navigate freely inside the container logs using "e"

@Ramilito
Copy link
Owner

Ramilito commented Jul 6, 2024

Yeah thats my bad, changed the keybinding to be ctrl-e and to only trigger in non floating buffers

@Ramilito Ramilito closed this as completed Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants