-
Notifications
You must be signed in to change notification settings - Fork 5
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
TMC Extensions failing #700
Comments
Hi, The error in the logs indicates that the CLI file is currently being accessed by something else, possibly by something like an antivirus program. Depending on your operating system, there are various ways of figuring out what's accessing it. The log message before the ones you posted should display the path of the CLI that the extension is trying to use. If it is caused by an antivirus, the issue may be temporary while it's scanning the file and restarting VSCode will solve the issue. If not, more information like your operating system and whether this issue also occurs on older versions like 2.2.3 would be needed. |
Here is what it says now when trying to use TMC. [2023-10-10 16:17:21:336] [DEBUG] Backend at https://tmc.mooc.fi |
I use a windows computer and had no previous issues with the extension. |
Can you check the CLI executable manually? The path should be in the logs before the "Backend at..." message. If you check its properties, try to run it manually by double clicking it, or run the command it's trying to execute (the one in the "Running..." log message) directly from a terminal, it might give some hint as to why it's timing out like that. I'm not sure what could cause issues like this, except maybe an antivirus, sorry. |
I had the same problem and was able to make it work. For reference, I had been trying to install the extension immediately upon opening VS Code for the first time. After clicking Install on the TMC extension and getting the same failure as noted in OP, I tried saving the generic "Untitled-1" tab as a .py file and saving it to a Workspace. I'm a totally new VS Code user, so I'm still figuring out how workspaces work, but basically as soon as it seemed I had a workspace open, a "Welcome to TMC 2.2.4" tab popped open and within that tab, it was simple to follow instructions to get to point where you "Add new course" and search for your course. It still says "Extension Tests failing" in the Extension tab, but it's clearly working and I was able to log into the course I'd already started online (not in VS Code) and see and download the course exercises. Good luck! To be clear, this was the error message I had been getting, which matches OP above: |
So the TMC extension is not working at all. It say when opening it/trying to download it that the extension tests are failing.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Desktop (please complete the following information):
TMC Extension logs
[2023-10-10 09:55:44:477] [DEBUG] Backend at https://tmc.mooc.fi
[2023-10-10 09:55:44:477] [DEBUG] Config dir at undefined
[2023-10-10 09:55:44:479] [ERROR] Error during initialization: Error: spawn EBUSY
The text was updated successfully, but these errors were encountered: