-
Notifications
You must be signed in to change notification settings - Fork 19
Description
I am running into errors when trying to create a node. For one thing it's not appearing to generate an ID at all. This is what's created in the scratch buffer with nf
:PROPERTIES:
:ID:
:ROAM_ORIGIN:
:END:
#+TITLE: test
test test
And then it seems according to your video it's supposed to switch to that buffer on save. But on save it only writes the tmp file, and if I try to quit or delete the windows it gives me an error for trying to delete a buffer in use.
Heres from trying to :q out of the scratch buffer
10:52:15 PM msg_show "/tmp/nvim.jordan/M8ZrZb/0.org"
10:52:15 PM msg_show "/tmp/nvim.jordan/M8ZrZb/0.org" [New] 7L, 65B
10:52:16 PM msg_show "/tmp/nvim.jordan/M8ZrZb/0.org"
10:52:16 PM msg_show "/tmp/nvim.jordan/M8ZrZb/0.org" 7L, 65B
10:51:59 PM msg_showcmd :
10:52:20 PM msg_show wq "/tmp/nvim.jordan/M8ZrZb/0.org"
10:52:20 PM msg_show wq "/tmp/nvim.jordan/M8ZrZb/0.org" 7L, 65B
10:52:23 PM msg_show wq Error running notification service: ...eovimPackages/start/nvim-notify/lua/notify/util/init.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/M8ZrZb/0.org
10:52:23 PM msg_show wq Error detected while processing BufWipeout Autocommands for "<buffer=40>":
10:52:23 PM msg_show wq Error executing vim.schedule lua callback: ...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/M8ZrZb/0.org
stack traceback:
[C]: in function 'nvim_open_win'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:80: in function 'get_window'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:108: in function 'draw_character'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:151: in function 'draw_partial_block'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:315: in function 'draw_horizontally_shifted_sub_block'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:601: in function 'draw_quad'
...im/lazy/smear-cursor.nvim/lua/smear_cursor/animation.lua:210: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'wait'
...ovimPackages/start/orgmode/lua/orgmode/utils/promise.lua:283: in function 'load_file_sync'
...yNeovimPackages/start/orgmode/lua/orgmode/files/init.lua:189: in function 'get'
...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:538: in function '_get_refile_vars'
...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:97: in function <...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:95>
10:52:23 PM msg_show wq Error running notification service: ...eovimPackages/start/nvim-notify/lua/notify/util/init.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/M8ZrZb/0.org
10:52:23 PM msg_show wq Error executing vim.schedule lua callback: ...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/M8ZrZb/0.org
stack traceback:
[C]: in function 'nvim_open_win'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:80: in function 'get_window'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:108: in function 'draw_character'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:151: in function 'draw_partial_block'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:315: in function 'draw_horizontally_shifted_sub_block'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:601: in function 'draw_quad'
...im/lazy/smear-cursor.nvim/lua/smear_cursor/animation.lua:210: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'wait'
...ovimPackages/start/orgmode/lua/orgmode/utils/promise.lua:283: in function 'load_file_sync'
...yNeovimPackages/start/orgmode/lua/orgmode/files/init.lua:189: in function 'get'
...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:538: in function '_get_refile_vars'
...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:97: in function <...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:95>
Error 10:52:23 PM msg_show.lua_error wq Error executing vim.schedule lua callback: ...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/M8ZrZb/0.org
stack traceback:
[C]: in function 'nvim_open_win'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:80: in function 'get_window'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:108: in function 'draw_character'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:151: in function 'draw_partial_block'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:315: in function 'draw_horizontally_shifted_sub_block'
...re/nvim/lazy/smear-cursor.nvim/lua/smear_cursor/draw.lua:601: in function 'draw_quad'
...im/lazy/smear-cursor.nvim/lua/smear_cursor/animation.lua:210: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'wait'
...ovimPackages/start/orgmode/lua/orgmode/utils/promise.lua:283: in function 'load_file_sync'
...yNeovimPackages/start/orgmode/lua/orgmode/files/init.lua:189: in function 'get'
...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:538: in function '_get_refile_vars'
...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:97: in function <...eovimPackages/start/orgmode/lua/orgmode/capture/init.lua:95>
10:52:23 PM msg_show Error running notification service: ...eovimPackages/start/nvim-notify/lua/notify/util/init.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/M8ZrZb/0.org
Error 10:52:23 PM msg_show.emsg Error detected while processing BufEnter Autocommands for "*":
10:52:23 PM msg_show E315: ml_get: Invalid lnum: 1
10:52:23 PM msg_show.echomsg [orgmode] Wrote /home/jordan/.roam/20250112225208-test.org
and here is from trying to delete the window. When I try to delete the window I get a blank confirmation box through Noice that seems to have the options Y or N and when select Y this happens:
Template key:
10:58:12 PM msg_show "/tmp/nvim.jordan/WOAIxP/0.org"
10:58:12 PM msg_show "/tmp/nvim.jordan/WOAIxP/0.org" [New] 6L, 42B
10:57:59 PM msg_showcmd ^Wc
10:58:31 PM msg_show Error running notification service: ...eovimPackages/start/nvim-notify/lua/notify/util/init.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/WOAIxP/0.org
10:58:31 PM msg_show Error running notification service: ...eovimPackages/start/nvim-notify/lua/notify/util/init.lua:80: Vim:E937: Attempt to delete a buffer that is in use: /tmp/nvim.jordan/WOAIxP/0.org
Error 10:58:31 PM msg_show.emsg Error detected while processing BufEnter Autocommands for "*":
10:58:31 PM msg_show E315: ml_get: Invalid lnum: 1
10:58:31 PM msg_show.echomsg [orgmode] Wrote /home/jordan/.roam/20250112225811-test2.org
Error 10:58:32 PM msg_show.lua_error Error executing vim.schedule lua callback: unhandled promise rejection: { 'vim/_editor.lua:0: nvim_exec2()..BufEnter Autocommands for "*": Vim(lua):E315: ml_get: Invalid lnum: 1' }
stack traceback:
[C]: in function 'error'
...ovimPackages/start/orgmode/lua/orgmode/utils/promise.lua:72: in function <...ovimPackages/start/orgmode/lua/orgmode/utils/promise.lua:70>
I've tried removing all of my UI plugins but I think there's something else going on.
I should note that it does actually write the files. But still without the ID's.