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

Python: Configure Tests command not found #22783

Open
joyceerhl opened this issue Jan 24, 2024 · 8 comments
Open

Python: Configure Tests command not found #22783

joyceerhl opened this issue Jan 24, 2024 · 8 comments
Assignees
Labels
area-testing bug Issue identified by VS Code Team member as probable bug

Comments

@joyceerhl
Copy link

  1. Clone https://github.com/eleanorjboyd/inc_dec_example_repo
  2. Open it in VS Code
  3. Run Python: Configure Tests without first opening any Python files
  4. 🐛 Python: Configure Tests resulted in an error

image

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jan 24, 2024
@eleanorjboyd
Copy link
Member

@karthiknadig, should we remove this command before the extension starts?

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jan 25, 2024
@karthiknadig
Copy link
Member

Is this registered in package.json? If yes then this should have activated the extension before running. If not then we need to add it there, because we uses this in debug welcome view.

@eleanorjboyd
Copy link
Member

@karthiknadig I see it in the package.json here:

vscode-python/package.json

Lines 348 to 352 in d10b2f7

{
"category": "Python",
"command": "python.configureTests",
"title": "%python.command.python.configureTests.title%"
},

@eleanorjboyd
Copy link
Member

@karthiknadig following up on above, is that the right location and if so any other thoughts on what could be going wrong?

@karthiknadig
Copy link
Member

We need to look at where the command gets registered via commands.registerCommand API. I think it is not getting set early enough.

@dcx
Copy link

dcx commented May 21, 2024

+1, I'm having this issue on macOS:

image

Copy link

Hey @eleanorjboyd, this issue might need further attention.

@joyceerhl, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Copy link

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on, then we will be happy to re-open this issue to pick up where we left off.

Happy Coding!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
@eleanorjboyd eleanorjboyd reopened this Jul 29, 2024
@eleanorjboyd eleanorjboyd removed info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team labels Jul 29, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Jul 29, 2024
@eleanorjboyd eleanorjboyd removed the triage-needed Needs assignment to the proper sub-team label Dec 16, 2024
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants