SublimeDebugger icon indicating copy to clipboard operation
SublimeDebugger copied to clipboard

Installing debugpy adapter not working

Open DamhertPro opened this issue 6 months ago • 3 comments

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'

DamhertPro avatar May 04 '26 12:05 DamhertPro

They have changed the format of their package.

In the mean time you should be able to install an older version by holding down command or option when installing to select a version that works.

daveleroy avatar May 04 '26 18:05 daveleroy

Thanks for your support! I choose a 2025 version and it is working now

DamhertPro avatar May 05 '26 11:05 DamhertPro

I'm going to keep this open until its fixed

daveleroy avatar May 06 '26 18:05 daveleroy

Should be fixed in 0.12.1

daveleroy avatar Sep 29 '26 18:09 daveleroy