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

Mason is not updating on nightly #1689

Open
2 tasks done
skoch13 opened this issue Apr 25, 2024 · 4 comments
Open
2 tasks done

Mason is not updating on nightly #1689

skoch13 opened this issue Apr 25, 2024 · 4 comments

Comments

@skoch13
Copy link

skoch13 commented Apr 25, 2024

I've searched open issues for similar requests

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

Mason fails to retrieve data on neovim nightly, I suppose due to deprecated table operations, see similar issue sindrets/diffview.nvim#488 (comment)

Registry installation failed with the following error:
    GitHubRegistrySource(repo=mason-org/mason-registry) failed to install: Failed to fetch latest registry version from GitHub API.

Expected behavior

It just works

Steps to reproduce

  1. Open mason.nvim

Neovim version (>= 0.7)

NVIM v0.10.0-dev-2999+g38b9c322c
Build type: RelWithDebInfo
LuaJIT 2.1.1713484068

Operating system/version

MacOS 14.4.1

Healthcheck output

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-fond-fan` 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
- ERROR Failed to run healthcheck for "mason" plugin. Exception:
  ...v/.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

Screenshots

No response

@williambotman williambotman added this to Needs triage in Issue Triaging Apr 25, 2024
@spacexmoon
Copy link

guys i found the cause for the issue and the solution it is very simple on linux all you need to do is to downgrade your neovim from v10 to v9 as the cause of the issue neovim v10 for me when i did that all did work fine with no issue at all

@ratbag98
Copy link

ratbag98 commented Apr 25, 2024

Firstly - whoosh to @spacexmoon . Secondly See #1687. It's been closed prematurely, but it is probably fixed.

@skoch13
Copy link
Author

skoch13 commented Apr 26, 2024

It is safe to say that after updating nightly to today's build the error is gone

@kescobo
Copy link

kescobo commented May 1, 2024

I'm still seeing this error after downloading the appimage from 13 hours ago

Nope, I'm an idiot. Confirmed that it works with current appimage 🤦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Issue Triaging
Needs triage
Development

Successfully merging a pull request may close this issue.

4 participants