Error with buffer
I have this problem anytime i try to make a query, any query:
"/tmp/nvim.ariana/EXNokA/Social-users-List-2025-02-26-18-33-45" [New] 1L, 32B written
"/tmp/nvim.ariana/EXNokA/Social-users-List-2025-02-26-18-33-45" 1L, 32B written
"/tmp/nvim.ariana/EXNokA/Social-users-List-2025-02-26-18-33-45" 1L, 32B written
An error was detected while processing BufWritePost Auto-commands for "<buffer=7>"..function <SNR>117_method[5]..117[16]..<SNR>117_print_query_time[5]..db_ui#notifications#info[1]..<SNR>116_notification[26]..<SNR>116_notification_nvim:
line 30
E5555: API call: BufWritePost Auto-commands for "<buffer=7>"..function <SNR>117_method[5]..117[16]..<SNR>117_print_query_time[5]..db_ui#notifications#info[1]..<SNR>116_notification[26]..<SNR>116_notification_nvim[30]..BufEnter Auto-commands for "*"..function <SNR>6_detect_indent, line 10: Vim(let):E495: No file name for auto-commands to substitute for "<afile>"
Temporary File Creation :
The plugin (vim-dadbod-ui) creates temporary files in /tmp/nvim.ariana/... (e.g., /tmp/nvim.ariana/EXNokA/Social-users-List-2025-02-26-18-33-45).
These files are written multiple times during the execution of a query.
Error During BufWritePost Auto-commands :
An error occurs when processing BufWritePost auto-commands for a buffer (<buffer=7>).
This is likely triggered by an internal function (<SNR>117_method, <SNR>117_print_query_time, etc.) that interacts with db_ui#notifications#info.
API Call Error (E5555) :
The error E5555 indicates that an API call failed during the execution of auto-commands.
Specifically, the issue arises in the chain of functions:
Missing File Name for Auto-commands (E495) :
The error E495 states: "No file name for auto-commands to substitute for <afile>".
This means that an auto-command attempted to use the placeholder <afile> (which represents the current file name), but the buffer does not have a valid file name associated with it.
Triggered by BufEnter Auto-commands :
The error propagates further when BufEnter auto-commands are processed for all buffers (*).
A specific function (<SNR>6_detect_indent) is mentioned as part of the error chain.
1 条评论