-
Notifications
You must be signed in to change notification settings - Fork 33
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] Installation error #232
Comments
can you check for a file at If that doesn't exist, you could try creating it (or at least creating the folder that it's supposed to be in). I honestly don't know why you're getting this error. It seems like yet another remote plugin failure (ie. neovim bug), but we can try and figure it out |
if [ -d $HOME/.local/share/test-nvim ]; then
echo "Directory exists."
else
echo "Directory does not exist."
fi
# -> Directory exists
if [ -e $HOME/.local/share/test-nvim/rplugin.vim ]; then
echo "File exists."
else
echo "File does not exist."
fi
# -> File does not exists. So I try to create manually
I've opened nvim as before and run |
btw, I've recap the aforementioned setup in the following script for easy reproducibility |
I've also uninstall neovim (
Still same error |
seems like the file write is failing here: https://github.com/neovim/neovim/blob/3d1110674ec330138ad6675f828673ca32575d4b/runtime/autoload/remote/host.vim#L172 Maybe |
SetupI've created vim.g.python3_host_prog = vim.fn.expand("$XDG_DATA_HOME") .. "/venvs/test-nvim/bin/python3"
-- This takes care of redefining the XDG variables
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
"benlubas/molten-nvim",
build = ":UpdateRemotePlugins",
init = function()
vim.g.molten_use_border_highlights = true
end,
},
},
})
-- Print this to show a strange behavior...
vim.cmd('echo stdpath("data") ')
vim.cmd('echo stdpath("config")')
vim.cmd('echo stdpath("cache") ')
vim.cmd('echo stdpath("state") ') DebugI then start Neovim with
Using the flag Even though the
An extra backslash between
SolutionIn the file So, I was finally able to install and run molten with
|
In the README or documentation, we could suggest to users experiencing the same installation bug that they try manually defining the environment variable |
NVIM v0.10.1 Build type: Release LuaJIT 2.1.1725453128
(installed with brew)Python 3.11.9 (main, Apr 30 2024, 13:08:46) [Clang 15.0.0 (clang-1500.3.9.4)]
pyenv
. Create new virtualenv withvenv
. See later.`:checkhealth molten`
`:checkhealth provider` (the python parts)
Description
I've tried to install molten.nvim with lazy.nvim but I wasn't successful.
Molten commands (e.g.
:MoltenInfo
) are not available.Reproduction Steps
test-nvim
as APPNAMEResult (same behaviour after update lazy.nvim as well)
Manually running
:UpdateRemotePlugins
result in this errorThe text was updated successfully, but these errors were encountered: