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

When debugger is vscode, exception at importer.py line 141 #117

Open
cunnane opened this issue Sep 23, 2024 · 0 comments
Open

When debugger is vscode, exception at importer.py line 141 #117

cunnane opened this issue Sep 23, 2024 · 0 comments

Comments

@cunnane
Copy link
Owner

cunnane commented Sep 23, 2024

          When setting `debugger = "vscode"` instead of `debugger = ""`, I still encounter the following error:
Traceback (most recent call last):
  File "D:\workspace\excel\.venv\Lib\site-packages\xloil\debug.py", line 166, in use_debugger
    debugpy_listen(**kwargs)
  File "D:\workspace\excel\.venv\Lib\site-packages\xloil\debug.py", line 56, in debugpy_listen
    addin = xloil.source_addin()
           ^^^^^^^^^^^^^^^^^^^^
  File "D:\workspace\excel\.venv\Lib\site-packages\xloil\importer.py", line 141, in source_addin
    else xloil_core.xloil_addins[addin_path]
        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: ''

Originally posted by @gnyuan in #114 (comment)

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

No branches or pull requests

1 participant