Skip to content

Installing debugpy adapter not working #318

@DamhertPro

Description

@DamhertPro

I tried to install de debugpy adapter then I get de following error:
•• Fetching Adapters
•All•installed • Adapters• up • to date
• Finished
0• Installing debugpy
• •Downloading•https://api.github.com/repos/microsoft/vscode-python-debugger/zipball/v2026.6.0
•• Failed: • [Errno•2] • No• such • file or directory:• ' /Users/DamhertPro/Library/Caches/Sublime•Text/Package•Storage/Debugger/debugpy.tmp/debugpy_info.json

The error appears on macOS also on Linux.

  • Sublime Text 4200
  • macOS ventura

I reinstall the debugger package.
I have remove the sublime cache debugger dir.

But no result.

Can you help me fix this problem?

Thanks


coro=<AdapterConfigurationRegistery.install_adapter() done, defined at /Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py:99> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
  File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py", line 113, in install_adapter
    raise error
  File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py", line 108, in install_adapter
    await adapter.installer.perform_install(version, console)
  File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/dap/adapter.py", line 28, in perform_install
    await self.post_install(version, log)
  File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/adapters/python.py", line 18, in post_install
    debugpy_info = core.json_decode_file(f'{path}/debugpy_info.json')
  File "/Users/DamhertPro/Library/Application Support/Sublime Text/Packages/Debugger/modules/core/json.py", line 24, in json_decode_file
    with open(path, encoding='utf8') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/DamhertPro/Library/Caches/Sublime Text/Package Storage/Debugger/debugpy.tmp/debugpy_info.json'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions