Comments (18)
+1
from mason.nvim.
Same issue with today's neovim nightly.
from mason.nvim.
i have same issue.
from mason.nvim.
Fixed (2b9df3f79541507bfc3ba2645e6b9740e7c922ed).
from mason.nvim.
I too am getting similar problems.
My checkhealth mason
returns the following:
==============================================================================
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-03-26-aback-image` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send`
- WARNING wget: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ERROR curl: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ERROR gzip: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- OK tar: `bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8 `
- ERROR bash: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ERROR sh: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
mason.nvim [Languages] ~
- WARNING Go: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING cargo: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING luarocks: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING Ruby: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING RubyGem: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING Composer: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING PHP: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING npm: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING node: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING javac: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING java: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING julia: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING python: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING pip: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING python venv: not available
- ADVICE:
- On Debian/Ubuntu systems, you need to install the python3-venv package using the following command:
apt-get install python3-venv
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 3. Remaining: 4997. Limit: 5000. Reset: Wed Apr 24 11:23:27 2024.
Neovim version:
nvim -V1 -v
NVIM v0.10.0-dev-2995+ga1550dbf0-Homebrew
Build type: Release
LuaJIT 2.1.1713773202
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/HEAD-a1550db/share/nvim"
Run :checkhealth for more info
When I open :Mason
I get the following:
from mason.nvim.
+1
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-04-23-melodic-spoon` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- WARNING wget: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ERROR curl: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ERROR gzip: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- OK tar: `tar (GNU tar) 1.34`
- ERROR bash: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ERROR sh: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
mason.nvim [Languages] ~
- WARNING Go: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING cargo: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING luarocks: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING Ruby: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING RubyGem: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING Composer: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING PHP: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING npm: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING node: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING javac: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING java: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING julia: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING python: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING pip: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- WARNING python venv: not available
- ADVICE:
- On Debian/Ubuntu systems, you need to install the python3-venv package using the following command:
apt-get install python3-venv
- ERROR Failed to run healthcheck for "mason" plugin. Exception:
...s/.local/share/nvim/lazy/mason.nvim/lua/mason/health.lua:315: vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
from mason.nvim.
According to this comment, it seems like a new PR will fix the main issue described here: neovim/neovim#28492.
from mason.nvim.
Mm... Nightly was built like 7hs ago, and the PR was merged like 5hs ago... 2hs after the nightly build.
I don't think that can be marked as done yet, because I am not compiling from source, rather using some build provided, but 🤷🏼♂️
from mason.nvim.
Mm... Nightly was built like 7hs ago, and the PR was merged like 5hs ago... 2hs after the nightly build.
I don't think that can be marked as done yet, because I am not compiling from source, rather using some build provided, but 🤷🏼♂️
Why would I base this issue status on your use case?
It's fixed since the commit I mentionned.
This is still breaking as of the Neovim 10.0-dev release. I'm using Lazy.nvim and Mason and all its dependencies are up to date.
Pull again, compile, fix.
from mason.nvim.
+1
This Dockerfile can maybe recreate the problem consistently
https://github.com/ism-hub/ansible/blob/main/nvim_container/Dockerfile
$ uname -r
6.5.8-t2-jammy
from mason.nvim.
+1
running a git bisect, the commit in neovim that breaks this seems to be neovim/neovim@c5af5c0
from mason.nvim.
+1
from mason.nvim.
Looks likely because that commit uses vim.fn.has(...)
which introduces the function that is being called inside of a non-scheduled callback (so it's not in API fast).
from mason.nvim.
having the same issue:
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client - OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- ERROR Registry
github.com/mason-org/mason-registry [uninstalled]
is not installed.- ADVICE:
- Run :MasonUpdate to install.
- ADVICE:
mason.nvim [Core utils] ~
- OK unzip:
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
- WARNING wget: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ADVICE:
- ERROR curl: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ADVICE:
- ERROR gzip: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ADVICE:
- OK tar:
tar (GNU tar) 1.34
- ERROR bash: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ADVICE:
- ERROR sh: not available
- ADVICE:
- vim/_editor.lua:0: E5560: Vimscript function must not be called in a lua loop callback
- ADVICE:
from mason.nvim.
Fixed (2b9df3f79541507bfc3ba2645e6b9740e7c922ed).
I didn't get it. Is that a commit in here, in mason.nvim
, is that the commit that fixes it in Neovim-nightly?
I've updated both, plugin and Neovim, and I still have the issue.
from mason.nvim.
This is still breaking as of the Neovim 10.0-dev release. I'm using Lazy.nvim and Mason and all its dependencies are up to date.
from mason.nvim.
This is still breaking as of the Neovim 10.0-dev release. I'm using Lazy.nvim and Mason and all its dependencies are up to date.
@feoh try updating your Neovim 10.0-dev release again, to today's build. Despite the poor answer on behalf of at-alexandre-julien, the issue was what I've described in a previous answer. The patch was merged 2 hours after the nightly release was built and we had to wait up to the next build to have it corrected.
I've downloaded today's Neovim 10.0-dev nightly release and the issue is finally corrected.
from mason.nvim.
@baco You're right. Totally fixed. Yay! Thanks a bunch!
from mason.nvim.
Related Issues (20)
- lldb-mi don't have permision for running
- Strictly choose a utility (curl or wget) to synchronize registers via Mason configuration and reduce these register requests
- Multiple Packages Installation Fail HOT 3
- Add Credo support
- some package removed from mason
- Cannot install lemminx: The current platform is unsupported
- Package lua-language-server does not work on NIXOS HOT 3
- Mason overlaps statusline due to incorrect bottom padding when using `border = "rounded"` HOT 1
- Maybe give an simple way to beginners to explain how to "setup" Mason
- beautysh, pylama: No Module named 'pkg_resources' HOT 1
- golang packages unable to install HOT 1
- Mason installs x86_64 but should install ARM build HOT 1
- Mason is not updating on nightly HOT 4
- Registry installation failed (failed to fetch latest registry version from GitHub API) HOT 3
- Add hyprls HOT 2
- bad CPU type in executable: selene HOT 5
- [New package]: Terramate-ls HOT 1
- Failed to update registries
- LSP components are not loaded through the proxy specified in the configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mason.nvim.