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

debugpy installation fail #1441

Closed
2 tasks done
DockterTeagle opened this issue Aug 5, 2023 · 4 comments · Fixed by mason-org/mason-registry#2382
Closed
2 tasks done

debugpy installation fail #1441

DockterTeagle opened this issue Aug 5, 2023 · 4 comments · Fixed by mason-org/mason-registry#2382

Comments

@DockterTeagle
Copy link

I've searched open issues for similar requests

  • Yes

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

  • Yes

Problem description

Installing debugpy using mason I get an error and i cant seem to find this issue in debugpys github

Expected behavior

Succesfull installation of debugpy

Affected packages

debugpy

Mason output

/home/chris/.local/share/nvim/mason/packages/debugpy/venv/bin/python failed with exit code 1 and signal 0.

Installation log

[DEBUG Sat Aug  5 17:16:59 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:58: Attempting to lock package Package(name=debugpy)
[DEBUG Sat Aug  5 17:16:59 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:70: Wrote lockfile Package(name=debugpy)
[DEBUG Sat Aug  5 17:16:59 2023] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:71: fs: mkdirp /home/chris/.local/share/nvim/mason/staging/debugpy
[DEBUG Sat Aug  5 17:16:59 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:148: Compiling installer. debugpy {}
[DEBUG Sat Aug  5 17:16:59 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec debugpy {}
[DEBUG Sat Aug  5 17:16:59 2023] ...zy/mason.nvim/lua/mason-core/installer/managers/pypi.lua:55: pypi: init
[DEBUG Sat Aug  5 17:16:59 2023] ...vim/lazy/mason.nvim/lua/mason-core/installer/context.lua:229: Promoting cwd "/home/chris/.local/share/nvim/mason/staging/debugpy" to "/home/chris/.local/share/nvim/mason/packages/debugpy"
[DEBUG Sat Aug  5 17:16:59 2023] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:65: fs: mkdir /home/chris/.local/share/nvim/mason/packages/debugpy
[DEBUG Sat Aug  5 17:16:59 2023] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:84: fs: rename /home/chris/.local/share/nvim/mason/staging/debugpy /home/chris/.local/share/nvim/mason/packages/debugpy
[DEBUG Sat Aug  5 17:16:59 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="python3", spawn_opts={
  args = { "-m", "venv", "venv" },
  cwd = "/home/chris/.local/share/nvim/mason/packages/debugpy"
}
[DEBUG Sat Aug  5 17:16:59 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 128445
[DEBUG Sat Aug  5 17:17:00 2023] ...ocal/share/nvim/lazy/mason.nvim/lua/mason-core/fetch.lua:37: Fetching URL "https://api.mason-registry.dev/api/github/mason-org/mason-registry/releases/latest"
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="curl", spawn_opts={
  args = { "-H", "Accept: application/vnd.mason-registry.v1+json; q=1.0, application/json; q=0.8", "-H", "User-Agent: mason.nvim v1.6.1 (+https://github.com/williamboman/mason.nvim)", "-fsSL", "-X", "GET", "--connect-timeout", 30, "https://api.mason-registry.dev/api/github/mason-org/mason-registry/releases/latest" }
}
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 128446
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:148: Job pid=128446 exited with exit_code=0, signal=0
[DEBUG Sat Aug  5 17:17:00 2023] ...ocal/share/nvim/lazy/mason.nvim/lua/mason-core/fetch.lua:37: Fetching URL "https://github.com/mason-org/mason-registry/releases/download/2023-08-05-first-tenuis/registry.json.zip"
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="curl", spawn_opts={
  args = { "-H", "User-Agent: mason.nvim v1.6.1 (+https://github.com/williamboman/mason.nvim)", "-fsSL", "-X", "GET", "-o", "/home/chris/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip", "--connect-timeout", 30, "https://github.com/mason-org/mason-registry/releases/download/2023-08-05-first-tenuis/registry.json.zip" }
}
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 128450
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:148: Job pid=128450 exited with exit_code=0, signal=0
[DEBUG Sat Aug  5 17:17:00 2023] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:59: fs: unlink /home/chris/.local/share/nvim/mason/registries/github/mason-org/mason-registry/registry.json.zip
[DEBUG Sat Aug  5 17:17:00 2023] ...ocal/share/nvim/lazy/mason.nvim/lua/mason-core/fetch.lua:37: Fetching URL "https://github.com/mason-org/mason-registry/releases/download/2023-08-05-first-tenuis/checksums.txt"
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="curl", spawn_opts={
  args = { "-H", "User-Agent: mason.nvim v1.6.1 (+https://github.com/williamboman/mason.nvim)", "-fsSL", "-X", "GET", "--connect-timeout", 30, "https://github.com/mason-org/mason-registry/releases/download/2023-08-05-first-tenuis/checksums.txt" }
}
[DEBUG Sat Aug  5 17:17:00 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 128453
[DEBUG Sat Aug  5 17:17:01 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:148: Job pid=128453 exited with exit_code=0, signal=0
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec black {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec mypy {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec pyright {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec ruff {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec clang-format {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec clangd {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec codelldb {}
[DEBUG Sat Aug  5 17:17:01 2023] ...zy/mason.nvim/lua/mason-core/installer/registry/init.lua:109: Parsing spec lua-language-server {}
[DEBUG Sat Aug  5 17:17:03 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:148: Job pid=128445 exited with exit_code=0, signal=0
[DEBUG Sat Aug  5 17:17:03 2023] ...zy/mason.nvim/lua/mason-core/installer/managers/pypi.lua:87: pypi: install "debugpy" "1.6.8"
[DEBUG Sat Aug  5 17:17:03 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:116: Spawning cmd="/home/chris/.local/share/nvim/mason/packages/debugpy/venv/bin/python", spawn_opts={
  args = { "-m", "pip", "--disable-pip-version-check", "install", "-U", "debugpy==1.6.8" },
  cwd = "/home/chris/.local/share/nvim/mason/packages/debugpy"
}
[DEBUG Sat Aug  5 17:17:03 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:162: Spawned with pid 128466
[DEBUG Sat Aug  5 17:17:04 2023] ...al/share/nvim/lazy/mason.nvim/lua/mason-core/process.lua:148: Job pid=128466 exited with exit_code=1, signal=0
[DEBUG Sat Aug  5 17:17:04 2023] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:59: fs: unlink /home/chris/.local/share/nvim/mason/staging/debugpy.lock
[DEBUG Sat Aug  5 17:17:04 2023] .../.local/share/nvim/lazy/mason.nvim/lua/mason-core/fs.lua:47: fs: rmrf /home/chris/.local/share/nvim/mason/packages/debugpy
[DEBUG Sat Aug  5 17:17:04 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:39: Building receipt for Package(name=debugpy)
[ERROR Sat Aug  5 17:17:04 2023] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=debugpy)

Neovim version (>= 0.7)

NVIM v0.10.0-dev

Operating system/version

Linux CHRISTHINK 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Healthcheck

==============================================================================
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.6.1
- OK PATH: skip
- 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: 2023-08-05-first-tenuis` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.21.2 built on linux-gnu.`
- OK curl: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.15`
- OK gzip: `gzip 1.10`
- OK tar: `tar (GNU tar) 1.34`
- OK bash: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Ruby: `ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]`
- OK cargo: `cargo 1.71.1 (7f1d04c00 2023-07-29)`
- OK Composer: `Composer 2.2.6 2022-02-04 17:00:38`
- OK PHP: `PHP 8.1.2-1ubuntu2.13 (cli) (built: Jun 28 2023 14:01:49) (NTS)`
- OK node: `v20.5.0`
- WARNING javac: not available
  - ADVICE:
    - spawn: javac failed with exit code - and signal -. javac is not executable
- WARNING java: not available
  - ADVICE:
    - spawn: java failed with exit code - and signal -. java is not executable
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK RubyGem: `3.3.5`
- OK luarocks: `/usr/bin/luarocks 3.8.0`
- OK Go: `go version go1.20.7 linux/amd64`
- OK python: `Python 3.11.4`
- OK npm: `9.8.0`
- OK pip: `pip 23.1.2 from /home/chris/miniconda3/lib/python3.11/site-packages/pip (python 3.11)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 2. Remaining: 58. Limit: 60. Reset: Sat Aug  5 17:56:30 2023.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots

No response

@DockterTeagle
Copy link
Author

I tried to give the entire logs but its too long and ctrl-v wouldnt work(420 lines) so i gave only todays logs if you

@DockterTeagle
Copy link
Author

sorry for that this is my first time i thought it was saying that my comment would close it. anyway if you need more info then lmk

@windowsrefund
Copy link

Seeing the exact same behavior. Watching this issue

@nyngwang
Copy link

nyngwang commented Aug 7, 2023

Just experienced this. No problem on macOS but it doesn't work on ubuntu20.04

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

Successfully merging a pull request may close this issue.

3 participants