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

load error #852

Open
yimingwangdell opened this issue Jan 16, 2025 · 3 comments
Open

load error #852

yimingwangdell opened this issue Jan 16, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@yimingwangdell
Copy link

yimingwangdell commented Jan 16, 2025

Describe the bug

E5108: Error executing lua /root/.vim/plugged/orgmode/lua/orgmode/utils/validator.lua:16: handler: expected table: 0x7f83f1e47830, got string (lua require("orgmode").action("agenda.prompt"))
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
/root/.vim/plugged/orgmode/lua/orgmode/utils/validator.lua:16: in function 'validate'
...lugged/orgmode/lua/orgmode/config/mappings/map_entry.lua:55: in function 'action'
...vim/plugged/orgmode/lua/orgmode/config/mappings/init.lua:5: in main chunk
[C]: in function 'require'
/root/.vim/plugged/orgmode/lua/orgmode/config/init.lua:6: in main chunk
[C]: in function 'require'
/root/.vim/plugged/orgmode/lua/orgmode/init.lua:123: in function 'setup'
[string ":lua"]:2: in main chunk
Press ENTER or type command to continue

Steps to reproduce

update to latest plugin, use this single config file
https://github.com/yimingwangdell/vimrc/blob/master/nvim/init.vim

Expected behavior

no error

Emacs functionality

No response

Minimal init.lua

-- Enter your minimal_init.lua here

Screenshots and recordings

No response

OS / Distro

debian

Neovim version/commit

0.11dev

Additional context

No response

@yimingwangdell yimingwangdell added the bug Something isn't working label Jan 16, 2025
@kristijanhusak
Copy link
Member

Add reproducible steps.

@yimingwangdell
Copy link
Author

@kristijanhusak
Copy link
Member

I cannot reproduce it. Here's the video:

org-error.mp4

I just changed few things in your config to be able to run it:

  1. Replaces ~/.config/nvim with ~/.config/test_fail_org to be able to run it without messing up my own config (via NVIM_APPNAME)
  2. Updated the path to agenda files to ~/my-org only since I have my own files in ~/Dropbox/org. It worked even with my files but I didn't want to expose them
  3. There's Codium error at start, since I'm not using it and didn't provide auth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants